Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / "Buy now" with default attributes

"Buy now" with default attributes

Locked

Views: 895

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
3 Sep 2010, 9:29 PM
#1
argon09 avatar

argon09

New Zenner

Join Date:
Aug 2010
Posts:
9
Plugin Contributions:
0

"Buy now" with default attributes

I've got a little functionality problem that I'm sure is easily solvable, but I can't track down the fix after searching the forum.

I've got my attributes set up so that every item which has attributes has a default value selected for each of its attributes. On the product listing page, I'd like to have both a "...more information" link that goes to the product information page, and a "buy now" button that puts one of that item in the cart with the default attributes selected, just as if a customer clicked on "...more info" and had immediately selected "add to cart".

I've had a look through tpl_index_product_list.php and tpl_product_info_display.php, but I can't quite figure out what I'm looking for. If anyone knows a good solution to this, or at least where to look in the php files, I'd greatly appreciate the information.

I'm using version 1.3.8, and the "Single Listing Template" mod. Thanks for your time and attention.

6 Sep 2010, 3:57 PM
#2
cfberg avatar

cfberg

New Zenner

Join Date:
Jan 2006
Posts:
3
Plugin Contributions:
0

Re: "Buy now" with default attributes

i have the same problem