kentico-xiasma
-
4/9/2009 8:53:23 AM
RE:shopping cart - I don't know what I 'm doing
thanks Juraj for your help - if I may I'd like to share your helpful response in case anyone else makes the same mistakes I did:
quote: The problem is that you have assigned some product options to the product but they are not displayed. In this case the system won't allow to add the product.
One option is not to use the product options and second option is to allow the product options - e.g. in the list of products or in the product detail, so the customer can choose. Please open the datalist configuration and click to edit the transformation, find this code:
<uc1:CartItemSelector id="cartItemSelector" runat="server" SKUID='<%# ValidationHelper.GetInteger(Eval("SKUID"), 0) %>' SKUEnabled='<%# ValidationHelper.GetBoolean(Eval("SKUEnabled"), false) %>' AddToCartImageButton="button_add04.gif" AddToCartLinkText="Add to shopping cart" ShowProductOptions="false" />
and change the false value to true. This will probably mess your design in the list of propducts, but you will see how it works. So it will be better not to display the link to shopping cart in the list, but the customer will need to click on the product - the details are available and here can be the link to shopping cart.
|