Store has had the add to cart from the category forever. This problem has probably been there all along but was just noticed. If you go to the next page (or any page past the 1st page) and add to cart action reloads to the1st page. Is there a way to stay on the page the customer is adding to the cart?
For example the page URL has .html?CatListingOffset=60&Offset=60&Per_Page=60&So rt_By=newest as part of it. But when the add to cart action is performed it becomes /Merchant2/merchant.mvc?
Change to the form action?
For example the page URL has .html?CatListingOffset=60&Offset=60&Per_Page=60&So rt_By=newest as part of it. But when the add to cart action is performed it becomes /Merchant2/merchant.mvc?
Change to the form action?
Code:
<form action="&mvt:global:sessionurl;" method="post" id="CatQty"> <input type="hidden" name="Action" value="ADPR"> <input type="hidden" name="Screen" value="&mvte:global:Screen;"> <input type="hidden" name="Attributes" value=""> <input type="hidden" name="Store_Code" value="&mvte:store:code;"> <input type="hidden" name="Offset" value="&mvte:global:Offset;"> <input type="hidden" name="Product_Code" value="&mvte:product:code;"> <input type="hidden" name="Current_Product_Code" value="&mvte:global:Product_Code;"> <input type="hidden" name="Category_Code" value="&mvte:global:Category_Code;"> <input type="hidden" name="Per_Page" value="&mvte:global:Per_Page;"> <div class="qtyadd"> <input name="Quantity" type="number" id="Qtybox" step="1" min="0" placeholder="1" value="1"> <input type="image" value="Add" src="graphics/00000001/plusicon.png" /> </div> </form>
Comment