price including Tax display issue
-
Hello,
Below is Status report of the testing site, production website is in main domain.### WordPress Environment ### WordPress address (URL): https://test.customgiftings.com Site address (URL): https://test.customgiftings.com WC Version: 3.9.3 REST API Version: ? 1.0.7 Log Directory Writable: ? WP Version: 5.3.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache/2.4.41 (cPanel) OpenSSL/1.1.1d mod_bwlimited/1.4 Phusion_Passenger/5.3.7 PHP Version: 7.2.16 PHP Post Max Size: 512 MB PHP Time Limit: 720 PHP Max Input Vars: 10000 cURL Version: 7.62.0 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: ? 5.5.61-38.13-log - We recommend a minimum MySQL version of 5.6. See: WordPress requirements Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.9.3 WC Database Prefix: wp_ Total Database Size: 49.14MB Database Data Size: 32.73MB Database Index Size: 16.41MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpc1_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpc1_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpc1_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpc1_options: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wpc1_postmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpc1_posts: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpc1_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpc1_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpc1_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpc1_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpc1_usermeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpc1_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wp_itsec_distributed_storage: Data: 1.96MB + Index: 0.00MB + Engine MyISAM wp_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_lockouts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_logs: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wp_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_temp: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ms_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 2.45MB + Index: 0.25MB + Engine InnoDB wp_postmeta: Data: 21.53MB + Index: 12.98MB + Engine InnoDB wp_posts: Data: 5.52MB + Index: 2.16MB + Engine InnoDB wp_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_sliders: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_revslider_slides: Data: 0.11MB + Index: 0.00MB + Engine MyISAM wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_admins: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_answers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sp_exceptions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sp_hooks_admins_multi: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_hooks_customers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_hooks_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_hooks_unicode: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_marketing_filter: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sp_optout_deleted: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_optout_prices: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_optout_texts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_outofstock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_ownnumbersenderIDs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_routes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_smsuser: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_sms_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sp_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sp_textsenderIDs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_termmeta: Data: 0.04MB + Index: 0.04MB + Engine MyISAM wp_terms: Data: 0.08MB + Index: 0.09MB + Engine InnoDB wp_term_relationships: Data: 0.28MB + Index: 0.20MB + Engine InnoDB wp_term_taxonomy: Data: 0.08MB + Index: 0.09MB + Engine InnoDB wp_usermeta: Data: 0.13MB + Index: 0.06MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wcpdf_credit_note_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wcpdf_packing_slip_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wcpdf_proforma_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.12MB + Index: 0.16MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_seo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_seo_meta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM ### Post Type Counts ### attachment: 2359 custom_css: 2 et_pb_layout: 25 jetpack_migration: 2 nav_menu_item: 43 page: 39 post: 9 product: 346 product_variation: 2000 project: 1 revision: 514 scheduled-action: 17 shop_coupon: 8 shop_order: 11 shop_order_refund: 3 wpc-cliparts: 1 wpcf7_contact_form: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (8) ### WPBakery Page Builder: by Michael M - WPBakery.com – 5.5.2 REHub Framework: by Sizam – 3.8 RH Grandchild Custom: by Check docs – 1.0.3 Shortcode in Menus: by Gagan Deep Singh – 3.5 Variation Swatches for WooCommerce: by Emran Ahmed – 1.0.76 WOOCS - WooCommerce Currency Switcher: by realmag777 – 1.3.0 – Not tested with the active version of WooCommerce Store Toolkit for WooCommerce: by Visser Labs – 2.1.1 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.9.3 ### Inactive Plugins (30) ### Akismet Anti-Spam: by Automattic – 4.1.3 Classic Editor: by WordPress Contributors – 1.5 Contact Form 7: by Takayuki Miyoshi – 5.1.6 Custom Login: by Austin Passy – 3.2.9 Custom Product Tabs for WooCommerce: by YIKES Inc. – 1.6.13 Envato Market: by Envato – 2.0.3 Facebook for WooCommerce: by Facebook – 1.9.15 – Not tested with the active version of WooCommerce Flexible Checkout Fields: by WP Desk – 2.3.4 Hello Dolly: by Matt Mullenweg – 1.7.2 iThemes Security: by iThemes – 7.6.1 Jetpack by WordPress.com: by Automattic – 8.2.3 Limit Login Attempts: by Johan Eenfeldt – 1.7.1 One Click Demo Import: by ProteusThemes – 2.5.2 Really Simple CAPTCHA: by Takayuki Miyoshi – 2.0.2 Really Simple SSL: by Rogier Lankhorst Mark Wolters – 3.2.9 Shiprocket: by Shiprocket – 1.0.5 – Not tested with the active version of WooCommerce Slider Revolution: by ThemePunch – 5.4.8 Smush: by WPMU DEV – 3.4.2 Transients Manager: by Pippin Williamson – 1.8 Widget Importer & Exporter: by ChurchThemes.com – 1.5.5 WooCommerce - Verti Sms Notifications: by Vinod Rawat – 1.0.0 – Not tested with the active version of WooCommerce WooCommerce GST: by Stark Digital – 1.2 – Not tested with the active version of WooCommerce WooCommerce Paytm Payment Gateway: by Paytm – 0.2 – Not tested with the active version of WooCommerce WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.4.6 WooCommerce PDF Invoices & Packing Slips Premium Templates: by Ewout Fernhout – 2.5.9 – Not tested with the active version of WooCommerce WooCommerce PDF Invoices & Packing Slips Professional: by Ewout Fernhout – 2.2.9 – Not tested with the active version of WooCommerce WordPress Importer: by wordpressdotorg – 0.7 WordPress Meta Data & Taxonomies Filter (MDTF): by realmag777 – 2.2.4 – Not tested with the active version of WooCommerce WPSM Specification Fields: by Wpsoul – 1.4.5 Yoast SEO: by Team Yoast – 13.1 ### Settings ### API Enabled: ? Force SSL: – Currency: INR (?) Currency Position: left 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) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #4 - /shop/ Cart: #5 - /cart/ Checkout: #6 - /checkout/ My account: #7 - /my-account/ Terms and conditions: #10555 - /terms-and-conditions/ ### Theme ### Name: Rehub child theme - Revendor Version: 9.0 Author URL: https://wpsoul.com/ Child Theme: ? Parent Theme Name: Rehub theme Parent Theme Version: 9.9.2 Parent Theme Author URL: https://wpsoul.com/ WooCommerce Support: ? ### Templates ### Overrides: rehub-theme/woocommerce/archive-product.php rehub-theme/woocommerce/cart/cross-sells.php rehub-theme/woocommerce/content-product.php rehub-theme/woocommerce/content-product_cat.php rehub-theme/woocommerce/global/wrapper-end.php rehub-theme/woocommerce/global/wrapper-start.php rehub-theme/woocommerce/loop/add-to-cart.php rehub-theme/woocommerce/loop/loop-end.php rehub-theme/woocommerce/loop/loop-start.php rehub-theme/woocommerce/loop/rating.php rehub-theme/woocommerce/loop/sale-flash.php rehub-theme/woocommerce/product-searchform.php rehub-theme/woocommerce/single-product/add-to-cart/external.php rehub-theme/woocommerce/single-product/meta.php rehub-theme/woocommerce/single-product/product-image.php rehub-theme/woocommerce/single-product/product-thumbnails.php rehub-theme/woocommerce/single-product/sale-flash.php rehub-theme/woocommerce/single-product/share.php rehub-theme/woocommerce/single-product/tabs/additional-information.php rehub-theme/woocommerce/single-product/tabs/description.php rehub-theme/woocommerce/single-product-reviews.php rehub-theme/woocommerce/single-product.php ### Templates ### thumbnail: medium: medium_large: large: 1536x1536: 2048x2048: post-thumbnail: woocommerce_thumbnail: woocommerce_single: woocommerce_gallery_thumbnail: shop_catalog: shop_single: shop_thumbnail: ### Action Scheduler ### Complete: 17 Oldest: 2020-02-11 04:19:10 +0000 Newest: 2020-03-06 13:57:39 +0000 Pending: 0 Oldest: – Newest: – Canceled: 0 Oldest: – Newest: – In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
The issue : front end prices are not showing including tax. Sometimes showing double tax reduced.
I’ve already tried default twenty theme and all plugins disabled.
I always test in Private browser and reloads after closing for every test.
fyi database table : _woocommerce_tax_rate_location is always empty.I’ve referred to git: https://github.com/woocommerce/woocommerce/issues/25255 (i’ve similar settings but not using EU Vat . (I’ve tried every combination) Sometimes selecting shop base address for tax works in front end, but when customer enter his address in checkout tax won’t change at all.
Strange but Sometimes Tax value get double reduced. for Non Logged in customer. If manually entered address for checkout, then tax and totals shows right.(screenshots belwo)
eg: price entered at backend including tax price is 299 INR, Tax rate 18% set in variable product.
Shop displays : 253.39 (before tax) and other similar product 214.74. (double tax reduced)
At the backed price was entered 299.
I’m entering prices including tax.Tax structure (I’ve multiple tax rates based on product)
same state billing in India: CGST 9% + SGST 9% (had to show breakup) (total 18%)
billing to other state in India: IGST 18%Other countries 0% tax
Base country India, default currency INR 1.
Using WOOCS currency switcher (but disabling it also not helping) currency switching is working fine, but seems some conflict causing tax not displaying in front end.
I’ve tried disabling plugins, but no change.
Only when logged in user or in checkout page when address is entered, tax shows up correctly.
set Tax based on Customer Geolocate.
I’ve Cleared the transients in WooCommerce > Status > Tools but no change.
Caching enabledscreenshot: https://prnt.sc/rc1b4d (Logged in with location/address)
screenshot: https://prnt.sc/rc1cva (logged out no address setup)
https://prnt.sc/rcyo7chttps://customgiftings.com/shop/electronics/earphone/earphones-for-apple-iphone-ipad-with-mic/ (18%)
https://customgiftings.com/shop/mugs/white-mugs/cool-kids-drink-a-lot-of-milk-white-mug/ (12%)https://customgiftings.com/shop/fashion-lifestyle/apparels/fly-in-the-air-custom-printed-t-shirt/ (5%)
Tax structure (I’ve multiple tax rates based on product) (12%, 18%, 5% and so on)
based on product same state billing in India: CGST 9% + SGST 9% (had to show breakup) (total 18%)
billing to other state in India: IGST 18%
Shop base location: India Punjab (CGST + SGST applicable)
Other countries 0% taxSo when the location is known/ manually entered Tax works correct.
I wrote here after many days of research and testing but no success.
Looking forward for solution.
The page I need help with: [log in to see the link]
- The topic ‘price including Tax display issue’ is closed to new replies.