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

#   Shipping Methods Shown at Checkout Options

##

- **[mmijat](/forum/user/6617-mmijat "View mmijat's Profile")**
- [![mmijat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6617-mmijat "View mmijat's Profile") Topic Author
- [ Offline](/forum/user/6617-mmijat)

Less More

- Posts: 37
- Thank you received: 0
-
-

13 years 5 months ago [\#106558](#106558) by [mmijat](/forum/user/6617-mmijat "View mmijat's Profile")  *[Shipping Methods Shown at Checkout Options](/forum/2-general-talk-about-hikashop/83005-shipping-methods-shown-at-checkout-options#106558 "Hi  Is it possible to have no shipping methods options show in checkout until the address is entered? Some customers are not realising they have to press the ADD button in order to view all the shipping options for their respective shipping address. :huh:  (We currently have no registration required, just guest checkout and all options on the one page)  Thanks  Marisa")* was created by *[mmijat](/forum/user/6617-mmijat "View mmijat's Profile")*

Hi

Is it possible to have no shipping methods options show in checkout until the address is entered?
Some customers are not realising they have to press the ADD button in order to view all the shipping options for their respective shipping address. :huh:

(We currently have no registration required, just guest checkout and all options on the one page)

Thanks

Marisa

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgzMDA1LXNoaXBwaW5nLW1ldGhvZHMtc2hvd24tYXQtY2hlY2tvdXQtb3B0aW9ucz90bXBsPW1hcmtkb3du) 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 5 months ago [\#106576](#106576) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Shipping Methods Shown at Checkout Options](/forum/2-general-talk-about-hikashop/83005-shipping-methods-shown-at-checkout-options#106576 "Hi  Is it possible to have no shipping methods options show in checkout until the address is entered? Some customers are not realising they have to press the ADD button in order to view all the shipping options for their respective shipping address. :huh:  (We currently have no registration required, just guest checkout and all options on the one page)  Thanks  Marisa")*

Hi,

You can probably edit the view "checkout / shipping" and use a session var, get the session var value, if empty, hide the shipping method, then set a value for this session var, if the session var is set display the shipping method.
When submitting the address form, the page is loaded again, that's why you can probably use a session var.
Code:

$app = JFactory::getApplication(); $first = $app-&gt;getUserState('address_set',false); $app-&gt;setUserState('address_set',true); if($first == false){ // hide the shipping }else{ // display the shipping }

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

- **[mmijat](/forum/user/6617-mmijat "View mmijat's Profile")**
- [![mmijat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6617-mmijat "View mmijat's Profile") Topic Author
- [ Offline](/forum/user/6617-mmijat)

Less More

- Posts: 37
- Thank you received: 0
-
-

13 years 5 months ago [\#108267](#108267) by [mmijat](/forum/user/6617-mmijat "View mmijat's Profile")  Replied by *[mmijat](/forum/user/6617-mmijat "View mmijat's Profile")* on topic *[Shipping Methods Shown at Checkout Options](/forum/2-general-talk-about-hikashop/83005-shipping-methods-shown-at-checkout-options#108267 "Hi  Is it possible to have no shipping methods options show in checkout until the address is entered? Some customers are not realising they have to press the ADD button in order to view all the shipping options for their respective shipping address. :huh:  (We currently have no registration required, just guest checkout and all options on the one page)  Thanks  Marisa")*

Thanks, This worked.

The only hiccup is if someone goes to the cart and presses refresh BEFORE entering their address details, the shipping shows up again. This is not a big deal but any suggestions to fix this would be appreciated. (There's always 1 dummy custmoer who will do it and get confused!)

Thanks

Marisa

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

13 years 5 months ago [\#108379](#108379) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Shipping Methods Shown at Checkout Options](/forum/2-general-talk-about-hikashop/83005-shipping-methods-shown-at-checkout-options#108379 "Hi  Is it possible to have no shipping methods options show in checkout until the address is entered? Some customers are not realising they have to press the ADD button in order to view all the shipping options for their respective shipping address. :huh:  (We currently have no registration required, just guest checkout and all options on the one page)  Thanks  Marisa")*

It's better to simply change the checkout workflow option of the configuration so that you have a first step for the login/registration/address and a second one with the rest.
That way you won't need to change any code.

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

- **[mmijat](/forum/user/6617-mmijat "View mmijat's Profile")**
- [![mmijat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6617-mmijat "View mmijat's Profile") Topic Author
- [ Offline](/forum/user/6617-mmijat)

Less More

- Posts: 37
- Thank you received: 0
-
-

13 years 5 months ago [\#108396](#108396) by [mmijat](/forum/user/6617-mmijat "View mmijat's Profile")  Replied by *[mmijat](/forum/user/6617-mmijat "View mmijat's Profile")* on topic *[Shipping Methods Shown at Checkout Options](/forum/2-general-talk-about-hikashop/83005-shipping-methods-shown-at-checkout-options#108396 "Hi  Is it possible to have no shipping methods options show in checkout until the address is entered? Some customers are not realising they have to press the ADD button in order to view all the shipping options for their respective shipping address. :huh:  (We currently have no registration required, just guest checkout and all options on the one page)  Thanks  Marisa")*

Yes, I figured that was the only other option. Thanks. I will try this for a while to keep it all on the same page and reassess later.

Cheers!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgzMDA1LXNoaXBwaW5nLW1ldGhvZHMtc2hvd24tYXQtY2hlY2tvdXQtb3B0aW9ucz90bXBsPW1hcmtkb3du) 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.050 seconds

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