Thread: Buy Now Button

Results 1 to 10 of 27

Threaded View

  1. #14
    Join Date
    May 2005
    Location
    Cheshire, UK
    Posts
    542
    Plugin Contributions
    3

    Default Re: Buy Now Button

    I finally figured out how to get all the products listing pages to use a buy now or add to cart button, regardless of whether the item has attributes or not. (Thanks to Kobra for pointing me in the right direction and to Linda for her cryptic puzzles wich kept the Grey Matter from seizing completely)

    If a product has no attributes, you can display a Buy Now Button instead of a More Info Link. In Zencart Admin go to Configuration and Choose Featured Listing. Locate "Display Multiple Products Qty Box Status and Set Button Location" and set it to '0'. Next locate "Display Product Buy Now Button" and set this to '1302' or whichever seequence you prefer. The Add To Cart Button will now show instead of the Quantity box.

    If a product has attributes you need to use the method "Replacing "more info" with a button modification.

    You need to edit the language file so copy english.php from template default to includes/languages/YOUR_TEMPLATE/english.php

    Next look for the More_Info_text define statement (about line #365)

    You can replace the text in the define statement with the call to an image:

    // more info in place of buy now
    define('MORE_INFO_TEXT','... more info');

    Replace With:

    // buy now in place of more info
    define('MORE_INFO_TEXT','<img src="includes/languages/YOUR_TEMPLATE/buttons/yourimage.gif" alt="Click To Buy Now" />');

    Next go into your admin section and choose configuration/Product Listing. Find "Display Product Add to Cart Button (0=off; 1=on)" and set this to 1. Next find "Display Multiple Products Qty Box Status and Set Button Location" and set this to 0. You will now have a Buy Now or Add to Cart button in place of the More Info Text.
    Last edited by JollyJim; 31 May 2006 at 04:47 PM.

 

 

Similar Threads

  1. v139h Changing BUY NOW button to SPONSOR NOW in one category
    By tomig in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Sep 2015, 12:25 AM
  2. Change the Add to Cart button to Buy Now button
    By dastudio in forum Customization from the Admin
    Replies: 1
    Last Post: 24 Nov 2010, 09:44 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. How do I replace the Buy Now button with an Add to Cart button?
    By OrcaSoul in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 19 Feb 2010, 05:36 AM
  5. Buy Now Button
    By jwburnside in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Jul 2009, 11:04 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