Skip to main content

All Questions

Tagged with
1 vote
0 answers
53 views

Shipping cost based on shipping zone and on items quantity steps in WooCommerce

i have a PHP code that counts shipping cost in woocommerce based on quantity steps in addition to another cost based on shipping zone, the sum of two costs give the total shipping cost. what i need ...
Shehab Zahran's user avatar
0 votes
1 answer
72 views

Hiding shipping method from Woocommerce cart page ISSUE

I tried to use different codes to hide shipping method from Woocommerce cart page. The codes work until I delete a product from the cart. Once I delete a product the shipping section returns. After I ...
sheepcloud's user avatar
2 votes
1 answer
48 views

Increase shipping cost by items quantity on WooCommerce split shipping packages

I use the following code to split items into separate WooCommerce shipping packages: add_filter( 'woocommerce_cart_shipping_packages', 'split_shipping_packages_by_shipping_class' ); function ...
user24331075's user avatar
1 vote
1 answer
60 views

Add the delivery time to WooCommerce displayed shipping methods based on cart items stock status

We have an online store and I would like to modify the label below the shipping method (hook: woocommerce_cart_shipping_method_full_label) based on the stock status of the products in the cart. ...
Telma Alves's user avatar
0 votes
0 answers
29 views

Set Free Shipping as Default and Cart Total Should Not Include The Shipping Fee in WooCommerce [duplicate]

I followed this answer and it worked: Set Free Shipping as Default in WooCommerce However, the total amount in the cart still displays the value that includes the flat rate fee. How do you modify it ...
maeci's user avatar
  • 1
1 vote
0 answers
86 views

Disable default shipping option on cart refresh Woocommerce

We are using the following snippet to disable the default shipping method/option on the cart and checkout in Woocommerce: add_filter( 'woocommerce_shipping_chosen_method', '__return_false', 99); This ...
PAW's user avatar
  • 11
0 votes
1 answer
112 views

Set Local pick up cost to zero when Free shipping is available in WooCommerce

I offer free shipping for €45. I have hidden the other shipping methods, except local pick-up, when free is available using the code below. add_filter( 'woocommerce_package_rates', '...
user23311381's user avatar
1 vote
1 answer
85 views

How to make Local Pickup method be chosen based on cart total in Woocommerce?

I want to make local pickup shipping method be chosen with radio input based on the cart total. I used this code add_filter('woocommerce_package_rates', 'custom_modify_shipping_methods', 10, 2); ...
Robert Zalinyan's user avatar
1 vote
1 answer
164 views

Charge only the highest shipping class cost in WooCommerce

I am trying to get the shipping class associated with each line item for both simple and variable products, then find out which one has the highest cost and charge that only removing the rest of the ...
RP McMurphy's user avatar
0 votes
1 answer
121 views

Hide WooCommerce Displayed Shipping Cost When Local Pickup is Selected

If i select Local Pickup in the woocommerce cart page the shipping costs on the right sides are confusing my customers. Any idea how to hide ONLY the amount if Local Pickup is checked? Here the ...
eva last's user avatar
1 vote
1 answer
257 views

Hide specific shipping methods based on cart subtotal in WooCommerce

I am trying to only show 1 shipping method when the cart subtotal is more than £50. The website already has a lot of plugins, so I don't want to add anymore. Any help is greatly welcomed. Sophie First ...
Sophie Nicole Casey's user avatar
2 votes
1 answer
155 views

Different Minimum order quantity based on shipping zones in WooCommerce

I tried to set a minimum order quantity for the different shipping zones in WooCommerce, but it doesn't work and I can't figure out where I'm wrong. Here is my code: function check_min_order_amount( $...
Miner's user avatar
  • 51
1 vote
0 answers
330 views

Change the displayed shipping method title in WooCommerce checkout based on product shipping class

I am trying to figure out how to change the shipping method title displayed in WooCommerce checkout of my store based on the shipping class the product has. I have multiple shipping classes for ...
xrm44's user avatar
  • 11
0 votes
1 answer
187 views

Code broken after PHP update - Modify "Proceed to checkout" button without shipping method in WooCommerce

i'm have been used this code below (from Modify "Proceed to checkout" button without shipping method in WooCommerce), and worked fine for 3 months with Code Snippets Plugin. But after ...
Agência Fiber's user avatar
1 vote
1 answer
549 views

Add message below shipping methods based on taxonomy terms in WooCommerce

I'd like to add a custom message below the available shipping methods in the cart, but only if ALL products in the cart have a tag named 'express'. Therefore I use this snippet: add_action( '...
Sabrina's user avatar
  • 11

15 30 50 per page
1
2 3 4 5