-- url of the page with the problem -- : Not allowed to give!
-- HikaShop version -- : 2.2.0
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.4.16
-- Browser(s) name and version -- : ALL BROWSERS
Dear brilliant minds of Hikashop and all of it members,
I checked the FAQ, documentation and looked on the forum but haven't found an answer.
I have a rather strange problem. On the checkout page a user can add an extra address. This works perfectly. Only when a user wants to delete an address then it wont delete. But instead it continues the order process. And the order process is only one page so when it continues it immediately makes the order.
Let me describe it from the beginning:
1. user adds product to cart
2. user goes to cart
3. user is asked "Existing client or new client"
4. user logs in as existing client.
5. user sees 2 addresses but the last address is no longer correct so he/she wants to delete it.
6. user presses the delete button.
7. user receives the message thank you for your order.
And the address is not deleted.
Everything is up to date!
I have made some changes to an file:
JoomlaBackend->Components->Hikashop->Display->Views->
View = Checkout
File = address_view.php
In here i made the following change:
<a title="<?php echo JText::_('HIKA_DELETE'); ?>" class="hikashop_checkout_<?php echo $this->type;?>_address_delete" href="<?php echo hikashop_completeLink('checkout&step='.$this->step.'&redirect=checkout&task=deleteaddress&address_id='.$address->address_id.'&'.hikashop_getFormToken().'=1'.$url_itemid);?>"><button><?php echo JText::_('HIKA_DELETE'); ?></button></a>
before i made the change it was like this:
<a title="<?php echo JText::_('HIKA_DELETE'); ?>" class="hikashop_checkout_<?php echo $this->type;?>_address_delete" href="<?php echo hikashop_completeLink('checkout&step='.$this->step.'&redirect=checkout&task=deleteaddress&address_id='.$address->address_id.'&'.hikashop_getFormToken().'=1'.$url_itemid);?>"><img alt="<?php echo JText::_('HIKA_DELETE'); ?>" src="<?php echo HIKASHOP_IMAGES; ?>delete.png" border="0" /></a>
I cannot believe that the problem is related to this change because i just changed the img in a button.