Personalized checkout and custom promotions with Shopify Scripts
I have 14 SKUs in our store.
I'd like to do a BOGO that automatically adds 1 for each same SKU. I'd like this to work for all 14 SKUs.
Example:
-Customer adds item A to the cart. Script should add additional item A to the cart free.
-Customer adds item B to the cart, Script should add additional item B to the cart free.
So on and so forth, the idea is to allow the customer to add an unlimited number of BOGOs.
Any help is appreciated.
Seconded! This is what "BOGO" means to me, but the "buy X get Y" feature in discounts doesn't appear to work that way, which is incredibly frustrating.
You won't be able to add items or increase quantity of an item from the script editor.
I would just edit the theme to simply add double the amount of items that the customer selected - then make sure the message from the script explains why.
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025