I’m selling sustainable beauty oils and instead of giving customers the option to buy the products with pipette or as refill bottles (with aluminium cap) using variant pills, in line with our plastic free philosophy I’d rather create something like this where customers can only add a pipette with their first order. I was wondering if anyone can advise how to design that. Thank you!
Hi @schikinoils ,
Custom Code Approach:
- Cart Script:
- Edit Cart Page: Add a script to the cart page that checks if it’s the customer’s first order. You can use Shopify’s cart.js API or Liquid code to enforce this.
- Restrict Pipette Addition: Hide or disable the pipette option if it’s not the first order
Thanks, I will have a go and let you know ![]()
