Different Shipping Prices Depending on State

  • Posts: 441
  • Thank you received: 24
11 years 5 months ago #79414

i want the program to calcule the shipping prices depending on state choosed.
if you send to 1 of them is one price
all the others another price
i tried creating to manual shipping methods
one just the state i want to send
and in the other all the states selected but the one i created first but it just select the first one of the list
the other option i tried was selecting all the country but in shipping method both options are displayed and i dont want this

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #79432

Hi,

I think that the easiest way is to edit the view "checkout / shipping" and add a foreach before the current foreach to check if the shipping method for the state is present.
If it's present, unset the other shipping method, else do nothing.

Please Log in or Create an account to join the conversation.

  • Posts: 441
  • Thank you received: 24
11 years 5 months ago #79435

I Think is a great idea and even as i think i understood you my problem is that i don´t know anything about php so if you could be so kind as to paste the code i´ll be very pleased, thank you

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #79471

What you can do is create a new zone, with all the states but the one present in the shipping method.
Then apply the global shipping method on this zone.

I will be easier. :)

The following user(s) said Thank You: condorazul

Please Log in or Create an account to join the conversation.

  • Posts: 441
  • Thank you received: 24
11 years 5 months ago #79478

great that is a good solution

Please Log in or Create an account to join the conversation.

Time to create page: 0.048 seconds
Powered by Kunena Forum