- Posts: 48
- Thank you received: 0
Changing address - popup
after I uploaded last version of HikaShop when customer changes (edits) address information in popup, the HikaShop returns the customer to the first step of the checkout.
Checkout workflow: cart_coupon,login_address_shipping_payment_terms_confirm_fields,end
Do you know how to solve this?
Please Log in or Create an account to join the conversation.
I just tested on one of our test websites as well as on our demo website with the same checkout workflow and I can't reproduce the problem. Did you edit views before updating ? Maybe you didn't get the modifications we added in the views you edited which maybe resulted in that problem ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
So if you had edited one or several of the views related to the address, you might not have all the latest changes that we added in them.
Go in Display->Views and search for address. Are some of the view files customized (there is a delete icon) ? If yes, edit them, save the content somewhere and click on the delete icon to remove the customization and try again.
Please Log in or Create an account to join the conversation.
Now when I go to shopping cart and proceed to step 2, I change the address (for example billing address) in popup and I press OK it returns me to step 1 again.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Could you also try to change the name of the folder templates/YOUR_TEMPLATE/html/com_hikashop via FTP ? That will disable all the modifications of views that you made. That way it will be as if you were using a standard 1.5.3 version. Do you still have the problem after doing that ? You can put the name back to get back your customization.
Please Log in or Create an account to join the conversation.
The page is still under construction.
I disabled templates. But it still returns to the first step.
Now I suppose the problem is because of SEF which generates the url-s.
I will try first to solve it there.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
There is still this problem. When customer changes address hika returns to first page of checkout.
The site:
www.energyinyou.com/
The same problem in 1.5.3, 1.5.4 and 1.5.5.
Please Log in or Create an account to join the conversation.
And since you have the "force menu on checkout" option activated, after the redirect to the checkout, the step is lost when redirecting to the correct menu.
So I think that the solution will be to add the itemid parameter to the edition URL. For that, you can change the code:
<a title="<?php echo JText::_('HIKA_EDIT'); ?>" class="modal hikashop_checkout_<?php echo $this->type;?>_address_edit" rel="{handler: 'iframe', size: {x: 450, y: 480}}" href="<?php echo hikashop_completeLink('address&task=edit&redirect=checkout&address_id='.$address->address_id.'&step='.$this->step.'&type='.$this->type,true);?>" onclick="return hikashopEditAddress(this,<?php echo (int)$same_address?>,false);"><img alt="<?php echo JText::_('HIKA_EDIT'); ?>" src="<?php echo HIKASHOP_IMAGES; ?>edit.png" border="0" /></a>
to:
<?php
global $Itemid;
$url_itemid='';
if(!empty($Itemid)){
$url_itemid='&Itemid='.$Itemid;
} ?>
<a title="<?php echo JText::_('HIKA_EDIT'); ?>" class="modal hikashop_checkout_<?php echo $this->type;?>_address_edit" rel="{handler: 'iframe', size: {x: 450, y: 480}}" href="<?php echo hikashop_completeLink('address&task=edit&redirect=checkout&address_id='.$address->address_id.'&step='.$this->step.'&type='.$this->type.$url_itemid,true);?>" onclick="return hikashopEditAddress(this,<?php echo (int)$same_address?>,false);"><img alt="<?php echo JText::_('HIKA_EDIT'); ?>" src="<?php echo HIKASHOP_IMAGES; ?>edit.png" border="0" /></a>
in the file "address_view" of the view "checkout" that you can edit via Display->Views.
Please Log in or Create an account to join the conversation.
It works now.
Please Log in or Create an account to join the conversation.