Skip to main content

Page Skipping When Saving Address

10 years 6 months ago #237425 by bluenotesolutions
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1

Hi Folks,

During the checkout process, when a user edits the billing/delivery address and clicks the "Tick" to save the address the page instantly refreshes to the next section not allowing the user to edit the other address.

How can I stop the process moving forward when a user edits an address?

Building a better web!

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

10 years 6 months ago #237435 by nicolas
Hi,

I think that this is done by the code:
Code:
}else if(params.type=='shipping' && (!selected || d.getElementById('hikashop_shipping_methods') || d.getElementById('hikashop_payment_methods') || d.getElementById('hikashop_checkout_cart') )){ d.forms['hikashop_checkout_form'].submit(); }else if(params.type=='billing' && (!d.getElementById('hikashop_checkout_shipping_address') || (d.getElementById('same_address') && d.getElementById('same_address').checked) || !selected) && (d.getElementById('hikashop_shipping_methods') || d.getElementById('hikashop_payment_methods') || d.getElementById('hikashop_checkout_cart') )){ window.location.reload();
in the file "address_select" that you can edit via the menu Display>views.
Try removing it and see if that does what you want.

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

Time to create page: 0.046 seconds
Powered by Kunena Forum