Home Forums WoodMart support forum Free Gifts & Products in Cart Conditions Exclusion and Inclusion

Free Gifts & Products in Cart Conditions Exclusion and Inclusion

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #654911

    spnutratea
    Participant

    Hi 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/CxKu8GZ35B4R

    Could you please look at it?

    Kind regards,
    Satya

    #655144

    Artem Temos
    Keymaster

    Hello,

    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

    #668151

    spnutratea
    Participant

    Hi 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,
    SP

    #668156

    spnutratea
    Participant

    Please find the login details in the extra content information section.

    #668208

    Artem Temos
    Keymaster

    Hello,

    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

    #668225

    spnutratea
    Participant

    I will create snapshots for the rules and get back to you tomorrow.

    Kind regards
    SP

    #669192

    spnutratea
    Participant

    Hi 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
    SP

    #669292

    Artem Temos
    Keymaster

    This 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.”

    #669327

    spnutratea
    Participant

    Hi 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
    SP

    #669556

    Artem Temos
    Keymaster

    The 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.

Viewing 10 posts - 1 through 10 (of 10 total)