- Posts: 21
- Thank you received: 0
Force customer to save new shipping address?
12 years 4 months ago #158522
by Paulo123
Force customer to save new shipping address? was created by Paulo123
-- 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.
-- 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.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 4 months ago #158542
by Mohamed Thelji
Replied by Mohamed Thelji on topic Force customer to save new shipping address?
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".
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.
12 years 4 months ago #158674
by Paulo123
Replied by Paulo123 on topic Force customer to save new shipping address?
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
Thanks again
Please Log in or Create an account to join the conversation.
12 years 4 months ago #158703
by Xavier
Replied by Xavier on topic Force customer to save new shipping address?
Hi,
You have to edit the view "address / form" via the menu Display > Views.
The code to add can be like:
And add a translation override like:
You have to edit the view "address / form" via the menu Display > Views.
The code to add can be like:
Code:
<?php echo JText_::('FILL_ADDRESS_BEFORE_PROCEED'); ?>
hikashop.com/support/faq.html#tranFILL_ADDRESS_BEFORE_PROCEED="Remember to save a new address before proceeding"
Please Log in or Create an account to join the conversation.
12 years 3 months ago #163476
by Paulo123
Replied by Paulo123 on topic Force customer to save new shipping address?
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
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.
12 years 3 months ago #163481
by Xavier
Replied by Xavier on topic Force customer to save new shipping address?
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.
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.
12 years 3 months ago #163569
by Paulo123
Replied by Paulo123 on topic Force customer to save new shipping address?
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?
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.
12 years 3 months ago #163627
by Xavier
Replied by Xavier on topic Force customer to save new shipping address?
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.
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.
12 years 3 months ago #163641
by Paulo123
Replied by Paulo123 on topic Force customer to save new shipping address?
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.
12 years 3 months ago #163652
by nicolas
Replied by nicolas on topic Force customer to save new shipping address?
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.
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.
12 years 3 months ago #164588
by Paulo123
Replied by Paulo123 on topic Force customer to save new shipping address?
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.
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.130 seconds