This article is also available in:
In this article, we will show you how to remove product images in the customer's thank-you page.

Step by Step Tutorial

From your ShopBase admin, go to Online Store > Preferences.


Navigate to the Additional scripts, and paste the following script to the Head section.



<script>
	window.sbsdk.ready(function() {
	    window.sbsdk.page.onContextUpdate(function(context) {
	    	switch (context.type) {
				case 'post_checkout':
				    // Inject code tracking at thank you page here
				    document.querySelectorAll('.order-summary__section--product-list').forEach(function(e) {
                        e.remove();
                    })
	    			break;
				default:
	    			break;
	    	};
	    });
	});
</script>

Click Save to finish.

Related articles

Overview of Preferences
Add tracking code to thank-you page
Add a custom notification to thank you page
Was this article helpful?
Cancel
Thank you!