| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Pull Out Title and Description Information | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Pull Out Title and Description Information
Hi, I▓m looking for a way to pull the title and meta description information from pages without surrounding code (such as <meta name="description"...), is there a way to do that?
__________________
X-Cart version 4.5.5 |
|||||||||
#2
|
|||||||
|
|||||||
Re: Pull Out Title and Description Information
When you say "pull" what do you mean?
Where do you want to put it after you "pull" it? It's just a smarty tag. Place the smarty tag wherever you want on the page. You do NOT have to use <meta name="description"...)
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Pull Out Title and Description Information
If you just want to collect the Title and Meta Desc value, you can pull it from database.
And if you want to place the same value if the site, you need to edit tpl files
__________________
Dhvanit Upadhyay Professional X-cart Service | Former Partner X-cart.es Skype : dhvanit.upadhyay https://www.linkedin.com/in/dhvanit/ |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Pull Out Title and Description Information
You can export products - That information is in the export file (along with other stuff)
__________________
Richard Williams Rogue Wave Limited Initial Inventory Imports Daily Inventory Updates Daily Inventory Reports Drop Ship Support Order Export to Shipper/Supplier Shopping Feeds That Work Programming for X-Cart richard@roguewavelimited.com http://www.roguewavelimited.com |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Pull Out Title and Description Information
Thank you for the answers guys. I▓ll be more specific. What I want to do is to include a product Title into its Meta Description (without deleting the description itself), for example:
Before: Code:
After: Code:
I see: Code:
Code:
__________________
X-Cart version 4.5.5 |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Pull Out Title and Description Information
You will have to modify the smarty function to do that - include/templater/plugins/function.meta.php
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: Pull Out Title and Description Information
This would probably be easier to do by exporting all your products, removing all columns from the result except for productid and description then add the meta to each of the descriptions (in the editor or excel) and reupload/import.
__________________
Richard Williams Rogue Wave Limited Initial Inventory Imports Daily Inventory Updates Daily Inventory Reports Drop Ship Support Order Export to Shipper/Supplier Shopping Feeds That Work Programming for X-Cart richard@roguewavelimited.com http://www.roguewavelimited.com |
|||||||||
#8
|
|||||||||
|
|||||||||
Re: Pull Out Title and Description Information
If you do this make sure to keep clean_urls column with existing values or XC will create new ones for all imported products.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#9
|
|||||||||
|
|||||||||
Re: Pull Out Title and Description Information
Thank you guys for help, I think I▓ll just go with export/import variant.
__________________
X-Cart version 4.5.5 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|