Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
plus_and_minus_buttons [2009/12/03 10:03]
pgmarshall
plus_and_minus_buttons [2009/12/03 13:37] (current)
pgmarshall
Line 27: Line 27:
 ===== HTML ===== ===== HTML =====
  
-  * Add this code to your **product_info.tpl.php** file in the template you are using.+  * Add this code to your **catalog/​templates/<​your template>/​content/​product_info.tpl.php** file.
   * You will need some images for the plus and minus buttons - [[other_useful_stuff|try here ...]] (the ones by famfam under Icons are very good)   * You will need some images for the plus and minus buttons - [[other_useful_stuff|try here ...]] (the ones by famfam under Icons are very good)
  
Line 57: Line 57:
 ===== Change to application_top.php ===== ===== Change to application_top.php =====
  
-Open application_top.php and find the case '​add_product'​ and change the **+1** to **+$HTTP_POST_VARS['​quantity'​]**+Open catalog/​includes/​application_top.php and find the case '**add_product**' and change the **+1** to **+$HTTP_POST_VARS['​quantity'​]**
  
   * Final code should look like this:   * Final code should look like this:
plus_and_minus_buttons.txt ยท Last modified: 2009/12/03 13:37 by pgmarshall
You are here: startplus_and_minus_buttons
Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0