Buy Now Button

Locked

Views: 42,873

Results 1 to 20 of 27
This thread is locked. New replies are disabled.
29 May 2006, 5:55 PM
#1
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Buy Now Button

This is confusing the hell out of me. In admin/All Listing (1.2.7d onwards) there is the options to show a Buy Now Button:

Display Product Buy Now Button 1300

I have set the digits to every conceivable combination and nothing shows up a Buy Now Button. I get blank line breaks but no Button.

Can somebody please tell me the secret before I go mad?

29 May 2006, 10:39 PM
#2
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Re: Buy Now Button

Forget it - I figured it out myself. For anyone else who finds themselves confused in this situation here is how to change the quantity box to an Add To Cart Button on the All Products listings Page (also works for the New Products page but not the Specials page):

In Zencart Admin go to Configuration and Choose All 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.

29 May 2006, 10:47 PM
#3
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Buy Now Button

I was just about to reply! Glad you got it figured out ;-)

30 May 2006, 12:09 AM
#4
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Re: Buy Now Button

patski:

I was just about to reply! Glad you got it figured out ;-)

Thanks Patski for the willingness to post your thoughts. Don't suppose you know why it does not work on the Featured Products page do you? It is weird how the same settings only show the More Info Text on this page.

30 May 2006, 2:35 AM
#5
dinardo01 avatar

dinardo01

New Zenner

Join Date:
Apr 2006
Posts:
2
Plugin Contributions:
0

Re: Buy Now Button

What you did has to be done in all four sections to show the buy now button.

New Listing

Featured Listing

All Listing

Index Listing

30 May 2006, 11:05 AM
#6
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Re: Buy Now Button

dinardo01:

What you did has to be done in all four sections to show the buy now button.

New Listing

Featured Listing

All Listing

Index Listing

Index Listing does not have the same settings as NEW, Featured and All Listing. There is no option on index listing to display a Buy Now or ADD To Cart button. All other three pages have identical settings but only Featured Listing does not have the Buy Now Button.

30 May 2006, 1:19 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Buy Now Button

Did you peek in the Product Listing that manages the listings from the Categories ...

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!]
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!

30 May 2006, 7:21 PM
#8
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Re: Buy Now Button

Ajeh:

Did you peek in the Product Listing that manages the listings from the Categories ...

Linda

Have you been doing crosswords again? That was a bit cryptic - still trying to work out the clues LOL

30 May 2006, 8:22 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Buy Now Button

Go to Admin ...

Go to Configuration ...

Go to Product Listing ...

Set all settings ...

Go to Catalog ...

Click on a Category with more than 1 Product ...

See if it looks right for you ...

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!]
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!

30 May 2006, 9:10 PM
#10
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Re: Buy Now Button

Hi Linda

I am not sure if I have missed something here but I don't understand how your answer resolves the question. I have products listing, new products and all products set to display the add to cart button. I want all the listing pages to show the add to cart button, including featured products.

Products Listing shows More Info (instead of add to cart button) - more info takes you to the product detail page.

Featured Products shows More Info (instead of add to cart button) - more info takes you to the product detail page.

All Products - shows the Add To cart Button

New Products Shows the Add To Cart Button

Everything in admin looks as it should.

What am I missing? I have the column grid mod installed - doubtful this is conflicting?

(Currently the store is offline on a local server - I will upload it tomorrow and test on UNIX). Am I losing the plot LOL

30 May 2006, 11:42 PM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

31 May 2006, 12:28 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!]
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!

31 May 2006, 9:40 AM
#13
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Re: Buy Now Button

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?

31 May 2006, 3:44 PM
#14
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

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.

1 Jun 2006, 9:51 AM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

18 Jun 2006, 10:40 AM
#16
drakky avatar

drakky

New Zenner

Join Date:
Jul 2005
Posts:
30
Plugin Contributions:
0

Re: Buy Now Button

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?

18 Jun 2006, 2:47 PM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!]
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!

19 Jun 2006, 10:53 AM
#18
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

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.

6 Jul 2006, 8:09 PM
#19
corri avatar

corri

New Zenner

Join Date:
Jul 2006
Location:
Hawaii
Posts:
4
Plugin Contributions:
0

Re: Buy Now Button

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

Corri

6 Jul 2006, 8:16 PM
#20
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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