Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009
    Posts
    31
    Plugin Contributions
    0

    Default Add code to Product description

    Hello,
    I've posted previously in another thread about this but here it goes. I want to add code to every product on my site in its description. Basically the following code
    <form>
    <a onClick="history.go(-1);return true;"><img alt="Back" src="/includes/templates/custom/buttons/english/button_back.gif" /></a>
    </form>
    this will put a back button onto every description page..
    Reason being I have disabled the next previous listing buttons and want the customer to be able to just click Back button.
    This works perfectly well, I just wonder is there a quick way of doing this so that I don't have to edit each and every product description?

    Thanks in advance,
    Beco

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Add code to Product description

    Look for swguy's boilerplate mod. Links to it and other useful info in this thread.

    Alternatively, if you want just this on every product in your store, you can edit /includes/templates/your_template/templates/tpl_product_info_display.php and add the button code in the location you want.

 

 

Similar Threads

  1. Add more info link to product listing description when description is truncated
    By MaureenT in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 16 Sep 2010, 05:44 PM
  2. HTML code in Product Description
    By irishshopper in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Apr 2010, 01:51 AM
  3. Add a product description deletes category description
    By dartmoorcf in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Feb 2010, 08:36 PM
  4. product description os utputting code -stylesheet and comment code
    By edt123 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 15 Dec 2009, 07:06 PM
  5. Add product html form code On Product Description page
    By ivogue in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 4 Mar 2009, 07:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg