Post by Johnathan » Tue May 31, 2022 9:57 pm

Image

Current Version: v2023-6-21 (release notes)

OpenCart Versions: 1.5.0.x - 4.0.2.x

To Purchase: Visit OpenCartX or opencart.com

Image

This modification fixes a rounding bug present in all OpenCart versions. The bug occurs because OpenCart stores prices internally with more than 2 decimal places. When using a non-default currency or applying tax to an order, these percentage-based price adjustments can result in rounding errors because OpenCart only rounds the final values for display (instead of the values stored internally).

  • Upload and go — no core file modifications are necessary. The extension utilizes ocMod for OpenCart 2.x/3.0 and vQmod for OpenCart 1.5/4.0.
  • Fixes rounding issues for product quantity discounts (i.e. those set up in the Discount tab of the product data) or Special prices with more than 2 decimals.
  • Fixes rounding issues for the "Total" line item due to currency conversions or tax calculations.
  • Automatically affects the cart page, cart module, and checkout pages.
  • Rounded values will be stored in the database once the order is placed, so they will be accurate in the admin panel and order invoice, as well.
  • The extension needs no admin panel since there are no configurable settings. The modification will start working as soon as the ocMod/vQmod file is installed and activated.

Image Image Image

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Thu Jun 22, 2023 3:18 am

Updated to v2023-6-21

Release Notes:

- NOTE: Starting with this release, version numbers will now be based on the
date the new version is released.

- Added: compatibility with OpenCart 4.0.0.x - 4.0.2.x
- Added: compatibility with Intermediate Order Total

- Fixed: occasional miscalculation for rounding quantities between 100 and 999

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 58 guests