Page Skipping When Saving Address

  • Posts: 6
  • Thank you received: 0
8 years 7 months ago #237425

-- 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.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 7 months ago #237435

Hi,

I think that this is done by the 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.055 seconds
Powered by Kunena Forum