Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Coupon Code Applied

    General Discussion
    2
    3
    160
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rimeri 0 last edited by

      Hello,

      On cart rules when I set the the conditions example I set for category Test and product sku-1.

      And when I add product from Test category and sku-2 product and I applied the coupon code it's not return any response message it's generate status code 200.

      Please can you show me how can I return the message based the set condition.

      Thank you!

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        Hello @Rimeri-0

        Greetings of the day..!!

        Kindly go through this blog to learn in detail about cart rules.

        https://bagisto.com/en/how-to-setup-promotions/

        In this, we have applied the cart rule with the condition of categories.

        Hopefully, this will help you to resolve your query.

        Thanks & Regards..!!

        1 Reply Last reply Reply Quote 0
        • R
          Rimeri 0 last edited by Rimeri 0

          Sir,

          I have analyzed the documentation part, but the problem is that the message part has not been developed.

          For example, I once applied with a coupon code and I am trying to use my coupon code. The message that I have just applied with this coupon code should appear.

          The message will appear when the coupon code expires. If I have created a coupon code so that the expiration date is March 31 and I am applying with this coupon code, the message "The coupon code has expired will appear, and the discount cannot be applied".

          A message should be displayed for each action so that the client is notified, not only the status 200 is returned for each request and the client is not aware of what is happening.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post