Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Scott Meikle 28 posts 228 karma points
    Mar 05, 2018 @ 14:51
    Scott Meikle
    0

    Marketing Rule: Discount if two specific products are in basket

    Hello,

    I am having a problem getting a marketing rule to fire. I have created a rule that when two specific products are in the basket, there should be a discount applied to the total price. I have attached a screenshot to illustrate my rule set-up:

    Marketing Discount Rule

    Unfortunately, the above rule doesn't fire when I go to the checkout. However, if I set it up as an OR within a single rule group, it DOES fire (i.e. if I have either product one or product two in my basket, the rule is applied). I only tried the latter to test that rules where working at all on my system (this is my first attempt at adding a marketing rule).

    Does anyone have any idea what the problem might be? Have I misunderstood how the marketing rules functionality works? Is it a bug in Tea Commerce?

    My Umbraco version is 7.4.0 and my Tea Commerce Version is 3.1.1.

    Kind regards,

    Scott

  • Joshua Lemli 52 posts 234 karma points
    Mar 05, 2018 @ 16:07
    Joshua Lemli
    0

    It is difficult to assess the root of your issue without additional information.... however... Since Tea Commerce is a paid product, I would start by asking their support staff.

  • Scott Meikle 28 posts 228 karma points
    Mar 06, 2018 @ 09:12
    Scott Meikle
    0

    Hi Joshua,

    I was hoping that one of the Tea Commerce team would chime in here as this is their support forum, no?

    I usually try and help myself first but I can't find any documentation on the marketing functionality at all. I have only got as far as I have through trial and error...

    Kind regards,

    Scott

  • Brian Lyk Larsen 19 posts 274 karma points
    Mar 06, 2018 @ 11:55
    Brian Lyk Larsen
    100

    Hi Scott,

    Order lines that fulfill the requirements in a rule group is passed on to the next rule group. The award is applied if any order lines make it through all rule groups.

    The first rule group discards all order lines not containing "Snowman and Friends", which then results in the second rule group failing.

    It's a bit hard to explain, but it might make more sense if you have a look at the source code linked below.

    I don't think you can achieve your goal with the built-in rules. You may have to build a custom rule that allows selecting multiple products. You can use the product rule as inspiration: View Backend

  • Scott Meikle 28 posts 228 karma points
    Mar 06, 2018 @ 13:02
    Scott Meikle
    0

    Hi Brian,

    Thanks for explaining this to me, what you have written makes sense.

    I think that I will take a shot at making a custom rule - that product rule example you gave a link to does indeed look like a good starting point for me.

    Kind regards,

    Scott

Please Sign in or register to post replies

Write your reply to:

Draft