Home › Forums › WoodMart support forum › Free Gifts & Products in Cart Conditions Exclusion and Inclusion
Free Gifts & Products in Cart Conditions Exclusion and Inclusion
- This topic has 9 replies, 2 voices, and was last updated 3 weeks, 6 days ago by
Artem Temos.
-
AuthorPosts
-
April 17, 2025 at 12:57 pm #654911
spnutrateaParticipantHi Artem,
Please have a look at the snapshot configuration: https://prnt.sc/tSckBObHoAqy
When a category is excluded, the free gifts are added to the cart automatically. It seems there are some issues with the conditions.
When it is a mix of products from different categories, there is an error with the Freegift offers.
Snapshot 1: https://prnt.sc/LiZs-n4eDqN4
Snapshot 2: https://prnt.sc/CxKu8GZ35B4RCould you please look at it?
Kind regards,
SatyaApril 18, 2025 at 10:37 am #655144
Artem TemosKeymasterHello,
Currently, if any of the “Include” conditions are met, all exclusions are ignored. And you are looking to make the opposite: when any of the “Exclude” met, all inclusions are ignored. We will consider adding a switcher between these two logics in our next update.
Kind Regards
June 18, 2025 at 12:13 pm #668151
spnutrateaParticipantHi Artem,
Thank you for releasing the theme update — I appreciate the new features that have been introduced.
However, I’m still having some difficulty configuring the inclusion and exclusion rules for free gifts. Could you kindly guide me on the correct setup?
Currently, when the cart contains products from specific categories, the free gifts are automatically added – which works perfectly: https://prnt.sc/FXQizCJm5on7
The issue arises when the cart contains a mix of products from both the specified categories (that should trigger free gifts) and other unrelated categories (that should not). https://prnt.sc/WV4fYLgovbFe
Could you please advise on how to configure the strict exclude mode correctly so it functions as expected?
Here’s a snapshot for reference: https://prnt.sc/ObHPw7TODXrt
I look forward to hearing from you.
Kind regards,
SPJune 18, 2025 at 12:40 pm #668156
spnutrateaParticipantPlease find the login details in the extra content information section.
June 18, 2025 at 4:21 pm #668208
Artem TemosKeymasterHello,
We checked your website, and it works as expected. Could you please clarify what is wrong with your website now? Create a free gift rule example and explain why it doesn’t work.
Kind Regards
June 18, 2025 at 5:24 pm #668225
spnutrateaParticipantI will create snapshots for the rules and get back to you tomorrow.
Kind regards
SPJune 23, 2025 at 6:19 pm #669192
spnutrateaParticipantHi Artem,
Case I:
Mini Cart: https://prnt.sc/2Bpa1KVhW19l
Step 1: A user adds a random product, which is eligible for the FREE gifts, to the cart. https://prnt.sc/fOPXcq0ffaKM
Step 2: A user adds a product, which is not eligible for the FREE gifts, to the cart. https://prnt.sc/_WypKKyenuxi
Free Gift Setup: https://prnt.sc/cj-2GgyEMMVd
Case II: Activation of Strict exclude mode does not work as expected
Snapshot: https://prnt.sc/LyrMWtsqN3Hb
Snapshot: https://prnt.sc/OQvp-NK3Djw2
For reference, I have shared the live link in the private content area.
Kind regards
SPJune 24, 2025 at 10:18 am #669292
Artem TemosKeymasterThis part is made with custom code – https://prnt.sc/LyrMWtsqN3Hb – it works exactly as it was hardcoded – https://monosnap.com/file/zid1WoDlMTV0sL5Dv5iL7GXgztfI13
Case 1: It works correctly because the logic is as follows:
“If there is at least one product in the cart that matches the include rule (in this case, the product Raspberry Leaf & Peppermint Tea), then the gift will be added even if the cart also contains a product from the exclude rule (Healthy Well-Being Gift Box).”
So when a product from the excluded category was added, the gift still appeared because a product from the include rule was already in the cart and the cart total exceeded 20.Case 2: It works correctly because the logic is as follows:
“Strict exclude mode changes the previous behavior to the opposite. If a product from the exclude rule (Healthy Well-Being Gift Box) is added to the cart, it will immediately prevent any gifts from this rule from being added, even if a product from the include rule (Raspberry Leaf & Peppermint Tea) was already in the cart.”June 24, 2025 at 12:13 pm #669327
spnutrateaParticipantHi Artem,
Thank you for your message and explanation. It’s only one issue that we can sort out, then it will be good. As I have mentioned The issue arises when the cart contains a mixture of products from the categories (One should trigger free gifts) and other unrelated excluded categories (that should not). How do we solve it?
Only selected (included) products are eligible for the FREE Gift offer. When the value of (for example) Raspberry Leaf and Peppermint Tea reaches £20, a free gift will automatically be added to the category.
When there is a mixture of the products from two different categories in the Cart. The product from the excluded category should be excluded from the free gifts and does not impact the offers explained above.
For instance, Raspberry Leaf & Peppermint Tea (£20) + Healthy Well-Being Gift Box (£16.99), then a user will get an Elderberry Tea FREE gift in the cart.
If you could please guide me on how to fix it, then I can follow the instructions to get it sorted.
Kind regards
SPJune 25, 2025 at 12:11 pm #669556
Artem TemosKeymasterThe options “Products in cart condition” (https://monosnap.com/file/5NCZJxkYYMKksJakVB6rnmW6v77ifJ) and “Cart price condition” (https://monosnap.com/file/bB20u2rKzzkJtPjTIntbe6655sV75A) are independent of each other, and configuring one does not affect the other.
The “Cart price condition” is based solely on the three possible cart price options specified in the “Base price” setting (https://monosnap.com/file/vZ5U34RJh69Zx4jn9oIIeygt2nNZ0y), and this price includes all products added to the cart, regardless of whether they are excluded in the “Products in cart condition” option.If you want the minimum cart amount to be calculated based only on the products included in the “Products in cart condition” option, I’m afraid this is currently not possible.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register