Questions tagged [shipping-method]

This tag is used in e-commerce essentially. A "shipping method" define basic shipping behaviors and allow some specific settings related to naming, conditional rates (pricing), and other additional settings.

Shipping Methods are used in e-commerce.

A "shipping method" has a basic specific shipping behavior and allow some specific settings related to naming, conditional rates and other additional settings.

Then each "shipping method" has specific shipping rules and shipping pricing defined for each Shipping Zone.

Additionally some Shipping methods handle Shipping classes that can be linked specifically to some products.

329 questions
0
votes
1 answer

Woocommerce disable the shipping option methods in checkout

On checkout page, I am trying to disable the shipping method option according to my area postcode. You can find image here . I am working on Wordpress and PHP as a backend. If the postcode doesnot match the area, the shipping method will be disable…
Mani
  • 43
  • 5
0
votes
1 answer

Default shipping country in Woocommerce Cart, not checkout

I have a WC shop that delivery to 2 countries in Europe. Issue I have is with unregistered users that don't have their data filled out yet. I have countries A and B. B is primary one, when user adds new item to cart he will see shipping for A, how…
Aljaz
  • 303
  • 4
  • 18
0
votes
1 answer

Woocommerce: Remove not selected shipping methods

Iam trying to set a shipping method based on product selection, I have achieve that but I want also to hide the other shipping methods so the user cannot see them and cannot select them. This is my code where the shipping method is selected…
netdev
  • 496
  • 1
  • 5
  • 22
0
votes
1 answer

Custom Woocommerce product weight calculation from dimensions only for specific shipping methods

I am trying to set up a dimensional weight counting method when the dimensional weight (width x height x length) of the product is greater than the weight (actual weight). I found Custom Woocommerce product weight calculation from dimensions answer…
s011420
  • 33
  • 3
0
votes
1 answer

Hide shipping address on WooCommerce orders based on specific shipping methods

I have two flat rates (flat rate:1 and flat rate:2) I would like to hide the "Shipping Address" in WooCommerce Thank you page when "Flat rate:2" shipping method is chosen. Trying to use something based on WooCommerce - Hide shipping address when…
Jeronimo
  • 13
  • 1
0
votes
1 answer

WooCommerce problems calculate_shipping is called 2 times

I am having a problem calculating delivery variants in WooCommerce. On the checkout page, I have a field in which the address is entered and using jQuery and a special api service, the city code is calculated. Next, a request is sent to my web…
shurupovk
  • 33
  • 5
0
votes
2 answers

Split cart in shipping packages for different shipping classes in WooCommerce

I face a problem in woocommerce shipping class. To explain it better I describe it with an example: Product A has Air Shipping class Product B has Road Shipping class product C has Possible shipping in road and air I use the following code to…
Sallar Rabiei
  • 630
  • 1
  • 12
  • 33
0
votes
1 answer

Change WooCommerce shipping method label only on checkout page

I am trying to change the label of a radio button only on the checkout page, not the cart page. The label is present on both pages. When i enter the below code it changes the label on checkout page but makes the cart page blank. add_filter(…
dancer
  • 91
  • 8
0
votes
1 answer

Woocommerce Stripe - hide shipping methods in google and apple pay

I need to hide in google pay and apple pay certain delivery methods in plugin (https://wordpress.org/plugins/woocommerce-gateway-stripe/) Can I do it with a filter or something? Some shipping methods i have can't use - they're unsupported with apple…
0
votes
1 answer

Add customer postcode to specific shipping method on WooCommerce checkout

I am currently using the following code in the functions.php file. add_action( 'woocommerce_after_shipping_rate', 'action_after_shipping_rate', 20, 2 ); function action_after_shipping_rate ( $method, $index ) { // Targeting checkout page only: …
heba
  • 11
  • 3
0
votes
2 answers

WooCommerce : Hide shipping calculator depending on selected shipping method

I'm trying to hide the shipping calculator on my cart page (using jQuery) depending on which shipping method is selected, first on page load, and then when a user selects another method or updates the cart, that would enable / disable new shipping…
0
votes
1 answer

Error 500 upon adding shipping_save_after observer on Magento 2

upon adding my observer, I got error 500 when I'm trying to complete shipping process. What I want to achieve is, I want to send a review request after the shipment is done.I've started using Magento for about a month ago, that's why I don't know if…
0
votes
1 answer

Prestashop shipping costs cleared after order confirmation

I'm on Prestashop 1.7.6. I made a simple test module for adding a custom carrier and manage it programmatically. Everything works well during checkout: I see new carrier with the correct cost, if I select it the total of cart is correct! (the…
girtri
  • 767
  • 3
  • 8
  • 16
0
votes
1 answer

Display notice on WooCommerce emails depending on chosen shipping option

I need to display a specific notice on the customer-processing-order.php email template in WooCommerce depending on the chosen shipping option. Is there a way to check the chosen shipping option in the e-mail template and return a note on the email…
0
votes
1 answer

Require minimum weight for delivery method in WooCommerce

In the Woocommerce store there are 3 shipping options free shipping flat rate pickup Inspired by Free shipping depending on weight and on minimal cart amount I would like to require a minimum total cart weight when choosing an shipping…