Product Code within link?

Hello,



Is there a way to have part number located within a product link?

Im trying to get link from outside search engine to go directly to the product



For example if somone searches for part number ipod, i want the search engine

to go to my site with [url]http://storename.com/cs-cart/ipod[/url] which ipod would be the keyword that somone entered in the previous site…



Hope i make sense with this.



-Peter

If you turn on the SEO addon you can choose whatever filename you want for the product page. For cscart 2.0 look at [url]CS-Cart Documentation — CS-Cart 4.15.x documentation

Thank You, for quick reply.



When i turned on SEO it does not allow me to do product code just product name. I guess what i was originally say is that Im using google adwords, and im making ads that use their keyword script. so for example if somone searches for ipod my ad will say we have IPOD in stock, click to purchase, then when they click on the ad the ad will redirect them to my store. with the original keyword that they have typed in. so it would be something like [url]http://storename.com/cs-cart/[/url][adwordskeyword] which would be ipod so the actual address would be [url]http://storename.com/cs-cart/ipod[/url] so what im looking for is for this address to redirect to this product. Right now the address is /index.php?target=products&product_id=30001 is there a way to make it /index.php?target=products&product_id=ipod?

When you turn on SEO it defaults to the product name. But you can go to your product page and type whatver filename you want to use (i.e. product code). No automatic way to populate these though. You will need to mainually enter the product code for every product you want to do this on.

in 1.3.5 SP4



if you edit: addons/seo/include/admin/products.php



search for (You will find this twice):


$product_description['seo_name'] : $product_description['product'];


replace with:


$product_description['seo_name'] : $product_data['product_code'];




search for (You will find this twice):


$product_description[$k]['seo_name'] : $products_description[$k]['product'];




replace with:


$product_description[$k]['seo_name'] : $products_data[$k]['product_code'];




that will make it default to the product code rather than the product “name”

very cool, but now when i enable SEO pages cannot be found, do i need to generate HTML catalog in order for this to work…?

[quote name=‘luckdragon’]in 1.3.5 SP4



if you edit: addons/seo/include/admin/products.php



search for (You will find this twice):


$product_description['seo_name'] : $product_description['product'];


replace with:


$product_description['seo_name'] : $product_data['product_code'];




search for (You will find this twice):


$product_description[$k]['seo_name'] : $products_description[$k]['product'];




replace with:


$product_description[$k]['seo_name'] : $products_data[$k]['product_code'];




that will make it default to the product code rather than the product “name”[/QUOTE]



After trying the changes above it still shows product name instead of product code =(

[quote name=‘PiOEM’]After trying the changes above it still shows product name instead of product code =([/QUOTE]



there’s a related forum on how to “clear” the current settings locate here: [url]http://forum.cs-cart.com/showthread.php?t=10766[/url]



it’s using the product name now, because that’s what’s already defined to the product… if you clear them, and then re-generate, it should use the product code.