• Resolved jerryxcoke

    (@jerryxcoke)


    Hi,
    First of all, thank you for your great work.
    I found a bug where I can not update any order due to quantity field is less then value 1, because The step is different in hidden field under qty, so the input box validation fails.

    Reproduce steps:
    – setup product with weight:1, minimum step: 0.1, measurement: weight
    – Buy the product with qty:0.1
    – go to admin page and open the order
    – try to update the status
    – console will show the problematic hidden input field

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Condless

    (@condless)

    H Jerry,
    Thank you for reporting the issue, please update the plugin to its latest release and try again

    Thread Starter jerryxcoke

    (@jerryxcoke)

    Hi @condless,
    It works. Thanks for quick fix.

    Thread Starter jerryxcoke

    (@jerryxcoke)

    Hi @condless,
    After the update I noticed that there is another bug in shop pages, but I can’t decide which plugin is wrong ??

    Details:
    I do not know it cames after the new release or not.
    There is a custom plugin which can add a quantity input field next to product, so the customer easily can set the qty before they put in the cart.
    Without your plugin, the fields are contains a default value (which is 1 or 1.0 depends on the product type), but with your plugin, these input fields contains the cart’s product quantity. So If I have 3 banana in my cart, The field contains 3, if I have 0 apple in cart, then 0.

    Is it possible that somewhere these qty field are populated with cart’s product count on shop page?
    Could you check this issue?

    Here is an example HTML output from shop page which may help:

    <form action="?add-to-cart=555555" class="cart one-line" method="post" enctype="multipart/form-data">	<div class="quantity buttons_added form-flat">
    						<label class="screen-reader-text" for="quantity_601af31fb7771">Product name test</label>
    		<input type="number" id="quantity_601af31fb7771" class="input-text qty text" step="1" min="0" max="" name="quantity" value="0" title="Mny" size="4" placeholder="" inputmode="numeric">
    					</div>
    	<button type="submit" data-quantity="1" data-product_id="555555" class="button alt ajax_add_to_cart add_to_cart_button product_type_simple">Hozzáad</button></form>

    EDIT: unfortunatly I cannot rollback your plugin to previous version, I do not have the code.

    Thanks

    • This reply was modified 4 years, 1 month ago by jerryxcoke.
    Plugin Author Condless

    (@condless)

    Hi, please try to disable the ‘Update Cart’ option (via the plugin settings)

    Thread Starter jerryxcoke

    (@jerryxcoke)

    Hi,
    It works if ‘Update Cart’ option disabled.
    Thanks for the quick reply and the solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘plugin is not working on order edit page bug’ is closed to new replies.