Skip to main content

Problem with new feature "list" address selector

More
12 years 7 months ago - 12 years 7 months ago #143944 by jschroeder
-- 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?



Last edit: 12 years 7 months ago by jschroeder.

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

More
12 years 7 months ago #144026 by Jerome
Hi,

In the file "components/com_hikashop/views/checkout/tmpl/address_selector.php" please replace
Code:
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
Code:
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
Code:
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:
Code:
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.

More
12 years 7 months ago #144106 by jschroeder
Thanks! This seems to have fixed it.

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

Time to create page: 0.156 seconds
Powered by Kunena Forum