Tagged: fractional quantity, input, step, woocommerce
-
AuthorPosts
-
January 17, 2017 at 5:50 pm #734864
I’m using the “Quantities and Units for WooCommerce” plugin to enable decimal quantities and Kg as units.
I tried to disable the Enfold +/- as suggested by Josue in his answer HERE, but there are some problems. Here are my try:Theme: Twenty Seventeen – Plugin: enabled
the HTML +/- buttons are revealed, fractional quantities can be saved to cartTheme: Enfold – Plugin: enabled
the Enfold +/- buttons are not working, manual input with fractional quantities is not accepted by pageTheme: Enfold child with Josua code to disable Enfold +/- buttons – Plugin: enabled
Enfold +/- buttons are disappeared as expected
The HTML +/- buttons are not revealed, manual input with fractional quantities is accepted by page
The decimal separator in the header cart is wrong (‘.’ instead of ‘,’ as defined in woocommerce config)
https://drive.google.com/file/d/0B7baurTblFiQQWloLUVmeEJCN2M/view?usp=sharing
https://drive.google.com/file/d/0B7baurTblFiQX0x0X2pwRGF1V1U/view?usp=sharingObviously, the fractional quantities directly supported by Enfold +/- buttons … is the desired solution :-)
January 20, 2017 at 6:08 am #736211Hey tipinoncomuni,
Thank you for using Enfold.
Please remove all modifications or revert the files back to their original state then edit the config-woocommerce > woocommerce-mod.js file. Look for this code around line 23:
newNum = jQuery(jQuery('<div />').append(number.clone(true)).html().replace('number','text')).insertAfter(number);
.. replace it with:
newNum = jQuery(jQuery('<div />').append(number.clone(true)).html()).insertAfter(number);
Remove browser cache or hard refresh before checking the product again.
Best regards,
IsmaelJanuary 20, 2017 at 4:18 pm #736551Thanks Ismael but still i need your help:
https://drive.google.com/file/d/0B7baurTblFiQSnFseFlveFZ2NWM/view?usp=sharing
A – Enfold +/- buttons aren’t working with fractional increment (they works well with integer increments)
B – purchased quantity message is incorrect (number truncated to near integer)
C – header cart decimal separator is incorrect
D – how to disable HTML +/- buttons? The same problem arise in the cart.Thanks again
- This reply was modified 7 years, 10 months ago by tipinoncomuni.
January 25, 2017 at 7:16 am #738153Hi!
Could you please provide a link to the actual product with the issue? I visited the shop page but I can’t access the products.
// http://shop.servizinoncomuni.it/negozio/
And please contact the plugin author for additional help regarding the issue.
Regards,
IsmaelJanuary 25, 2017 at 11:12 am #738273Sorry. Permalink error. A refresh was needed.
For additional help you mean the issues B,C? oh. I was convinced it was an Enfold output.
Could you tell me the CSS style to disable the +/- HTML in-field buttons?January 30, 2017 at 3:52 pm #740231Hi,
are you talking about +/- from this website? if yes then use this code inside Quick CSS field to hide it:
input.plus, input.minus { display: none !important; }
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.