Auto add free gift to order/cart #646
maartenb17
started this conversation in
Ideas
Replies: 3 comments 2 replies
|
I see. Does it mean that when a cart is created, the item is automatically added if met with given conditions?
… Op 11 mei 2026, om 09:57 heeft sstakhovski ***@***.***> het volgende geschreven:
Have you tried using the "Product Discount" with the "Add product to cart when applied" option? I've added a screenshot of the configuration. You can use it as a promotion that will automatically apply when you change cart, or as a coupon.
image.png (view on web) <https://github.com/user-attachments/assets/b4f09520-fe53-4e90-89ef-9f71dcc85552>
—
Reply to this email directly, view it on GitHub <#646 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BRJSMIL3PHWZXYRRW2SDGD342GBYBAVCNFSM6AAAAACYSHA3Y6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMOBXGY2DINQ>.
You are receiving this because you authored the thread.
|
1 reply
|
It seems it only works for frontend orders/carts. Will it also work for autogenerated subscription orders at the end of an order cycle?
… Op 12 mei 2026, om 10:41 heeft sstakhovski ***@***.***> het volgende geschreven:
This will be added if there are "items" in the cart (can be an empty array []) and you apply a promotion or coupon to that cart.
For example:
POST /carts
{
"items": [],
"$promotions": true
}
If I have the promotion from the screenshot in my store, then the "moresimple" product is added to the created cart at that moment.
—
Reply to this email directly, view it on GitHub <#646 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BRJSMIIS47UX2WR2XIGXMEL42LPUHAVCNFSM6AAAAACYSHA3Y6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMOBYHE4TSNQ>.
You are receiving this because you authored the thread.
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
What I miss is a way to automatically add a product to a cart or order as a promotional gift without the need for customer interaction. It should work very much like the Buy X Get Y promotion with the unique difference that it is added automatically without customer action.
All reactions