Shopify themes, liquid, logos, and UX
does anyone know of a way too add a tick box like the one in the photo so that customers can add shipping protection straight from my product?
Hi @sarpow . It's Ian from Fast bundle.
Yes, you can add a checkbox like the one in your image to offer shipping protection as an add-on directly on your product page in Shopify. This can be done by customizing your Shopify theme or using an app. Here are the steps to achieve this:
Access Your Theme Code:
Locate Your Product Page Template:
Add the Checkbox:
<div class="shipping-protection"> <label> <input type="checkbox" id="shippingProtection" name="shippingProtection" value="5.00"> <span>Shipping Protection $5.00 AUD</span> </label> <p>Protect your order from damage and loss.</p> </div>
Update the Add-to-Cart Logic:
<input type="hidden" name="properties[Shipping Protection]" value="No"> <script> document.getElementById('shippingProtection').addEventListener('change', function () { document.querySelector('[name="properties[Shipping Protection]"]').value = this.checked ? 'Yes' : 'No'; }); </script>
Save Your Changes:
Test Your Product Page:
If you're not comfortable editing the theme code, you can use a third-party app designed for adding product options or upsells:
Apps to Use:
Steps with an App:
Hi @sarpow
How are you?
This could be done using the custom liquid code and css and javaScript.
Have to create product with name on this and have to set the price, using javaScript we can add this product with the main product.
You can Hire a shopify developer for this.
If need any help from my end Please let me know, Contact info is in signature.
With Regards,
Shuvam
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025