User Tools

Site Tools


tutorials:zencartmods:pids.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tutorials:zencartmods:pids.html [2011/06/15 19:48]
daigo created
tutorials:zencartmods:pids.html [2016/01/28 18:05] (current)
Line 1: Line 1:
-Zen Cart automatically adds product numbers to each of your products. Here'​s ​how to make the product IDs a little ​more useful.+====== Adding Product ID to description ====== 
 +Zen Cart automatically adds product numbers to each of your products. Here'​s ​some super easy ways to make those numbers ​more visible. 
 + 
 +{{:​tutorials:​zencartmods:​id.jpg|}} 
 + 
 + 
 +This is also a good tutorial introducing how one edits the product page
  
 ==== Add the product ID to the product page ==== ==== Add the product ID to the product page ====
Line 18: Line 24:
 and replace it with  and replace it with 
 <code php> <code php>
-      ​$meta_products_name .= " ID: " . $product_info_metatags->​fields['​products_id'​];​ +$meta_products_name .= " ID: " . $product_info_metatags->​fields['​products_id'​];​ 
-      define('​META_TAG_TITLE',​ str_replace('"','',​$review_on . $meta_products_name . $meta_products_price . PRIMARY_SECTION . TITLE . TAGLINE));+define('​META_TAG_TITLE',​ str_replace('"','',​$review_on . $meta_products_name . $meta_products_price . PRIMARY_SECTION . TITLE . TAGLINE));
 </​code>​ </​code>​
- 
  
/home/ladyada/public_html/wiki/data/attic/tutorials/zencartmods/pids.html.1308167322.txt.gz · Last modified: 2016/01/28 18:05 (external edit)