Hi guys,
I'm having quite a problem.
I've created 3 context carts all in the same shop and properly configured them but somehow, when I'm trying to add a product to the cart, It won't add anything. It just refreshes to the same page.
Am I doing anything wrong in the following code?
- When using anchor;
<a href="@(Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(@currentPageId))?CartCmd=add&ProductID=PROD160&OrderContext=ORDERCONTEXT1">ts</a>
- When I'm using a form, I'm using the following hidden inputs;
<input type="hidden" name="cartcmd" value="add"/>
<input type="hidden" name="productID" value="PROD1"/>
<input type="hidden" name="variantID" id="variantID" value="VO1" />
<input type="hidden" name="OrderContext" value="ORDERCONTEXT1"/>
Best Regards,
Dinis