Results 1 to 10 of 14

Hybrid View

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

    Default Re: Need help adding Buy Now Button

    That's your problem - Template Monster always disables the option to choose between buy now and more info - they have a Details button that only goes to the product info page.
    You need to complain to them about the feature they have broken.

    Meanwhile, try to find where the button code is located. You might start at /includes/modules/your_template/product_listing.php, for the product listing pages. Comparing that with /includes/modules/product_listing.php will be helpful. There will be similar places to edit for each kind of listing (all, new, featured, specials).

  2. #2
    Join Date
    Sep 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Need help adding Buy Now Button

    I went to includes/moduals and didnt see the template i was using?

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

    Default Re: Need help adding Buy Now Button

    I was afraid of that. I understand TM often puts files in different locations than the Zen Cart standard as well as messing up the coding. You might search all through the main template area (/includes/templates/your_template/).

    Have you put in a support ticket with them yet?

  4. #4
    Join Date
    Sep 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Need help adding Buy Now Button

    I found this in /includes/templates/my_template/template/tpl_product_info_display.php

    here is some code is this it.

    <!--bof Product details list -->
    <?php if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?>
    <ul id="productDetailsList" class="floatingBox back">
    <?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?>
    <?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT . $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>' : '') . "\n"; ?>
    <?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?>
    <?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
    </ul>
    <br class="clearBoth" />
    <?php
    }
    ?>
    <!--eof Product details list -->

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

    Default Re: Need help adding Buy Now Button

    Nope, sorry, that is for the product info page, not the product listing.

  6. #6
    Join Date
    Sep 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Need help adding Buy Now Button

    would it say products_listings

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

    Default Re: Need help adding Buy Now Button

    It might, but TM often doesn't identify output elements, so who knows?

    You didn't answer earlier - have you complained to them? They need to know what problems they cause for their customers.

 

 

Similar Threads

  1. v150 Adding a buy now button to products in listing that have options
    By creamcrackers in forum General Questions
    Replies: 7
    Last Post: 17 Nov 2012, 06:52 PM
  2. Adding buy now button to existing website?
    By dls10 in forum General Questions
    Replies: 20
    Last Post: 1 Dec 2010, 09:58 PM
  3. Adding a more info button alongside buy now button
    By jwburnside in forum General Questions
    Replies: 5
    Last Post: 6 Nov 2010, 01:36 PM
  4. Need Help, how to add PAYPAL BUY NOW button on the product page?
    By doug56patterson in forum General Questions
    Replies: 3
    Last Post: 14 Aug 2010, 07:53 PM
  5. Adding Buy Now Button
    By mw4kids in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Mar 2009, 06:53 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