I’d like a checkbox in my cart page for my customers to check if they accept reused boxes for shipping. I’m using Shrine theme, website www.tjakko.se
Is this possible to achieve? How hard could it be?
FTM I can’t make any changes to my cart page. Silly Shopify.
Can you share your site url, so that I can help with.
Do you also need this info along with the order details or is it kind of mandate for your store that users do check this box?
Hi @PernillaH
Okay, could you please let me know where exactly you want to add it? If you can share a screenshot and the design you have in mind, I’ll be able to provide you with a proper solution.
Best regards,
Devcoder ![]()
I’d like the checkpoint to be placed at ONE of these spots, marked with ugly X’s, together with a text line.
The checkbox will not be mandatory. If the customer doesn’t check it he/she gets a brand new box, if they check it they’ll get a used one. www.tjakko.se
Hi @PernillaH ,
You can add a checkbox on the cart page using a Shopify cart attribute. Just add this inside the cart form in your cart file (main-cart.liquid, cart.liquid, or cart section in the Shrine theme):
<label>
<input type="checkbox" name="attributes[Accept reused boxes]" value="Yes">
I accept reused boxes for shipping
</label>
The image you sent is of checkout and not cart page and you cannot do such things on checkout unless if you are on a plus plan. You can add this at the product level or cart page.
