Issues with free shipping and coupons
-
We have a bit of a weird one.
We have free shipping for orders over the amount of R1200. The free shipping rule is set so it applies before any discount.
We have a coupon that gives people 10% off.
If the order is R1200 then free shipping is applied.
If we apply the 10% discount and the order sub total is between R1200 & +- R1217.00 then Woo adds the shipping fee back to the order.
If the order sub total is over +- R1217.50 then the free shipping is applied.
The free shipping should however be for all orders over R1200 even if the 10% discount is applied.
Seems like the calculations are not right.
We are running the most recent version of Woo.
I’ve done the usual troubleshooting turn off all plugins except Woo / activate Storefront theme.
- This topic was modified 2 years, 2 months ago by andrew.
The page I need help with: [log in to see the link]
-
Hello!
I’d need t ask for additional pieces of information for better understading. Can you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?
Can you provide screenshots of your coupon, and your coupon settings?
If the order is R1200 then free shipping is applied.
How are you adding the conditions related to free shipping? Can you please send screenshots as well?
For screenshots you may want to use https://snipboard.io – please follow the instructions on that page, then paste the URL in this thread.
Looking forward to hearing from you.
This is a staging server. I’ve deactivated most plugins, activated Storefront and created a new plugin with Smart Coupons deactivated just to rule out any 3rd party plugins.
Screenshots of coupon settings
https://snipboard.io/6lb1UI.jpg
https://snipboard.io/LMEC7z.jpg
https://snipboard.io/9yhA4P.jpgFor the coupon we have tried various different settings.
Screenshot of free shipping
https://snipboard.io/otvqEg.jpgFor shipping we’ve tried both “A minimum or amount OR a coupon” and “A minimum order amount”.
As mentioned the coupon activates correctly at R1200 but as soon as you add the coupon the shipping is added back specifically for the price ranges mentioned above.### WordPress Environment ### WordPress address (URL): https://umatiestg.wpengine.com Site address (URL): https://umatiestg.wpengine.com WC Version: 6.9.2 REST API Version: ? 6.9.2 WC Blocks Version: ? 8.3.2 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: ? ### Server Environment ### Server Info: Apache PHP Version: 8.0.22 PHP Post Max Size: 100 MB PHP Time Limit: 3600 PHP Max Input Vars: 10000 cURL Version: 7.74.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.39-42-log Max Upload Size: 50 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.9.2 WC Database Prefix: wp02_ Total Database Size: 746.11MB Database Data Size: 456.92MB Database Index Size: 289.19MB wp02_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp02_woocommerce_order_items: Data: 8.52MB + Index: 3.52MB + Engine InnoDB wp02_woocommerce_order_itemmeta: Data: 218.66MB + Index: 112.28MB + Engine InnoDB wp02_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp02_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_woocommerce_shipping_zone_locations: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp02_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_actionscheduler_actions: Data: 19.55MB + Index: 20.16MB + Engine InnoDB wp02_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_actionscheduler_logs: Data: 14.55MB + Index: 11.03MB + Engine InnoDB wp02_atum_export_templates: Data: 0.23MB + Index: 0.03MB + Engine InnoDB wp02_atum_inventory_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_atum_inventory_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_commentmeta: Data: 1.52MB + Index: 0.77MB + Engine InnoDB wp02_comments: Data: 15.55MB + Index: 10.09MB + Engine InnoDB wp02_facetwp_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_facetwp_index: Data: 0.08MB + Index: 0.08MB + Engine InnoDB wp02_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_litespeed_img_optm: Data: 1.52MB + Index: 0.28MB + Engine InnoDB wp02_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp02_mailchimp_carts: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp02_mailchimp_jobs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp02_options: Data: 2.52MB + Index: 0.16MB + Engine InnoDB wp02_pmxe_exports: Data: 0.41MB + Index: 0.00MB + Engine InnoDB wp02_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wp02_pmxe_posts: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp02_pmxe_templates: Data: 0.44MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_hash: Data: 0.52MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_images: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_imports: Data: 0.16MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_posts: Data: 0.33MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_postmeta: Data: 77.61MB + Index: 66.22MB + Engine InnoDB wp02_posts: Data: 4.52MB + Index: 3.67MB + Engine InnoDB wp02_redirection_404: Data: 0.22MB + Index: 0.08MB + Engine InnoDB wp02_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp02_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp02_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_termmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp02_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp02_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_usermeta: Data: 36.56MB + Index: 38.14MB + Engine InnoDB wp02_users: Data: 1.52MB + Index: 0.94MB + Engine InnoDB wp02_wcpdf_credit_note_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wcpdf_invoice_number: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wp02_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wcpdf_proforma_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp02_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp02_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wc_customer_lookup: Data: 0.47MB + Index: 0.41MB + Engine InnoDB wp02_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wc_order_coupon_lookup: Data: 0.30MB + Index: 0.45MB + Engine InnoDB wp02_wc_order_product_lookup: Data: 13.52MB + Index: 15.06MB + Engine InnoDB wp02_wc_order_stats: Data: 1.52MB + Index: 0.92MB + Engine InnoDB wp02_wc_order_tax_lookup: Data: 1.52MB + Index: 0.58MB + Engine InnoDB wp02_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp02_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp02_wfconfig: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp02_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wffilemods: Data: 7.52MB + Index: 0.00MB + Engine InnoDB wp02_wfhits: Data: 1.52MB + Index: 0.27MB + Engine InnoDB wp02_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp02_wfknownfilelist: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp02_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wflogins: Data: 0.48MB + Index: 0.16MB + Engine InnoDB wp02_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp02_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp02_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp02_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wfwafconfig: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp02_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.13MB + Engine InnoDB wp02_wpmailsmtp_debug_events: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp02_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wpo_wcpbn_batch_numbers: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp02_yoast_indexable: Data: 3.52MB + Index: 1.61MB + Engine InnoDB wp02_yoast_indexable_hierarchy: Data: 0.14MB + Index: 0.23MB + Engine InnoDB wp02_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ### Post Type Counts ### acf-field: 22 acf-field-group: 2 afreg_fields: 1 attachment: 730 b2bwhs_custom_field: 10 b2bwhs_custom_role: 2 b2bwhs_group: 9 b2bwhs_list: 119 b2bwhs_rule: 3 cs_footer: 1 cs_header: 1 cs_layout: 6 cs_template: 22 def_reg_fields: 10 mc4wp-form: 1 nav_menu_item: 40 ni-order-status: 1 page: 23 post: 18 product: 114 revision: 2 shop_coupon: 361 shop_order: 11301 shop_order_refund: 2 wp_global_styles: 1 wpsl_stores: 113 xcorderstatus: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (6) ### Advanced Custom Fields PRO: by Delicious Brains – 5.12.3 Safe SVG: by 10up – 2.0.3 Product Gallery Slider for WooCommerce - Twist: by Codeixer – 3.3 WooCommerce: by Automattic – 6.9.2 Wordfence Security: by Wordfence – 7.6.1 WP Mail SMTP: by WPForms – 3.5.2 ### Inactive Plugins (30) ### B2B & Wholesale Suite: by WebWizards – 1.4.0 Content Dock: by Themeco – 2.0.6 FacetWP: by FacetWP LLC – 4.0.9 FacetWP - Cache: by FacetWP LLC – 1.6.1 FacetWP - Flyout menu: by FacetWP LLC – 0.8.1 GTM4WP: by Thomas Geiger – 1.16.1 Login as User: by Web357 – 1.4.4 Mailchimp for WooCommerce: by Mailchimp – 2.7.5 MC4WP: Mailchimp for WordPress: by ibericode – 4.8.10 Redirection: by John Godley – 5.3.4 Snippet: by Themeco – 2.1.1 Temporary Login Without Password: by StoreApps – 1.7.6 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 2.22.21.25 WooCommerce Google Product Feed: by Ademti Software Ltd. – 10.7.5 WooCommerce PayFast Gateway: by WooCommerce – 1.4.25 WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 3.1.1 WooCommerce PDF Invoices & Packing Slips Premium Templates: by WP Overnight – 2.18.1 WooCommerce PDF Invoices & Packing Slips Professional: by WP Overnight – 2.12.1 WooCommerce Print Order List: by WP Overnight – 1.9.0 WooCommerce Product Batch Numbers: by WP Overnight – 1.5.0 WooCommerce Product Batch Numbers Export Add-on: by Alexandre Faustino – 1.0.0 WooCommerce Smart Coupons: by StoreApps – 6.1.1 WP All Export - ACF Export Add-On Pro: by Soflyy – 1.0.4 WP All Export - WooCommerce Export Add-On Pro: by Soflyy – 1.0.5 WP All Export Pro: by Soflyy – 1.8.0 WP Overnight Sidekick: by WP Overnight – 2.5.1 WP Store Locator: by Tijmen Smit – 2.2.235 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 Yoast SEO: by Team Yoast – 19.6.1 Zapper Payments for WooCommerce: by Zapper Development – 2.1.4 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: Memcached Redux ### Must Use Plugins (5) ### Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0 WP Engine Cache Plugin: by WP Engine – 1.0.10 WP Engine Seamless Login Plugin: by WP Engine – 1.6.0 WP Engine Security Auditor: by wpengine – 1.0.10 WP Engine System: by WP Engine – 5.0.1 ### Settings ### API Enabled: – Force SSL: – Currency: ZAR (R) 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: ? Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #13 - /shop/ Cart: #14 - /cart/ Checkout: #15 - /checkout/ My account: #16 - /my-account/ Terms and conditions: #142 - /terms-and-conditions/ ### Theme ### Name: Storefront Version: 4.1.3 Author URL: https://woocommerce.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: /nas/content/live/umatiestg/wp-content/plugins/twist/inc/public/templates/default.php ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ? Next scheduled: 2022-09-19 08:21:55 +02:00 Options: ? Notes: 96 Onboarding: completed ### Action Scheduler ### Canceled: 32 Oldest: 2022-08-19 13:12:04 +0000 Newest: 2022-09-15 18:01:06 +0000 Complete: 62,915 Oldest: 2022-08-22 03:19:17 +0000 Newest: 2022-09-19 06:38:27 +0000 Failed: 10 Oldest: 2022-06-14 12:51:10 +0000 Newest: 2022-06-14 12:51:10 +0000 Pending: 9 Oldest: 2022-09-19 09:49:05 +0000 Newest: 2022-09-19 12:28:42 +0000 ### Status report information ### Generated at: 2022-09-19 08:41:48 +02:00
Thanks for sharing the screenshots.
I replicated your exact settings on my test site but was not able to reproduce this issue on my end.
Here’s what’s happening on my cart: Free Shipping is still enabled even after the discount has been applied to my cart and the subtotal is $1080.
Image Link: https://snipboard.io/YrwHGB.jpg
Here’s a scenario when the cart total does not meet the required amount of $1200, Free
Shipping is not listed as one of the options, in my case, Flat Rate was used by default:Image Link: https://snipboard.io/LkjdJR.jpg
Based on the System Status Report, I can see that there are still active third-party plugins on your site. To rule out any conflict among these plugins, kindly deactivate all plugins except for WooCommerce and see it resolves the issue?
- This reply was modified 2 years, 2 months ago by xue28 (woo-hc).
In my original tests I have already turned off all plugins except Woo. Please see status report with them all turned off again. It doesn’t make a difference.
This is before we apply the coupon.
https://snipboard.io/4MCf3t.jpgThis is after we apply the coupon.
https://snipboard.io/UQa3WC.jpgPlease note there is also VAT (tax) of 15.0001%
### WordPress Environment ### WordPress address (URL): https://umatiestg.wpengine.com Site address (URL): https://umatiestg.wpengine.com WC Version: 6.9.2 REST API Version: ? 6.9.2 WC Blocks Version: ? 8.3.2 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: ? ### Server Environment ### Server Info: Apache PHP Version: 8.0.22 PHP Post Max Size: 100 MB PHP Time Limit: 3600 PHP Max Input Vars: 10000 cURL Version: 7.74.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.39-42-log Max Upload Size: 50 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.9.2 WC Database Prefix: wp02_ Total Database Size: 746.11MB Database Data Size: 456.92MB Database Index Size: 289.19MB wp02_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp02_woocommerce_order_items: Data: 8.52MB + Index: 3.52MB + Engine InnoDB wp02_woocommerce_order_itemmeta: Data: 218.66MB + Index: 112.28MB + Engine InnoDB wp02_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp02_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_woocommerce_shipping_zone_locations: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp02_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_actionscheduler_actions: Data: 19.55MB + Index: 20.16MB + Engine InnoDB wp02_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_actionscheduler_logs: Data: 14.55MB + Index: 11.03MB + Engine InnoDB wp02_atum_export_templates: Data: 0.23MB + Index: 0.03MB + Engine InnoDB wp02_atum_inventory_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_atum_inventory_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_commentmeta: Data: 1.52MB + Index: 0.77MB + Engine InnoDB wp02_comments: Data: 15.55MB + Index: 10.09MB + Engine InnoDB wp02_facetwp_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_facetwp_index: Data: 0.08MB + Index: 0.08MB + Engine InnoDB wp02_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_litespeed_img_optm: Data: 1.52MB + Index: 0.28MB + Engine InnoDB wp02_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp02_mailchimp_carts: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp02_mailchimp_jobs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp02_options: Data: 2.52MB + Index: 0.16MB + Engine InnoDB wp02_pmxe_exports: Data: 0.41MB + Index: 0.00MB + Engine InnoDB wp02_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wp02_pmxe_posts: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp02_pmxe_templates: Data: 0.44MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_hash: Data: 0.52MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_images: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_imports: Data: 0.16MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_posts: Data: 0.33MB + Index: 0.00MB + Engine InnoDB wp02_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_postmeta: Data: 77.61MB + Index: 66.22MB + Engine InnoDB wp02_posts: Data: 4.52MB + Index: 3.67MB + Engine InnoDB wp02_redirection_404: Data: 0.22MB + Index: 0.08MB + Engine InnoDB wp02_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp02_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp02_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_termmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp02_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp02_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_usermeta: Data: 36.56MB + Index: 38.14MB + Engine InnoDB wp02_users: Data: 1.52MB + Index: 0.94MB + Engine InnoDB wp02_wcpdf_credit_note_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wcpdf_invoice_number: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wp02_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wcpdf_proforma_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp02_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp02_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wc_customer_lookup: Data: 0.47MB + Index: 0.41MB + Engine InnoDB wp02_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wc_order_coupon_lookup: Data: 0.30MB + Index: 0.45MB + Engine InnoDB wp02_wc_order_product_lookup: Data: 13.52MB + Index: 15.06MB + Engine InnoDB wp02_wc_order_stats: Data: 1.52MB + Index: 0.92MB + Engine InnoDB wp02_wc_order_tax_lookup: Data: 1.52MB + Index: 0.58MB + Engine InnoDB wp02_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp02_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp02_wfconfig: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp02_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wffilemods: Data: 7.52MB + Index: 0.00MB + Engine InnoDB wp02_wfhits: Data: 1.52MB + Index: 0.27MB + Engine InnoDB wp02_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp02_wfknownfilelist: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp02_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wflogins: Data: 0.48MB + Index: 0.16MB + Engine InnoDB wp02_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp02_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp02_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp02_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wfwafconfig: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp02_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.13MB + Engine InnoDB wp02_wpmailsmtp_debug_events: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp02_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp02_wpo_wcpbn_batch_numbers: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp02_yoast_indexable: Data: 3.52MB + Index: 1.61MB + Engine InnoDB wp02_yoast_indexable_hierarchy: Data: 0.14MB + Index: 0.23MB + Engine InnoDB wp02_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp02_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp02_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ### Post Type Counts ### acf-field: 22 acf-field-group: 2 afreg_fields: 1 attachment: 730 b2bwhs_custom_field: 10 b2bwhs_custom_role: 2 b2bwhs_group: 9 b2bwhs_list: 119 b2bwhs_rule: 3 cs_footer: 1 cs_header: 1 cs_layout: 6 cs_template: 22 def_reg_fields: 10 mc4wp-form: 1 nav_menu_item: 40 ni-order-status: 1 page: 23 post: 18 product: 114 revision: 2 shop_coupon: 361 shop_order: 11301 shop_order_refund: 2 wp_global_styles: 1 wpsl_stores: 113 xcorderstatus: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (1) ### WooCommerce: by Automattic – 6.9.2 ### Inactive Plugins (35) ### Advanced Custom Fields PRO: by Delicious Brains – 5.12.3 B2B & Wholesale Suite: by WebWizards – 1.4.0 Content Dock: by Themeco – 2.0.6 FacetWP: by FacetWP LLC – 4.0.9 FacetWP - Cache: by FacetWP LLC – 1.6.1 FacetWP - Flyout menu: by FacetWP LLC – 0.8.1 GTM4WP: by Thomas Geiger – 1.16.1 Login as User: by Web357 – 1.4.4 Mailchimp for WooCommerce: by Mailchimp – 2.7.5 MC4WP: Mailchimp for WordPress: by ibericode – 4.8.10 Product Gallery Slider for WooCommerce - Twist: by Codeixer – 3.3 Redirection: by John Godley – 5.3.4 Safe SVG: by 10up – 2.0.3 Snippet: by Themeco – 2.1.1 Temporary Login Without Password: by StoreApps – 1.7.6 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 2.22.21.25 WooCommerce Google Product Feed: by Ademti Software Ltd. – 10.7.5 WooCommerce PayFast Gateway: by WooCommerce – 1.4.25 WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 3.1.1 WooCommerce PDF Invoices & Packing Slips Premium Templates: by WP Overnight – 2.18.1 WooCommerce PDF Invoices & Packing Slips Professional: by WP Overnight – 2.12.1 WooCommerce Print Order List: by WP Overnight – 1.9.0 WooCommerce Product Batch Numbers: by WP Overnight – 1.5.0 WooCommerce Product Batch Numbers Export Add-on: by Alexandre Faustino – 1.0.0 WooCommerce Smart Coupons: by StoreApps – 6.1.1 Wordfence Security: by Wordfence – 7.6.1 WP All Export - ACF Export Add-On Pro: by Soflyy – 1.0.4 WP All Export - WooCommerce Export Add-On Pro: by Soflyy – 1.0.5 WP All Export Pro: by Soflyy – 1.8.0 WP Mail SMTP: by WPForms – 3.5.2 WP Overnight Sidekick: by WP Overnight – 2.5.1 WP Store Locator: by Tijmen Smit – 2.2.235 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 Yoast SEO: by Team Yoast – 19.6.1 Zapper Payments for WooCommerce: by Zapper Development – 2.1.4 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: Memcached Redux ### Must Use Plugins (5) ### Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0 WP Engine Cache Plugin: by WP Engine – 1.0.10 WP Engine Seamless Login Plugin: by WP Engine – 1.6.0 WP Engine Security Auditor: by wpengine – 1.0.10 WP Engine System: by WP Engine – 5.0.1 ### Settings ### API Enabled: – Force SSL: – Currency: ZAR (R) 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: ? Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #13 - /shop/ Cart: #14 - /cart/ Checkout: #15 - /checkout/ My account: #16 - /my-account/ Terms and conditions: #142 - /terms-and-conditions/ ### Theme ### Name: Storefront Version: 4.1.3 Author URL: https://woocommerce.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ? Next scheduled: 2022-09-20 08:21:55 +02:00 Options: ? Notes: 96 Onboarding: completed ### Action Scheduler ### Canceled: 31 Oldest: 2022-08-21 12:15:11 +0000 Newest: 2022-09-15 18:01:06 +0000 Complete: 62,682 Oldest: 2022-08-22 03:19:17 +0000 Newest: 2022-09-20 05:28:54 +0000 Failed: 10 Oldest: 2022-06-14 12:51:10 +0000 Newest: 2022-06-14 12:51:10 +0000 Pending: 9 Oldest: 2022-09-20 10:10:00 +0000 Newest: 2022-09-26 12:41:20 +0000 ### Status report information ### Generated at: 2022-09-20 07:32:58 +02:00
And here is one more of the cart itself.
Thanks for sharing the screenshots.
I can see that the prices on your products are VAT-inclusive. For my first example, this was configured with taxes disabled on my site.
I replicated this again on my test site and verified that when the total cart price reached $1200, then I added the coupon for a 10% discount, the Free Shipping option disappears.
Image Link: https://snipboard.io/NEX4AD.jpg
This is because coupons are applied to the product price before tax is calculated.
You can find more information here: https://woocommerce.com/document/coupon-management/?quid=18b7be84fb17fbe73ede78ae281b0638#how-do-coupons-impact-tax-calculations
What worked for me is changing the Free Shipping requires condition to A minimum order amount instead.
Image Link: https://snipboard.io/HywCpn.jpg
Please note that I enabled a 10% VAT on my products.
Image Link: https://snipboard.io/byzah4.jpg
- This reply was modified 2 years, 2 months ago by xue28 (woo-hc).
- This reply was modified 2 years, 2 months ago by xue28 (woo-hc).
- This reply was modified 2 years, 2 months ago by xue28 (woo-hc).
- This reply was modified 2 years, 2 months ago by xue28 (woo-hc).
Thanks for the explanation although it still doesn’t make 100% sense to me.
If my minimum amount for free shipping is R1200 and the customer spends R1200 and then applies a coupon then there should still be free shipping if I have checked the box “Apply minimum order rule before coupon is applied”.
The way the coupon is applied may impact taxes in a certain way but it really shouldn’t affect the free shipping given the rule should be applied before we add the coupon.
Hi @urchindesign,
I understand your point. Can you check if the solution shared on this thread by another WooCommerce user works for you?
https://www.ads-software.com/support/topic/apply-coupon-after-taxes/#post-14941531
Please make a full backup before applying custom code to your site. As a side note, I would recommend using a plugin like Code Snippets to add custom PHP code into your site without directly accessing the functions.php file. Here is a link on how to use the Code Snippets plugin:
Hope this helps.
- The topic ‘Issues with free shipping and coupons’ is closed to new replies.