Force customer to save new shipping address?

  • Posts: 21
  • Thank you received: 0
11 years 3 days ago #158522

-- url of the page with the problem -- :
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.24
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

We're having an issue with customers not realising they need to first save their new shipping address when checking out.
We're using guest checkout. They first enter their billing address which goes fine. They then add a new shipping address and continue through to checkout without first clicking the tick mark to save the shipping address. The order then goes through with the billing address.

Is there a way to either force an automatic save of the shipping address or display a message telling them to save it?
Thanks for your help.

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 2 days ago #158542

Hi,
Sure, you'll just have to add your message at the beginning of the "address" file of the "checkout" view of your front-end template via "Hikashop->Display->Views".

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

  • Posts: 21
  • Thank you received: 0
11 years 2 days ago #158674

Sorry to ask but can you be a bit more specific on exactly where in the 'address' file I can add a text message and which syntax to use. I want to say something like "Remember to save a new address before proceeding". I'm not very familiar with php. I'd want it to appear above the shipping address fields and ideally the billing address too.
Thanks again

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 day ago #158703

Hi,

You have to edit the view "address / form" via the menu Display > Views.
The code to add can be like:

<?php echo JText_::('FILL_ADDRESS_BEFORE_PROCEED'); ?>
And add a translation override like:

FILL_ADDRESS_BEFORE_PROCEED="Remember to save a new address before proceeding"

hikashop.com/support/faq.html#tran

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

  • Posts: 21
  • Thank you received: 0
10 years 10 months ago #163476

Hi,
We've managed to add a message advising customers to 'save' their address before proceeding when they decide to add a new delivery address. However people still miss it and continue to click through. We need to find a better solution.
Is there any way we can force a check on whether the delivery address has been saved before they can proceed to payment. Currently if they dont save the new address, they can still check out.
Thanks

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #163481

Hi,

You can simply use the value "List" for the option "Address selector" in Configuration > Checkout and disable the option "Show shipping 'same address' checkbox". This way the both addresses will be asked at the same time in two forms.

So the customer can no more checkout without shipping address filled.

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

  • Posts: 21
  • Thank you received: 0
10 years 10 months ago #163569

Thanks Xavier. I tried it but entering a new shipping address then changes the billing address to the same address. Not sure if this is normal behavior. Our payment processor requires the correct billing address so this was is unworkable.
Can you suggest another way to force the customer to save their new shipping address before proceeding to checkout?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #163627

Hi,

No this is not a normal behavior, I just tried on my end and it's working fine.
Could you try to update to the HikaShop version 2.3.2 available from our website ?
This can potentially solve this issue which was potentially present in the 2.3.0.

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

  • Posts: 21
  • Thank you received: 0
10 years 10 months ago #163641

We've made quite a few custom changes so I'm a bit nervous about updating the live site from 2.3.0 to 2.3.2 without extensive testing. It might be easier short term to just apply some code to block the user from proceeding if he hasnt saved the address. Could someone from the Hikashop team help us with this? I'm happy to pay for your time.

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

  • Posts: 83931
  • Thank you received: 13586
  • MODERATOR
10 years 10 months ago #163652

I really think that you should update. Handling the unsaved address on the checkout has been added in 2.3.1 and it is not easy to add a patch like that to the checkout process which is quite complex, because of its dynamicity.
So far, we only got positive feedbacks on the 2.3.2 as it fixes and improves a lot of situations and no one reported any issue with it.

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

  • Posts: 21
  • Thank you received: 0
10 years 10 months ago #164588

We finally went ahead with the update to 2.3.2 and it seems to have fixed the issue as you said.
We havent noticed any other problems either. Thank you for your help. Much appreciated.

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

Time to create page: 0.147 seconds
Powered by Kunena Forum