Personalized checkout and custom promotions with Shopify Scripts
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Can anyone Help me with this i want to add a PRODUCT AUTOMATICALLY in the CART if the conditions is met this is the Condition.
"
When the “Leather Bag” -with variant options “Black” & “Medium “ is added to the cart. automatically add the “Soft Winter Jacket” product to the cart for an additional price of 0.01$
- If “Leather Bag” is removed from the cart make sure “soft winter Jacket” is also removed. "
and i attach what i see in the SHOPIFY DOCUMENTATION the ADD TO CART API i copy that in the DOCUMENTATION this image in the bottom
and in my console this one