Thread: Buy Now Button

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Buy Now Button

    JollyJim,

    Just did a small battle with this myself, not fully worked out but:

    I found that if there is just a product(no attributes) that the 'Buy Now' is present;

    If the product has an attribute then 'more info' is present as you must select from the options.

    what I have not got my arms around is the 'buy now' does not offer a qty selection in the process and just adds 1 to the cart. There you can change the qty but it is not self evident.

    I don't know if this is news to you or if you already noticed this and still want the 'buy now' button.
    Zen-Venom Get Bitten

  2. #12
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Buy Now Button

    Perhaps an URL would help where you have this problem?

    All listings will prevent adding to cart if there are attributes ...

    Sold out cannot be added to cart if tracking stock ...

    All listings have their own settings for Buy Now and Qty boxes ...

    But regardless of what you want ... it depends on the Product as Cobra explained ...

    Use attributes? Cutomer choice required ... no add to cart ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

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

    Default Re: Buy Now Button

    Quote Originally Posted by kobra
    JollyJim,

    Just did a small battle with this myself, not fully worked out but:

    I found that if there is just a product(no attributes) that the 'Buy Now' is present;

    If the product has an attribute then 'more info' is present as you must select from the options.

    what I have not got my arms around is the 'buy now' does not offer a qty selection in the process and just adds 1 to the cart. There you can change the qty but it is not self evident.

    I don't know if this is news to you or if you already noticed this and still want the 'buy now' button.

    Kobra

    Thanks for that info. I had set up the test cart on a local test server using the dummy data at install time. I dropped the dummy products and replaced them with my own but forgot to empty the attributes table. Clearing out the attributes table does show the Buy Now button on the featured products.

    However, the products which will be sold in this store (clothing) will have attributes. But I will still want a Buy Now button. The only way I can think of making this happen is to have the Buy Now button click into the product detail page just like the more info does. The Buy Now Button should display regardless of whether attributes are present or not. If they are present, the products detail should be displayed. If no attributes are present the item is added to the cart.

    Does anyone have any thoughts on how to achieve this?

  4. #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.

  5. #15
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Buy Now Button

    JollyJim,

    Thanks for your eloquent explanation of your solution...

    A day late and a pound short....If I had understood that you just wanted the buttom to say "buy now" this would have gotten different grey stuff moving. But your approach from the admin must have thrown me off.

    Another Brit had this similar request see this post Buy Now Button

    We all live & learn...
    Zen-Venom Get Bitten

  6. #16
    Join Date
    Jul 2005
    Posts
    30
    Plugin Contributions
    0

    Default Re: Buy Now Button

    Quote Originally Posted by JollyJim
    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.

    this is a rather big shortfall in the design of zen cart isn't it? why can't you have both buy now and more info at once?

  7. #17
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Buy Now Button

    More Info was designed for Products with attributes as you cannot buy these Products from the Listings ...

    You can always customize the code and add additional information or links etc. via your templates and overrides to get the display to look the way you want it too ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #18
    Join Date
    May 2005
    Location
    Cheshire, UK
    Posts
    542
    Plugin Contributions
    3

    Default Re: Buy Now Button

    A product with attributes means there are things which the buyer needs to select before the sale can be completed. There is no choice in this - otherwise you would end up with a sale and not enough information.

    The fix described in this thread eliminates the need for a more info link. If a product has no attributes it will be added to the cart. If it has attributes it will take the buyer to a more information page where they can choose the suitable ttributes (e.g. size etc). I do not think this is a limitation in Zencart - in fact it is a lot less confusing for the buyer to only have one button to click.

    I can see there would be times when a more info link and a buy now button would work together, but personally I like to keep things as simple as possible.

  9. #19
    Join Date
    Jul 2006
    Location
    Hawaii
    Posts
    4
    Plugin Contributions
    0

    Default Re: Buy Now Button

    I followed all the directions above and the buy it now button still doesn't show
    Corri

  10. #20
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Buy Now Button

    wouldnt it have been just as easy to change the define for more info to a graphic?

    that way it would have acted like its supposed to and would have required about 30 seconds of changes that could go in the over rides file.

    just a thought for the future
    Zen cart PCI compliant Hosting

 

 
Page 2 of 3 FirstFirst 123 LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR