• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

Facing validation issue in customer group price

Bug Report
2
4
181
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 29 Aug 2023, 06:01

    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 1 Sept 2023, 04:37

      Hello there,

      Which version of Bagisto are you using?

      1 Reply Last reply Reply Quote 0
      • S
        Sunarc last edited by 1 Sept 2023, 04:43

        Hello,
        I am using version 1.5.1.

        1 Reply Last reply Reply Quote 0
        • S
          Sunarc last edited by 1 Sept 2023, 12:41

          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
          2 out of 4
          • First post
            2/4
            Last post