[Skip to main content](#vessel-content)

#   Different Shipping Prices Depending on State

##

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

13 years 11 months ago [\#79414](#79414) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  *[Different Shipping Prices Depending on State](/forum/2-general-talk-about-hikashop/76272-different-shipping-prices-depending-on-state#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")* was created by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2MjcyLWRpZmZlcmVudC1zaGlwcGluZy1wcmljZXMtZGVwZW5kaW5nLW9uLXN0YXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#79432](#79432) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Different Shipping Prices Depending on State](/forum/2-general-talk-about-hikashop/76272-different-shipping-prices-depending-on-state#79432 "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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2MjcyLWRpZmZlcmVudC1zaGlwcGluZy1wcmljZXMtZGVwZW5kaW5nLW9uLXN0YXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

13 years 11 months ago [\#79435](#79435) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  Replied by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")* on topic *[Different Shipping Prices Depending on State](/forum/2-general-talk-about-hikashop/76272-different-shipping-prices-depending-on-state#79435 "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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2MjcyLWRpZmZlcmVudC1zaGlwcGluZy1wcmljZXMtZGVwZW5kaW5nLW9uLXN0YXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#79471](#79471) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Different Shipping Prices Depending on State](/forum/2-general-talk-about-hikashop/76272-different-shipping-prices-depending-on-state#79471 "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")*

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. ![:)](/media/kunena/emoticons/3.png ":)")

The following user(s) said Thank You: [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2MjcyLWRpZmZlcmVudC1zaGlwcGluZy1wcmljZXMtZGVwZW5kaW5nLW9uLXN0YXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

13 years 11 months ago [\#79478](#79478) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  Replied by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")* on topic *[Different Shipping Prices Depending on State](/forum/2-general-talk-about-hikashop/76272-different-shipping-prices-depending-on-state#79478 "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")*

great that is a good solution

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2MjcyLWRpZmZlcmVudC1zaGlwcGluZy1wcmljZXMtZGVwZW5kaW5nLW9uLXN0YXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.062 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
