On a product page, if you add some items to your cart, Woocommerce will automatically generating a message saying "X [product name] have been added to your cart".
I am using your plugin to allow people to pick decimal quantity. But when they chose a decimal quantity to add in the cart, this quantity is not the one displayed in the Woocommerce message. It gets cut to the integer (not rounded up or down).
Screenshot attached.
Would you be able to fix it or provide me the code to add so that this message display the exact quantity added ?
We’ve received your ticket and assigned one of our developers to help you with that.
He’ll be looking into your question and responding with specific instructions as soon as possible. Please stay in touch as he might need discuss further with you.
Thanks for your quick answer - I have to say I am impressed by the support here :) It does work fine now.
One last question - this change seems to overwrite the default message from Woocommerce, and therefore the traduction does not work anymore. I have found the file "wpc-product-quantity.pot" and edited my own "fr.po" and "fr.mo". Put them back in "languages" in the app file but it does seem to work.
Could you please tell me if the naming of these files is OK, and where should I put them ?
Hello,
On a product page, if you add some items to your cart, Woocommerce will automatically generating a message saying "X [product name] have been added to your cart".
I am using your plugin to allow people to pick decimal quantity. But when they chose a decimal quantity to add in the cart, this quantity is not the one displayed in the Woocommerce message. It gets cut to the integer (not rounded up or down).
Screenshot attached.
Would you be able to fix it or provide me the code to add so that this message display the exact quantity added ?
Thanks
Hi Nick,
Thank you for contacting WPClever Support Forum.
We’ve received your ticket and assigned one of our developers to help you with that.
He’ll be looking into your question and responding with specific instructions as soon as possible. Please stay in touch as he might need discuss further with you.
Best regards.
Janilyn T. - WPClever Support Agent
Hi Nick,
Please update our plugin to the latest version 1.2.3 to fix this issue
Best regards,
Dustin
Hi Frankie,
Thanks for your quick answer - I have to say I am impressed by the support here :) It does work fine now.
One last question - this change seems to overwrite the default message from Woocommerce, and therefore the traduction does not work anymore. I have found the file "wpc-product-quantity.pot" and edited my own "fr.po" and "fr.mo". Put them back in "languages" in the app file but it does seem to work.
Could you please tell me if the naming of these files is OK, and where should I put them ?
Thanks
Sorry for the late reply!
You don't need to edit the file, please read this article https://wpclever.net/faqs/plugin-translation
Best regards,
Dustin
Thanks :) All good now we can close the ticket