How to add “Back product auction” button in the checkout page?

You are here:
Estimated reading time: < 1 min

After bidders finish checkout process to purchase auction product, there will be a Back product auction button to help them easily go back to auction they have just viewed.

Steps to manage

1. From Shopify admin page, go to Settings > Checkouts

2. Scroll down to Additional scripts session

3. Paste this code below:

{% if first_time_accessed %}
<script>
if (window.localStorage.getItem(“tipoBackUrl”)) {
Shopify.Checkout.OrderStatus.addContentBox(‘<a href=”‘+window.localStorage.getItem(“tipoBackUrl”)+'”>Back product auction </a>’)
window.localStorage.removeItem(“tipoBackUrl”);

}
</script>
{% endif %}

4. Click Save

Need support?

If you cannot figure it out, don’t hesitate to contact us via email [email protected]. We are happy to help!

Was this article helpful?
Dislike 0
Views: 238