• Hi.

    Recently, I noticed that this plugin is throwing off price calculations when using a Site Wide Step Value of 0.25 (in Advanced Rules). I’m able to add items to orders in increments of 0.25 correctly. However, the prices always round up to what it costs for integer quantities. More specifically, ordering x.25, x.5, or x.75 of any given item causes the site to charge for (x+1).0 (where x is any positive integer value).

    For example, my site, which sells health products to wholesalers, sells a line of various trail mixes in cases of 12 bags for $15.25. So ordering 1.0 on the site = 1 case of 12 trail mix bags for that price. If a customer wants only 6 bags, they would order 0.5 and should be charged half of $15.25 or $7.62; or if they wanted 3 bags, they’d order 0.25 and should be charged $3.81 or one quarter of $15.25. They are able to order the right quantity… but their price is always $15.25 whether they order 0.25, 0.5 or 1.0.

    This is seriously problematic for us, as you can imagine. Please help as soon as possible, thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter BrianCS

    (@briancs)

    So. Does anyone, anyone here at all, have any idea HOW I might change the code to do what I need? Or at least WHERE I might begin to look? I have a basic knowledge of WordPress coding (and I know HTML, PHP, and CSS) but I have yet to learn the first thing about the inner workings of WooCommerce.

    Thanks!

    Peace,
    Brian

Viewing 1 replies (of 1 total)
  • The topic ‘Decimal Quantities Not Working Well’ is closed to new replies.