Changing address - popup

  • Posts: 48
  • Thank you received: 0
13 years 2 months ago #25898

Hi Nicolas,

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.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
13 years 2 months ago #25903

Hi,

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.

  • Posts: 48
  • Thank you received: 0
13 years 2 months ago #25915

Yes, I edited views before updating.

Last edit: 13 years 2 months ago by vasjaf.

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

  • Posts: 48
  • Thank you received: 0
13 years 2 months ago #25918

But I didn't do a lot of changes.

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
13 years 2 months ago #25931

Regardless of whether you changed a lot of things or not in them, if you saved them, an override was created which was not updated with the new release.
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.

  • Posts: 48
  • Thank you received: 0
13 years 2 months ago #25977

I removed the customization of all address files that were costomized.

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.

  • Posts: 48
  • Thank you received: 0
13 years 2 months ago #25978

Is it possible that I changed any check-box?

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
13 years 2 months ago #25984

Could you give a link to that website so that we can see ?

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.

  • Posts: 48
  • Thank you received: 0
13 years 2 months ago #26072

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
13 years 2 months ago #26084

Do you mean that if you turn off SEF you don't have the problem ?

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

  • Posts: 48
  • Thank you received: 0
13 years 1 month ago #27034

No, the problem is not in SEF.
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.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
13 years 1 month ago #27041

When you go on your address popup edition, I can see that in the form, the Itemid is lost because it's not passed by the URL of the edition link.
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.

  • Posts: 48
  • Thank you received: 0
13 years 1 month ago #27064

Thank you.
It works now. :)

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

Time to create page: 0.075 seconds
Powered by Kunena Forum