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
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024