Error with inherit mode and max 1 ticket per order
-
(Issue not related to last update)
In case of use of max 1 ticket per user, it will use the checkbox (why not cases but this is not the issue here).
I did a bit of research to find out what was the issue and I figured out that the issue comes from mt-button.php
-On line 163 we will setup the $value at 1 for each ticket type either the box is checked or not, that is ok (I think) as we want to have 1 ticket sold if it is then checked.
-On line 201, for each ticket type we will add this $value to the $total_order. In my case I have 3 ticket types so my order will have a result of 3. So if my total remaining tickets drop down bellow 3, I will have my “add to cart” button not working.
-The temporary workaround is to setup complementary tickets higher so I can keep the “add to cart” button active
- The topic ‘Error with inherit mode and max 1 ticket per order’ is closed to new replies.