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

#   Adding spinner to Address step

##

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

Less More

- Posts: 39
- Thank you received: 3
-
-

9 years 6 months ago -  9 years 6 months ago [\#268357](#268357) by [lmcbmai](/forum/user/49603-lmcbmai "View lmcbmai's Profile")  *[Adding spinner to Address step](/forum/27-checkout/890001-adding-spinner-to-address-step#268357 "-- HikaShop version -- : 3.0.1 Starter -- Joomla version -- : 3.7.0  Hi,  I have checkout workflow set as shown on the attached image. The 2nd step is Login/Address. As soon as user logs in, Login and Registration forms are erased and Billing and Shipping addresses are displayed instead (within the same step). There is certain period of inactivity between the moment login form disappears and the time when the addresses are presented (see 2nd image). As I discovered the delay is caused by the fact that at this exact moment Hikashop does API calls out through all enabled Shipping plugins to obtain available shipping methods and rates. This can take up to 10-15 seconds and user may not realize that he just needs to wait. In relation to this I have 2 questions:  - Is it possible to postpone API calls and make them right before switching to Shipping Method step? - If not, could you suggest how to update checkout -&gt; show&#95;block&#95;address view to add spinning wheel for the period when login/registration forms are already erased, but customer's addresses have not been presented.  Thanks. Best regards, B.G.")* was created by *[lmcbmai](/forum/user/49603-lmcbmai "View lmcbmai's Profile")*

-- HikaShop version -- : 3.0.1 Starter
-- Joomla version -- : 3.7.0

Hi,

I have checkout workflow set as shown on the attached image. The 2nd step is Login/Address. As soon as user logs in, Login and Registration forms are erased and Billing and Shipping addresses are displayed instead (within the same step). There is certain period of inactivity between the moment login form disappears and the time when the addresses are presented (see 2nd image). As I discovered the delay is caused by the fact that at this exact moment Hikashop does API calls out through all enabled Shipping plugins to obtain available shipping methods and rates.
This can take up to 10-15 seconds and user may not realize that he just needs to wait. In relation to this I have 2 questions:

- Is it possible to postpone API calls and make them right before switching to Shipping Method step?
- If not, could you suggest how to update checkout -&gt; show_block_address view to add spinning wheel for the period when login/registration forms are already erased, but customer's addresses have not been presented.

Thanks.
Best regards,
B.G.

- [ ![checkout-workflow.png](/forum/attachment/37874) ](/forum/attachment/37874 "...t-workflow.png") [ ](/forum/attachment/37874?download=1 "...t-workflow.png")
- [ ![Checkout-step2.png](/forum/attachment/37875) ](/forum/attachment/37875 "...kout-step2.png") [ ](/forum/attachment/37875?download=1 "...kout-step2.png")

Last edit: 9 years 6 months ago by [lmcbmai](/forum/user/49603-lmcbmai "View lmcbmai's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#268370](#268370) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Adding spinner to Address step](/forum/27-checkout/890001-adding-spinner-to-address-step#268370 "-- HikaShop version -- : 3.0.1 Starter -- Joomla version -- : 3.7.0  Hi,  I have checkout workflow set as shown on the attached image. The 2nd step is Login/Address. As soon as user logs in, Login and Registration forms are erased and Billing and Shipping addresses are displayed instead (within the same step). There is certain period of inactivity between the moment login form disappears and the time when the addresses are presented (see 2nd image). As I discovered the delay is caused by the fact that at this exact moment Hikashop does API calls out through all enabled Shipping plugins to obtain available shipping methods and rates. This can take up to 10-15 seconds and user may not realize that he just needs to wait. In relation to this I have 2 questions:  - Is it possible to postpone API calls and make them right before switching to Shipping Method step? - If not, could you suggest how to update checkout -&gt; show&#95;block&#95;address view to add spinning wheel for the period when login/registration forms are already erased, but customer's addresses have not been presented.  Thanks. Best regards, B.G.")*

Hello,

Thanks for your feedback, we will see to improve the refreshing of the "address" block when that block was hidden previously.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 39
- Thank you received: 3
-
-

9 years 6 months ago [\#268532](#268532) by [lmcbmai](/forum/user/49603-lmcbmai "View lmcbmai's Profile")  Replied by *[lmcbmai](/forum/user/49603-lmcbmai "View lmcbmai's Profile")* on topic *[Adding spinner to Address step](/forum/27-checkout/890001-adding-spinner-to-address-step#268532 "-- HikaShop version -- : 3.0.1 Starter -- Joomla version -- : 3.7.0  Hi,  I have checkout workflow set as shown on the attached image. The 2nd step is Login/Address. As soon as user logs in, Login and Registration forms are erased and Billing and Shipping addresses are displayed instead (within the same step). There is certain period of inactivity between the moment login form disappears and the time when the addresses are presented (see 2nd image). As I discovered the delay is caused by the fact that at this exact moment Hikashop does API calls out through all enabled Shipping plugins to obtain available shipping methods and rates. This can take up to 10-15 seconds and user may not realize that he just needs to wait. In relation to this I have 2 questions:  - Is it possible to postpone API calls and make them right before switching to Shipping Method step? - If not, could you suggest how to update checkout -&gt; show&#95;block&#95;address view to add spinning wheel for the period when login/registration forms are already erased, but customer's addresses have not been presented.  Thanks. Best regards, B.G.")*

I was able to add spinner by updating show_block_address view and adding couple of CSS styles. Can share the code if anyone is interested.

Thanks.
B.G.

- [ ![wheel&#95;in&#95;address.png](/forum/attachment/37912) ](/forum/attachment/37912 "...in&#95;address.png") [ ](/forum/attachment/37912?download=1 "...in&#95;address.png")

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

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