I’m struggling with changing the shipping option selected default. The ‘Free shipping’ shipping option only shows up if the customer has the amount over $70 + in the cart. If the amount on the cart is less than $70 the shipping option will not show up on the shipping options. If the customer has over $70 or more, the “Free
Tag: shipping-method
Hide shipping address in WooCommerce new order email notification depending on shipping method id
I want to hide the shipping address if the shipping label is called “Pick up at Rockefeller Store” (but to show for other pickup methods). There are too many ids such as “local_pickup:3” for me to filter through. I enabled the shipping address to be shown in emails/email-addresses.php despite it being a local pickup method. My code attempt: I need
Shipping rates based on service custom delivery type and items total in Woocommerce
I just require a small help on displaying the correct shipping fees in my WordPress and woocommerce site. I have set my shipping fees as the following: Flat rate (Delivery): $10 Free Shipping (Free Delivery) Local Pickup (Pickup): $0 When I make an order and go onto the checkout page, it gives me the options to select from for shipping
Woocommerce Shipping method based on user role
I want to enable or disable Shipping Methods, according to user role. I have tested various different codes and approaches, none of which have worked so far. The current code: (source: stacklink ) (Have tested the original snippet as well, without changes, accept for the user role ) Does not work for me. I tested it with ‘local_pickup’ as well,
WooCommerce custom shipping costs for min required subtotal with tax calculations
I have set some Shipping methods with taxable option enabled in WooCommerce. I use this code to set up different shipping cost if spend over X amount: But the problem is the tax calculations. My code doesn’t handle taxes. How can I adjust taxes from custom shipping cost? How to enable taxes in cost calculations? Any advice is appreciated. Answer
How to get Shipping Methods custom additional data in Woocommerce?
From this comment I’ve created custom field “Shipping Method Description” inside shipping methods: But I can’t understand how to get this data in front-end inside my custom shipping template(/cart/cart-shipping.php) like: This comment isn’t clear for me how to get this instance settings. Can anyone suggest a solution? Answer WooCommerce shipping method settings are stored in wp_options table on option_name column
Disable only specific flat rate shipping method when free shipping is available in WooCommerce
I have two flat rates on my WooCommerce site and I want to disable one of them, when free shipping is enabled. I have a function which is working for all flat rates only. How do I check for an instance id on a shipping rate? Can anyone help me understand how to check for the instance id? I Was
WooCommerce: Hide other shipping methods except local pickup when free shipping is available
I do not want to hide Local Pickup when free shipping is available. Removing local pickup makes no sense, but I cannot figure out how to not remove it using the official code. This is my attempt in removing flat_rate1 since that is, for me, the paid option. Again, I want to keep FREE shipping and LOCAL pickup. Answer To
Add text after shipping method label in woocommerce_package_rates hook
I have multiple shipping options on my page and wanted to put the label “free” next to them when the customer buys goods for more then 2500 czech crowns. I’m using Set all shipping methods costs to zero based on cart items subtotal in WooCommerce answer code which makes the shipping methods free, but it doesn’t put the label next
Changing shipped via text in WooCommerce orders and emails for specific shipping method
I am trying to change the shipped via in emails and in order information. I have a custom radio button with customer fields that are filled out only on the checkout page. Currently WooCommerce takes the label of the radio button but not the fields. I would like to have the fields only in customer email and in the order