### WordPress Environment ###
Home URL: https://bordeauxselect.com
Site URL: https://bordeauxselect.com/wordpress
WC Version: 3.1.2
Log Directory Writable: ✔
WP Version: 4.8.1
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ✔
Language: fr_FR
### Server Environment ###
Server Info: Apache
PHP Version: 5.6.31
PHP Post Max Size: 64 MB
PHP Time Limit: 300
PHP Max Input Vars: 16000
cURL Version: 7.38.0
OpenSSL/1.0.1t
SUHOSIN Installed: –
MySQL Version: 5.6.34
Max Upload Size: 64 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
### Database ###
WC Database Version: 3.1.2
WC Database Prefix: ######
woocommerce_sessions: ✔
woocommerce_api_keys: ✔
woocommerce_attribute_taxonomies: ✔
woocommerce_downloadable_product_permissions: ✔
woocommerce_order_items: ✔
woocommerce_order_itemmeta: ✔
woocommerce_tax_rates: ✔
woocommerce_tax_rate_locations: ✔
woocommerce_shipping_zones: ✔
woocommerce_shipping_zone_locations: ✔
woocommerce_shipping_zone_methods: ✔
woocommerce_payment_tokens: ✔
woocommerce_payment_tokenmeta: ✔
MaxMind GeoIP Database: ✔
### Security ###
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔
### Active Plugins (27) ###
abc Omerta: par Silvère Chagnot – 2014.10.26
Advanced Custom Fields PRO: par Elliot Condon – 5.6.1
Advanced Menu Widget: par Ján Bočínec – 0.4.1
Vérification d’age: par Chase Wiseman – 0.3.0
Black Studio TinyMCE Widget: par Black Studio – 2.4.2
Clean Image Filenames: par Upperdog – 1.1.1
Conditional Widgets: par Jason Lemahieu and Kevin Graeme (Cooperative Extension Technology Services) – 2.2
Contact Form 7: par Takayuki Miyoshi – 4.9
Content character count: par o—-o – 0.1.3
Customizer Export/Import: par The Beaver Builder Team – 0.7
EWWW Image Optimizer: par Shane Bishop – 3.6.1
Google Analytics Dashboard for WP (GADWP): par Alin Marcu – 5.1.1.1
JSM’s Non-Breaking Space for French Content: par JS Morisset – 1.8.2
Post Thumbnail Extras: par sewpafly – 6.0
Really Simple Image Widget: par Nilambar Sharma – 1.5.0
Really Simple SSL: par Rogier Lankhorst – 2.5.20
Regenerate Thumbnails: par Alex Mills (Viper007Bond) – 2.2.6
Simple History: par Pär Thernström – 2.18
User Switching: par John Blackbourn – 1.0.9
WooCommerce Attributes Menu Manager: par Varun Sridharan – 0.6
WooCommerce Systempay Payment: par Lyra Network – 1.3.1
WooCommerce: par Automattic – 3.1.2
Importateur WordPress: par wordpressdotorg – 0.6.3
Yoast SEO: par L’équipe Yoast – 5.3.3
Wordpress Page Widgets: par CodeAndMore – 3.5
WP Sitemap Page: par Tony Archambeau – 1.6
MailPoet Newsletters: par MailPoet – 2.7.11.3
### Settings ###
API Enabled: –
Force SSL: ✔
Currency: EUR (€)
Currency Position: right
Thousand Separator:
Decimal Separator: ,
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)
### WC Pages ###
Base boutique: #21 – /
Panier: #22 – /panier/
Commande: #23 – /commande/
Mon compte: #24 – /mon-compte/
### Theme ###
Name: Bordeaux Select Child of StoreFront
Version: 2017.03.24
Author URL: http://cahoa.com
Child Theme: ✔
Parent Theme Name: Storefront
Parent Theme Version: 2.2.5
Parent Theme Author URL: https://woocommerce.com/
WooCommerce Support: ✔
### Templates ###
Overrides: –
-
This reply was modified 8 years, 9 months ago by
silvere.
Hello,
I believe your product price price without tax is 5.26
And your tax amount: 5.26 * 0.02 = 1.05
This has a total including tax of 6.31
Looking at your front end image, this is the total product price.
If your price without tax was 5, then that total should be 6.
The calculations make sense, assuming your price without tax is 5.26.
Thank you
You are correct, but this does not explain point 2.
Why does 0.26€ + 0.05€ ends up withe a total of 0.32€ and not 0.31€?
-
This reply was modified 8 years, 9 months ago by
silvere.
Its one of those where it can go either way.
5% of 5.26 = 0.263 => 0.26
5% of 1.05 = 0.0525 => 0.05
=> this total comes to 0.31
But if you take 5% of 6.31 => 0.3155 => 0.32
So the coupon is being calculated on the different totals, and because of the rounding down when calculating the individual parts, something is lost. That is my guess anyway.
If this is a coupon for just this product, and you want the discount to be 0.31, create a 4.9% coupon.
No, the coupon is correct.
As you can see on this other screen shot http://bordeauxselect.com/_a_jeter/woocommerce/frontend2.png
6.31 – 0.32 + 20 dos not make 26.
Woocommerce does de write calculation, but displays it wrong.
This bug has been fixed in recent update of WooCommerce.