Forums / Setting Up Categories, Products, Attributes / Buy now button with default "attribute"

Buy now button with default "attribute"

Views: 733

Results 1 to 3 of 3
22 Nov 2011, 4:38 AM
#1
ronswayoflife avatar

ronswayoflife

New Zenner

Join Date:
Oct 2011
Posts:
5
Plugin Contributions:
0

Buy now button with default "attribute"

Is it possible to replace the more info button that appears when I add attributes to products with a buy now button that adds the product to the cart with the default attribute?

I have seen 4 different posts in my search that ask for this and no one has been able to give a solution.

25 Nov 2011, 2:27 AM
#2
gaurav10feb avatar

gaurav10feb

Zen Follower

Join Date:
Jan 2010
Location:
Australia
Posts:
243
Plugin Contributions:
1

Re: Buy now button with default "attribute"

there is a addon to actually show the attributes on product listing with buy now button. which will resolve your problem...its called Options on Product Listing

Believe it or not But My existence is illusional

25 Nov 2011, 2:43 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Buy now button with default "attribute"

If you've only got one attribute assigned to the product, and you wish to have that attribute automatically applied when the Buy Now button is pressed, you could use something akin to this code I posted awhile back: http://www.zen-cart.com/forum/showthread.php?p=809142#post809142

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.