Copied to clipboard

Flag this post as spam?

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


  • Kammy Beattie 9 posts 93 karma points
    Sep 17, 2020 @ 09:24
    Kammy Beattie
    0

    Tea Commerce order line amount award initially working but not submitting

    Hi I have an issue with the setup of a specific category product rule and order line amount discount. Basically the discount appears at 1st when the discount code is input so I thought it was working. However as you make your way through the cart process it just disappears and the discount is removed sending the product line back to full price.

    See attachment screenshot of CMS set-up:

    TC Orderline Set-up Screenshot

    The screenshot attachment set-up shows: • Order more than 1 • From a specific product category (Elle Decoration Paints) • & Enter discount code • Then get £4.99 off per product over 1 order in that same category

    Here's another couple front end client facing screenshots showing the discount applied on the 'Cart Content' page and then not working anymore as soon as you reach the 'Accept Order' to payment page.

    TC Orderline Working on Cart Page

    TC Orderline Not Working on Accept Page

    Thanks in advance for any assistance on identifying the problem here.

  • Matt Brailsford 2814 posts 14399 karma points MVP 7x c-trib
    Sep 17, 2020 @ 11:29
    Matt Brailsford
    0

    Hi Kammy,

    Hmm, that's an interesting one. I've just setup a discount doing the same on the demo store at demo.teacommerce.net and it seems to be working ok there.

    What version of tea commerce are you running on? And is the cart on the review step using the same render logic as the one on the cart page? If not it could be that it's displaying different price variables, and the one in the cart is using the discounted totals, but the review step isn't.

    Matt

  • Kammy Beattie 9 posts 93 karma points
    Sep 17, 2020 @ 12:44
    Kammy Beattie
    0

    Hi Matt,

    Thanks for your response, it doesn't look like it's the render logic as when you navigate back to the original 'Cart Content' page after the discount has disappeared on the 'Accept Order' page and refresh, the offer doesn't come back.

    It's gone, however the discount code is still active.

    Thanks Kammy

  • Matt Brailsford 2814 posts 14399 karma points MVP 7x c-trib
    Sep 17, 2020 @ 12:49
    Matt Brailsford
    0

    Hmmmm.

    Are you able to share the code you are using to render the cart prices? And do you have any kind of caching in place that might have it remembering the previous state at all?

    Matt

  • Kammy Beattie 9 posts 93 karma points
    Sep 17, 2020 @ 13:01
    Kammy Beattie
    0

    Just FYI Iv'e pasted the code in for both cart steps 1 and 4 but it just needs moderated to make sure I'm not spamming. Hopefully it gets approved soon, just wanted to let you know I had responded - K

  • Kammy Beattie 9 posts 93 karma points
    Sep 17, 2020 @ 12:55
    Kammy Beattie
    0

    Sure I'll send this over, also forgot to mention we have a TC starter kit installed version 4.3.2 and also TC version 3.3.3 for umbraco 7

  • Tom Madden 225 posts 315 karma points MVP c-trib
    Sep 17, 2020 @ 13:22
    Tom Madden
    0

    Hi Matt,

    Kammy's post have been flagged for manual moderation. Is there a preferred way he can send the code directly?

  • Kammy Beattie 9 posts 93 karma points
    Sep 17, 2020 @ 16:03
    Kammy Beattie
    0

    Thanks Matt, I'll give this a go and let you know how I get on. Hopefully narrow it down. I do have other blanket offers currently working on the website so this is the 1st time Iv'e had an issue.

    Thanks also Tom Madden, appreciate your input

    K

  • Kammy Beattie 9 posts 93 karma points
    Sep 24, 2020 @ 09:53
    Kammy Beattie
    100

    Hi Matt / Tom,

    Sorry for the delay in update on this but I think that's it now sorted! :)

    It seems I needed to check the box 'Allow with previous campaigns'. When this option wasn't clicked it for some reason lost the promotion as you worked through the cart, it would also disappear if you added something to basket when through the cart then decided to go back to adjust your order.

    I think I also didn't have the rules in the correct order so adjusted them to read if you add an 'Elle Decoration Paints' product and more than or equal to 2 of that product and used the discount code you would then qualify for the promotion.

    Attached screenshot of the updated options that now appear to work perfectly!

    enter image description here

    Thanks again for your quick responses and input guys!

    Kammy

  • Matt Brailsford 2814 posts 14399 karma points MVP 7x c-trib
    Sep 24, 2020 @ 09:55
    Matt Brailsford
    1

    Hey Kammy,

    That's great. Really glad you were able to get it all working.

    Thanks for the update

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft