Forums / Templates, Stylesheets, Page Layout / Products with Attributes / Add to Cart buttons on the Product Listing page?

Products with Attributes / Add to Cart buttons on the Product Listing page?

Locked

Started by pink on 2 Jun 2010, 4:25 PM · Views: 1,813

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
2 Jun 2010, 4:25 PM
#1
pink avatar

pink

New Zenner

Join Date:
May 2009
Posts:
64
Plugin Contributions:
0

Products with Attributes / Add to Cart buttons on the Product Listing page?

Hi zenners,

I do have products with attributes - these attributes are just for display/info and not to make a selection.

How can I make the "Add to Cart buttons" show on the product listing pages (Product Listing, All Products, New Products)?

Do I have to edit the tpl_tabular_display.php? Where is the "$list_box_contents" generated?

Or better ideas?

Thanks

2 Jun 2010, 5:01 PM
#2
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Products with Attributes / Add to Cart buttons on the Product Listing page?

Attributes as used in Zencart are product options and are designed to selected when placing an order. (You can configure them to be display only, but I don't think that will change the behavior that removes the "Add to Cart" from the product lists.)

Have you considered not using the attribute feature and simply list these options in your product description html?

Turning off the attributes feature should restore the "add to cart" button to the lists.

www.aspenshopsonline.com - ZenCart 1.3.9h
www.wilkssupply.com - ZenCart 1.3.9h
www.un-du.net - ZenCart 1.3.8a

2 Jun 2010, 6:03 PM
#3
pink avatar

pink

New Zenner

Join Date:
May 2009
Posts:
64
Plugin Contributions:
0

Re: Products with Attributes / Add to Cart buttons on the Product Listing page?

ronlee67:

...(You can configure them to be display only, but I don't think that will change the behavior that removes the "Add to Cart" from the product lists.)

You are right, it doesn't change it

Have you considered not using the attribute feature and simply list these options in your product description html?

I do need these options for filtering purpous. That is why I need thouse values in the db. Attributes suit well for that.