Dynamicweb eCommerce: How to redirect to basket after user have added something to the basket

When using the system in CMS you can add a param to the form which will then send the user to the basket after he/she have added an item to the basket. That is sometimes a logical step for some types. The soloution is simpel, just add a param called redirect as a hidden input field like this:

<input type="hidden" name="redirect" id="redirect" value="/default.aspx?id=156" />

In this example Dynamicweb will send the user to the page with the ID 156 when the form is submitted.


Leave a Reply