Problem with new feature "list" address selector

  • Posts: 165
  • Thank you received: 3
10 years 9 months ago #143944

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

Hi i noticed a bug in the checkout with the new options you added. If you choose the options "List" or "dropdown list" in the "address selector" when you click to add a new shipping address it makes the billing address disappear off the page and will not let you save the new shipping address.

It seems to me it is some sort of ajax or jquery conflict not sure exactly. How can i correct this issue?



Attachments:
Last edit: 10 years 9 months ago by jschroeder.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #144026

Hi,

In the file "components/com_hikashop/views/checkout/tmpl/address_selector.php" please replace

url = '<?php echo hikashop_completeLink('address&task=edit&cid=0&type={TYPE}&fid=hikashop_checkout_{TYPE}_address_zone', true, true); ?>'.replace(/\{TYPE\}/g, type);
By
url = '<?php echo hikashop_completeLink('address&task=edit&cid=0&address_type={TYPE}&fid=hikashop_checkout_{TYPE}_address_zone', true, true); ?>'.replace(/\{TYPE\}/g, type);

And also
var url = '<?php echo hikashop_completeLink('address&task=show&cid={CID}&type={TYPE}&fid=hikashop_checkout_{TYPE}_address_zone', true, true); ?>'.replace(/\{CID\}/g, el.value).replace(/\{TYPE\}/g, type);
By:
var url = '<?php echo hikashop_completeLink('address&task=show&cid={CID}&address_type={TYPE}&fid=hikashop_checkout_{TYPE}_address_zone', true, true); ?>'.replace(/\{CID\}/g, el.value).replace(/\{TYPE\}/g, type);
We will update the HikaShop package with the patch as soon as possible.

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: 165
  • Thank you received: 3
10 years 9 months ago #144106

Thanks! This seems to have fixed it.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum