Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Attributes not adding price

Attributes not adding price

Views: 519

Results 1 to 4 of 4
7 Mar 2012, 3:06 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Attributes not adding price

Your Attributes are outside of the <form name="cart_quantity" ... > </form> for the add to cart so they are not included ...

9 Mar 2012, 2:02 PM
#3
johnnyh avatar

johnnyh

New Zenner

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

Re: Attributes not adding price

Thank you, I think I see what you mean.

But is it not possible to have the add to cart on the right and the attributes on the left as I have now?

Or can I make a separate tpl_product_info_display.php for products with this attribute?

9 Mar 2012, 3:01 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Attributes not adding price

You need to get the <form> tag above the Attributes ...

You should see something similar to:

<!--bof Form start-->
<?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product', $request_type), 'post', 'enctype="multipart/form-data"') . "\n"; ?>
<!--eof Form start-->

That has to be above the Attributes ...