Bagisto Forum

    Bagisto

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

    Facing validation issue in customer group price

    Bug Report
    2
    4
    217
    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.
    • S
      Sunarc last edited by

      When creating a customer group price discount for a product, I am able to add a discount with a quantity of 0 in the admin panel, which is incorrect.

      Admin panel > products > edit > price

      bagisto issue 1.png

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

        Hello there,

        Which version of Bagisto are you using?

        1 Reply Last reply Reply Quote 0
        • S
          Sunarc last edited by

          Hello,
          I am using version 1.5.1.

          1 Reply Last reply Reply Quote 0
          • S
            Sunarc last edited by

            Hello there,
            I have fixed this issue by editing file
            packages > Webkul > Admin > src > Resources > views > catalog > products > accordians > customer-group-price.blade.php.

            I modified the validation of the input field named "[inputName + '[qty]']" to v-validate ="required|numeric|min_value:1"

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