Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Adding product options to products main apge View modes: 
User avatar
Member
Member
eagleag-yahoo - 4/20/2009 4:35:44 AM
   
Adding product options to products main apge
I want to have "product options" appear on products list main page and not only on actual product page.

I added ShowProductOptions="true" to code and options appear but are not used when I click "add to cart"


Added ShowProductOptions="true" to:
<uc1:CartItemSelector id="cartItemSelector" runat="server" SKUID='<%# ValidationHelper.GetInteger(Eval("SKUID"), 0) %>' SKUEnabled='<%# ValidationHelper.GetBoolean(Eval("SKUEnabled"), false) %>' AddToCartImageButton="btn-add-to-cart.gif" ShowUnitsTextBox="true" />

How can I achive this?
thanks

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 4/28/2009 7:00:41 AM
   
RE:Adding product options to products main apge
Hello,

I tested this code:
<uc1:CartItemSelector ShowProductOptions="true" id="cartItemSelector" runat="server" SKUID='<%# ValidationHelper.GetInteger(Eval("SKUID"), 0) %>' SKUEnabled='<%# ValidationHelper.GetBoolean(Eval("SKUEnabled"), false) %>' ShowUnitsTextBox="true" />


and it worked correctly.

Could you please test this one without an image button?

If it works the problem could be in the image path.

Best regards,
Helena Grulichova