Bagisto Forum

    Bagisto

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

    Weight Validation

    Bug Report
    2
    6
    397
    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.
    • T
      tomatopi last edited by

      Just noticed that when you create a Configurable item, each variant requires a weight >0.0001 while a simple item can have a weight of 0 as a valid numeric entry. It would be nice to have the two consistent with each other.

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by

        @tomatopi
        Yes!right in both product weight validation are different.
        but further i am not able to getting your requirement, please elaborate more.

        1 Reply Last reply Reply Quote 0
        • T
          tomatopi last edited by

          In our case, we don't ship in a way that needs a true weight. So I was planning to use weight as a shipping code from 0 to 5. Zero means it could qualify for free delivery while 5 would be the highest delivery cost.

          The simple items follow that pattern and all a weight of 0. But now configurable items it will not accept the value of 0.

          As a matter of consistency, I would expect both simple and configurable items to use the same validation.

          Does that make sense?

          Peter

          1 Reply Last reply Reply Quote 0
          • V
            Vaishali Agarwal last edited by

            @tomatopi

            Yes, weight validation for both configurable & simple should be same.
            you can raise the suggestion at https://github.com/bagisto/bagisto which will be fix soon.

            Thanks,

            1 Reply Last reply Reply Quote 0
            • T
              tomatopi last edited by

              Thanks.

              When I see things like this (potential bugs) is it best to go directly to github or to post here first?

              Peter

              1 Reply Last reply Reply Quote 0
              • V
                Vaishali Agarwal last edited by

                @tomatopi
                if you're getting any bug then first raise issue at github with all the mention steps.
                but if you have any exception/query, you can directly raise it here.

                Thanks.

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