I've been trying to disable product price rounding on WooCommerce without success. Even if I set decimals to 2 on WooCommerce > Settings > General > Number of decimals it will show products that are $9.99 as $10.00
After trying to find any code snippets on my plugins and themes that may be doing that and search Stack Overflow for an answer, I gave up. Any help would be truly appreciated. Thank you!
I just had this issue. To fix it:
Go to setting in woocommerce.
Go to general tab.
Change Number of decimals to 2.
how to fix rounding up woocommerece currency
I have found the solution. In fact, the problem was that WooCommerce was caching the old settings. To clear it I had to go to WooCommerce > Status > Tools and click on Clear Transients.
Three things to check:
Is your theme rounding? Some themes think they should be one-size fits all...
Have you checked your functions.php file for any rogue rounding snippet?
Are you sure the price isn't set as $9.999? That would round to $10.00.
I have solved a rounding issue with Coupons etc. by setting the Number of Decimals to 4 instead of 2.
This is an issue I have had also with an ERP system, setting the decimals to 4 solved my issue.
You can then simply trim the zeroes: https://woocommerce.com/document/hide-trailing-zeros-on-prices/.
Related
How to release it on woocommerce? What plugin can help? for example -> can be viewed here https://gyazo.com/4e51ef9b4d116286499cf99642cde51f. I understand how the calculations work, but I can't find the plugin, maybe someone knows how I can replicate this? thanks for the time!
Tried different plugins, currently I'm using "Additional Product Options" options for prices. This plugin has a slider, but I don't know how I can repeat what I show before.
OK so I know this isn't exactly a code-specific question, but I'm out of luck in my research to find a way to make a search only product in WordPress using WooCommerce. I have 10,000 products I need to have available to buy on the website, however the majority of them are very small and specific. SO I need a way to have products on my website that aren't visible in the catalog, but can be found by search, specifically by their part numbers. This seems like a common occurrence in the world of eCommerce so perhaps there is already a way to do this in WooCommerce and I'm just missing it. Or does anyone know of a plugin that will achieve this?
Anything will help, thanks!
I think there are many plugins that can help you with this. Try for example this one https://wordpress.org/plugins/advanced-woo-search/
Reference to woocommerce in wordpress, I've come across an annoying bug. In the MiniCart, it shows the number of items in the cart. This works fine until I use the + or - to change the quantity. If I do that, the number just becomes a spinning wheel and the cart icon no longer shows the cart items. Now, get this: IF I delete the last item in the cart, it shows the correct number of items and shows the cart contents again. Anyone have any ideas what could be causing that? Thanks in advance for any help.
Possible thing that may reason for this:
Ajax related issue
This cause due to jquery version mismatch in major case.
Cache issue
You have cache plugin then disable it and try.If browser cache then use privet window.
(This question is asked over on the Wordpress Stack Overflow, but no one seems to want to answer, so I'm putting it here)
I have a quick question. I have a site http://frenchicpaint.co.uk Everything is fine, except...
When you view thew site on a mobile/iPad, prices are shown exclusive of tax, yet when you view the site on a desktop the prices are inclusive of tax...?
I've only just noticed it, and can't see any option to change it...
Anyone have any ideas how I can get the prices to show INCLUSIVE of tax on the mobile version?
Thanks
Solved it! In woocommerce settings tax the option must be tax based on shop adress - if not the prices are shown excl tax waiting for the customers adress to calculate tax... Why it only affected the mobile view I dont know.
I have just discovered that I have the same problem :-( at http://sqoop.no/produkt/adventure-food-biff-satay/
I wonder if it appeared after one of the recent upgrades. My site is still in catalogue mode, perhaps this has an effect? Im looking for a solution and will post it here if I get it.
.. found this answer:
"mikejolley commented 9 days ago
You'd need to change the "Display Prices in the Shop" option based on user agent. Not something core will do for you".
Im not sure what "option based on user agent" meens, but it seems to solve the problem for the guy who posted the question.
so, I have coded a wordpress theme and integrated woocommerce with it. It has used only simple products for some time, and I was using a simple product to test codes, as it works fine. But I recently added a variation product and then, the add to cart button also gone ( variation select dropdown is there, but values are not bonded to drop down.
If anyone can give me a hint, showing what I have done wrong, that would be a big favor.
I just got the same issue and it solved when I manually entered a price for the variable products. Unfortunately I didn't find out yet why I have to enter it, even for the same value. But it fixed it.
Hope it helps !