Hi,
You can add a parameter "return_url" with the URL you want to use after the add to cart.
That parameter has to have the URL in base64 and urlencoded. And it needs to be the full URL.
For example, suppose that the HTML add to cart URL of your product is:
https://www.hikashop.com/index.php?option=com_hikashop&ctrl=product&task=updatecart&add=1&cid=1
(it's actually the URL to add HikaShop Essential to the cart on our website)
As on your website, this URL redirects to the checkout of our website.
Once you have something in your cart on our website, you can access the cart page with the URL:
https://www.hikashop.com/marketplace/cart/show.html
To get this URL in base64, you can use
www.base64encode.org/
and you'll get:
aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL21hcmtldHBsYWNlL2NhcnQvc2hvdy5odG1s
Then, you want to urlencode it, with for example,
www.urlencoder.org/
In this case, the base64 value will still be the same after the urlencode, but it might not be the case all the time.
Then, you can add the parameter to the URL:
https://www.hikashop.com/index.php?option=com_hikashop&ctrl=product&task=updatecart&add=1&cid=1&return_url=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL21hcmtldHBsYWNlL2NhcnQvc2hvdy5odG1s