Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2007
    Posts
    14
    Plugin Contributions
    0

    Default Need Help Adding a button to product page - Apple Zen

    Please Help,

    I am trying to add a Twitter/Facebook/blog button to the products page. I am using apple_zen template. I can not figure out which file to put it in and where with in that file to put it.

    It is from AddThis and the code is as follows

    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style">
    <a href="http://www.addthis.com/bookmark.php?v=250&amp;username=thehouseofdecor" class="addthis_button_compact">Share</a>
    <span class="addthis_separator">|</span>
    <a class="addthis_button_facebook"></a>
    <a class="addthis_button_myspace"></a>
    <a class="addthis_button_google"></a>
    <a class="addthis_button_twitter"></a>
    </div>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=thehouseofdecor"></script>
    <!-- AddThis Button END -->


    Help!!!!!!!

  2. #2
    Join Date
    Jan 2010
    Posts
    86
    Plugin Contributions
    4

    Default Re: Need Help Adding a button to product page - Apple Zen

    To add this button you should paste "AddThis" code to the following file if no override file is used:
    YOUR_ZENCART\includes\templates\template_default\templates\tpl_index_product_lis t.php

    If your template use this file, you can find it at:
    YOUR_ZENCART\includes\templates\[YOUR_TEMPLATE]\templates\tpl_index_product_list.php

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

    Default Re: Need Help Adding a button to product page - Apple Zen

    Note: never edit the files in /template_default/. If you want to edit a file that is not yet in your custom template folders, copy it from the /template_default/ folder and save it to your custom template with the same subfolder path.

    Everyone is using a "custom" template, even if it is only /classic/ (and if you are using /classic/, look at the tutorials for advice on creating your personal version of it).

  4. #4
    Join Date
    Jan 2010
    Posts
    86
    Plugin Contributions
    4

    Default Re: Need Help Adding a button to product page - Apple Zen

    Yes, you are right. Thanks for additional info.

 

 

Similar Threads

  1. v151 Adding a Button: need to have the Zen Lightbox Effect working
    By rbecq in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Jun 2013, 10:10 AM
  2. v151 Need Help in adding a add to cart button on product info page
    By rmu065 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 9 Apr 2013, 01:50 AM
  3. Need help with header image/header area-Apple Zen
    By Samuz in forum Addon Templates
    Replies: 2
    Last Post: 9 Jul 2010, 12:37 AM
  4. Need help with css problem -Apple Zen
    By Madiha in forum Addon Templates
    Replies: 0
    Last Post: 17 Feb 2010, 05:57 PM
  5. Help adding update button within the new product page
    By beasleybub in forum Customization from the Admin
    Replies: 0
    Last Post: 7 Sep 2009, 08:44 AM

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