Skip to main content

Link to the customer on the order details page

More
13 years 1 month ago #120747 by marioli
-- url of the page with the problem -- : www.manufakturakosmetyczna.pl/
-- HikaShop version -- : 2.2.1 Business
-- Joomla version -- : 2.5.9

Link to the customer on the order details page have dissapeared after update from HS 2.1.3 to 2.2.0 (before I have upgraded to 2.2.1).

How can I restore this link back?

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

More
13 years 1 month ago - 13 years 1 month ago #120755 by Jerome
Hi,

Edit the view "order | show" and replace the code
Code:
<tr class="hikashop_order_customer_id"> <td class="key"><label><?php echo JText::_('ID');?></label></td> <td><span id="hikashop_order_customer_id"><?php echo @$this->order->customer->user_id; ?></span></td> </tr>
By:
Code:
<tr class="hikashop_order_customer_id"> <td class="key"><label><?php echo JText::_('ID');?></label></td> <td> <span id="hikashop_order_customer_id"><?php echo @$this->order->customer->user_id; ?></span> <a href="<?php echo hikashop_completeLink('user&task=edit&cid[]='. $this->order->customer->user_id.'&order_id='.$this->order->order_id); ?>"> <img style="vertical-align:middle;" src="<?php echo HIKASHOP_IMAGES; ?>go.png" alt="go" /> </a> </td> </tr>
We will include this modification in the next package.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 13 years 1 month ago by Jerome.
The following user(s) said Thank You: marioli

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

More
13 years 1 month ago #120762 by marioli
It works,

thanks!

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

Time to create page: 0.160 seconds
Powered by Kunena Forum