"applied coupons disable free shipping conditionally in woocommerce" Code Answer
Answers related to “applied coupons disable free shipping conditionally in woocommerce”
- Change product prices via a hook in WooCommerce 3+
- Get in WooCommerce cart the product ID of a cart item
- How to debug in WooCommerce 3
- Create new product attribute programmatically in Woocommerce
- Reordering checkout fields in WooCommerce 3
- Add columns to admin orders list in WooCommerce
- Hide variation info from cart item title in WooCommerce 3+
- How to add custom stock status to products in WooCommerce 4+
- Get all Orders IDs from a product ID in Woocommerce
- Programmatically creating new order in Woocommerce
- Get orders total purchases amount for the day in Woocommerce
- Multi checkbox fields in Woocommerce backend
- Set product sale price programmatically in WooCommerce 3
- Refresh / update minicart with AJAX in Woocommerce
- Additional button in Woocommerce shop page and archives
- Get user geolocated country name in Woocommerce 3
- Add a custom stock status in WooCommerce
- Add a fee to an order programmatically in Woocommerce 3
- Progressive discount based on cart total in WooCommerce
- Add a checkbox on single product pages that adds an additional cost in Woocommerce
- Display deepest child category for current product in woocommerce
- Adding an additional custom field in Woocommerce Edit Account page
- Set quantity minimum, maximum and step at product level in Woocommerce
- Hide out of stock products only on shop archive pages in Woocommerce
- Display total customers reviews and ratings average in WooCommerce
- Relabel “add to cart” button after add to cart in WooCommerce
- Customize the text “Total” in WooCommerce checkout page
- Add a fee based on shipping method and payment method in Woocommerce
- Dynamic cart item pricing not working on orders in WooCommerce 3.0+
- Show hide payment methods based on selected shipping method in Woocommerce
- Sorting order items by SKU in Woocommerce
- Add a custom field value below product title in WooCommerce archives pages
- Add “View Product” button below add to cart button in WooCommerce archives pages
- Change the cart item quantity for specific products in woocommerce
- Add a checkbox below a specific shipping method in WooCommerce 3
- Apply a discount on the cart content total excluding taxes in WooCommerce
- Apply automatically a coupon based on specific cart items count in Woocommerce
- Add Attributes to Short Description in WooCommerce 3.0+
- Add a custom fee for a specific payment gateway in Woocommerce
- Add a button on top of admin orders list in woocommerce
- Replace product zero displayed price with a custom text in Woocommerce 3
- Create a new shipping method in woocommerce 3
- Conditionally alter specific product price in Woocommerce
- Hide specific shipping method for specific products in Woocommerce
- Move additional information from product tab under add to cart button in WooCommerce
- How to add custom shipping charge in woocommerce?
- Auto completed status for all existing processing orders in WooCommerce
- Change postcode shipping field to a dropdown in Woocommerce
- Disable or make read only the fields from edit account pages in Woocommerce
- How to retrieve Shipping Method of an Order in WooCommerce?
- Duplicated pic in thumbnail gallery in Woocommerce
- Display a product custom field only in WooCommerce Admin single orders
- How to show a product custom field (custom SKU) in WooCommerce orders
- Enable free shipping for two or more cart items in Woocommerce
- Limit to one applied coupon, removing other previous applied coupons in Woocommerce
- Get the count of all “In stock” products in WooCommerce
- add a custom checkout billing field under the last name in WooCommerce
- Add a product subtitle in Woocommerce archives pages
- Show products from above 99$ price in Woocommerce using shortcode or php code
- How to enable price and inventory for custom product type in WooCommerce
- Adding Extra Add to cart button below product summary in Woocommerce
- Add an additional cost to flat rate shipping each 3 items in Woocommerce
- Conditionally Hide WooCommerce Shipping methods based on shipping class
- Save and display product custom data in emails & orders pages in WooCommerce
- Change “Shipping” label in Woocommerce email table totals?
- Dynamic checkout custom fields per persons and items in Woocommerce bookings
- Exclude product from all coupons in WooCommerce
- How to disable globally backorders in WooCommerce
- Accessing shipping cost in Magento's cart and/or checkout
- Display Custom Total Saving in generated invoice in WooCommerce 3
- Set bookable product base cost programatically in Woocommerce Bookings
- Move coupon field after checkout payment in Woocommerce?
- Select BACS account to show in thankyou page in WooCommerce
- Display order total with and without VAT in Woocommerce's order email notification
- Increase Shipping cost per categories count found in WooCommerce cart
- Hide shipping methods for specific shipping classes in WooCommerce
- Remove a dropdown select field filter in Woocommerce admin orders list
- Display product optional cost in Woocommerce in order details
- Cart bulk quantity discount for specific products in Woocommerce
- Minimum cart amount except for specific products in WooCommerce
- Move product meta to the description tab in WooCommerce
- Conditionally unset checkout field in woocommerce
- Hide COD payment method based on shipping class in WooCommerce cart
- Shipping costs and restrictions based on location and product category in WooCommerce
- Force free shipping method for custom cart item data value in Woocommerce
- Display tax amount based on specific tax class in WooCommerce variations
- Display specific custom product attributes on single product pages in Woocommerce
- Display cart item count in Woocommerce cart widget
- Conditionally change products tax class via hooks in WooCommerce
- Hide specific shipping methods for a specific user roles in Woocommerce
- Getting the value of the product's id value (_product_id) after the payment in WooCommerce
- Check for multiple product ID's in cart in WooCommerce
- Reset previous chosen shipping method in Woocommerce checkout page
- Display different custom fields for different categories in WooCommerce
- Disable shipping checkout fields for downloadable products in WooCommerce
- Hide Flat Rate shipping exclusively for a product category in Woocommerce
- Add a custom checkout field based on cart items quantity in Woocommerce
- Clear only some checkout fields values in Woocommerce
- Conditionally hide Woocommerce checkout custom field based on free shipping
- Add states for shipping zones instead of postcodes in Woocommerce
- Percentage discount based on user role and payment method in Woocommerce
- Custom checkout field and shipping methods ajax interaction in Woocommerce 3
- Store custom data using WC_Cart add_to_cart() method in Woocommerce 3
- Hide payment methods based on selected shipping method in WooCommerce
- How to programmatically schedule sale dates in Woocommerce
- Local pickup shipping option custom percentage discount in Woocommerce
- Get order subtotal value in WooCommerce
- Change order status for virtual, downloadable, free or backorder products in WooCommerce
- Shipping cost discount based on a shipping classes in Woocommerce
- Conditionally customizing WooCommerce checkout fields
- Saving the value of a custom field phone number in WooCommerce My account > Account details
- Add a new custom checkout field before billing details in Woocommerce?
- Override all shipping costs for a specific shipping class in Woocommerce
- Add custom URL link to admin order list page in WooCommerce
- Disable item name link for specific product in Woocommerce cart checkout and orders
- Delete previous items from cart when user logs in again in WooCommerce
- Disable editing specific admin custom fields in Woocommerce
- Add or replace a variation fields into a WYSIWYG editor field in Woocommerce
- Allow only one product category in cart at once in Woocommerce
- Change cart totals title text on cart page in Woocommerce
- Set a percentage discount to Local pickup shipping method in Woocommerce
- Get user meta data from woocommerce_created_customer hook in Woocommerce
- Display a custom notice before all default notices in Woocommerce checkout page
- Change checkout order review section in Woocommerce
- Display a delivery day range based on shipping country in Woocommerce
- Set all shipping methods cost to zero for a Free shipping coupon in Woocommerce
- Calculated distance shipping cart fee via Google API in WooCommerce
- Get all active users for a membership plan in WooCommerce
- Set a unique validation error notice in Woocommerce My Account Addresses and Account Details
- Show Shipping Method data on the Order edit pages in WooCommerce
- Customize Order received page based on shipping method in WooCommerce
- WooCommerce Free Shipping - Remove raw or change the text name on checkout and email
- Hide and unhide a specific shipping methods based on shipping class in WooCommerce
- Set a custom calculated item price in Woocommerce mini-cart / Cart
- Hide specific shipping method depending on day time in WooCommerce
- Charge a conditional Delivery fee in WooCommerce 3
- Disable shopping when an item from a specific product category is in cart in Woocommerce
- Show or hide html element on chosen shipping method change in Woocommerce
- Disable “Place order” button for specific shipping zone in WooCommerce
- Add the ean code (gtin) in the structured data of the product (Schema.org) in WooCommerce
- Avoid proceed-to-checkout-button text refreshing to default text in WooCommerce cart page
- Save and display order custom meta data in Woocommerce 3+
- Extra carrier field for shipping methods in WooCommerce cart and checkout
- Adding a hidden checkout field in WooCommerce?
- Get top level parent product category as body class in WooCommerce
- Remove some hooked functions based on virtual products in WooCommerce Checkout
- Add some user user meta data as order meta data in WooCommerce
- How to conditionally change WooCommerce billing address title if no separate shipping address is entered
- How do I find the shipping class id in WooCommerce?
- Auto process paid orders instead of auto complete in WooCommerce
- Combine discounted shipping cost with discounted cart items prices in WooCommerce
- Replace star ratings in Woocommerce using hooks
- Disable some product categories from Woocommerce category dropdown widget
- Enable only free shipping method for a specific custom field value in Woocommerce
- Changing shipping method label names in Woocommerce 3
- Hide “free trial” text from Woocommerce Subscriptions price but keep the Sign-Up Fee
- Change add to cart button style when product is in cart in Woocommerce
- Prevent access to checkout without shipping method in WooCommerce
- Select Woocommerce payment method conditionally in PHP
- Disable some states if specific products are in cart in Woocommerce
- Set back date paid on paid order statuses change in WooCommerce
- Display bookings date time in Woocommerce admin order list
- Disable “Place order” button for specific shipping method in WooCommerce
- Adding newly added fields in billing address and shipping address in order emails woocommerce
- Limit guest users to buy a particular product multiple times in the same week based on previous orders in WooCommerce
- Append text to product title on multiple pages in WooCommerce
- Display ALL available shipping methods for each specific order on admin edit order pages in Woocommerce
- Eliminate Hide or Remove “Services” and “Clear” from the Variation Drop Down in WooCommerce
- Hide “free” orders in WooCommerce orders section from admin panel
- WooCommerce rename “Free Shipping” field on checkout
- Hide shipping methods for specific shipping class in WooCommerce
- Allow re-sending New Order Notification in WooCommerce 5+
- Unable to free const pointers in C
- Get orders shipping items details in WooCommerce 3
- Dynamic shipping fee based on custom radio buttons in Woocommerce
- Replace woocommerce_add_order_item_meta hook in Woocommerce 3.4
- Add a shipping to an order programmatically in Woocommerce 3
- Change Cart total price in WooCommerce
- Conditionally hide a Checkout field in WooCommerce based on chosen shipping
- Disable add to cart button for an array of products IDs in WooCommerce
- Remove “(optional)” text from checkout fields in Woocommerce 3.4+
- Add a custom checkbox in WooCommerce checkout which value shows in admin edit order
- Customizing my-account addresses fields in Woocommerce 3
- Remove shipping cost if custom checkbox is checked in WooCommerce Checkout
- Add Text under Single Product Short Description in Woocommerce
- Set custom shipping rates programmatically in Woocommerce 3
- Set different Tax rates conditionally based on cart item prices in Woocommerce
- Change wc_cart_totals_shipping_method_label function in Woocommerce
- Add content in between product rows in WooCommerce archives
- Remove shipping Flat Rate method for particular Category in WooCommerce 2.6 and 3+
- Hide specifics Flat Rates when Free Shipping is available in WooCommerce 3
- Shipping carrier custom fields validation in Woocommerce checkout page
- Is it legal to use the well-known free memory code in ipad/iphone app?
- How to create multiple simple-products with same SKU in WooCommerce?
- Rename multiple order statuses in Woocommerce
- Add shortened description under the product title in WooCommerce archive pages
- Stop specific customer email notification based on payment methods in Woocommerce
- Hide shipping address on local pickup in WooCommerce email notifications
- Display custom stock message if “Manage Stock” is not enabled in WooCommerce
- Filter Shipping method based on shipping class in Woocommerce 3
- Disable all payment methods based on user country geo-ip in WooCommerce
- Order items in a JS tracking code on Order received page in Woocommerce
- Free shipping depending on weight and on minimal cart amount
- Display a product custom field only in WooCommerce Admin single orders for Manual Orders
- Assign custom field price as product price to specific user role in WooCommerce
- Add radio buttons to specific shipping method on WooCommerce checkout
- Any single-consumer single-producer lock free queue implementation in C?
- Apply coupon discount via GET method in URL even if cart is empty in WooCommerce
- Set a specific product price conditionally on Woocommerce single product page & cart
- Getting minimum order amount for 'Free Shipping' method in checkout page
- Adding custom icons to the shipping options in Woocommerce Cart and Checkout
- Hide shipping methods based on products categories in Woocommerce
- Add custom order status to filter menu in WooCommerce Admin Orders list
- Add a profile picture (file upload) on My account > edit account in WooCommerce
- Custom checkout field enable or disable payment methods in Woocommerce 3
- Add the product name to the email subject in WooCommerce
- Additional action buttons to admin order list on Preview Lightbox in Woocommerce 3.3+
- Set shipping postcode early before add to cart in WooCommerce
- Add an attachment to admin email-notification once order is placed in Woocommerce
- Change shipping class based on cart items shipping class count in Woocommerce
- Remove phone from billing/shipping fields everywhere in Woocommerce?
- How to hide free shipping when there is shipping costs in WooCommerce
- Cart Message for a Specific Shipping Class in WooCommerce
- Rename Add to Cart buttons for Out Of Stock Products in WooCommerce 3
- Remove particular variation from dropdown in WooCommerce frontend
- How do I display a “category products drop down in a wordpress page” in Woocommerce 2.5.2
- Rest API to store products in cart based on the user id in woocommerce
- Set “flat rate” shipping method as default in woocommerce
- Disable original image crop in WooCommerce
- How to get Pay Now URL with custom order status in WooCommerce?
- Add the product ID after the cart item name in Woocommerce cart page
- Disable Place Order button conditionally in Woocommerce
- Show product star ratings and count below the price in Woocommerce archive pages
- How to add Variations tab in custom product type in Woocommerce?
- Restrict user role to change only some order statuses in Woocommerce
- Hide quantity fields in cart for specific products in Woocommerce 3
- Add Custom Product Field in WooCommerce 'Order Completed' Emails
- Make free shipping available on specific days of the week in WooCommerce
- Disable (remove) the marketing menu option in WooCommerce 4.3.x
- Email notification to a particular address if a specific product is purchased in Woocommerce
- Custom Flat Rate Description Text in Woocommerce checkout page
- Remove some payment gateways if any coupon code is applied in Woocommerce
- Display order customer note in Woocommerce email notifications
- Get data from apply_filters('prefix_xml_feeds_productname_variant') function in WooCommerce
- Set Minimum item cost in Woocommerce Shipping method rates
- Show Order Notes with author and date in Woocommerce Admin Order List
- How to free a control in its own event?
- Display coupon usage count and limit in WooCommerce thank you page
- Enable free shipping for products on sale in WooCommerce
- The final cost is not calculated when choosing the weight of the product if the packaging is automatically added in...
Only authorized users can answer the search term. Please sign in first, or register a free account.
The below code will enable "Free shipping" for applied coupons only if cart subtotal reaches a minimal amount (discounted including taxes):
Code goes in function.php file of your active child theme (or active theme). Tested and work.
Original answer:
The below code will remove "Free shipping" shipping methods when any coupon is applied without any settings need. There is some mistakes in your actual code. Try the following:
Code goes in function.php file of your active child theme (or active theme). Tested and works.