Adding spinner to Address step

  • Posts: 39
  • Thank you received: 3
7 years 6 months ago #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 -> 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.

Attachments:
Last edit: 7 years 6 months ago by lmcbmai.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 6 months ago #268370

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 39
  • Thank you received: 3
7 years 6 months ago #268532

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.

Attachments:

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

Time to create page: 0.057 seconds
Powered by Kunena Forum