Skip to main content

Change "order created" admin email link from back end to front end

4 years 6 months ago #341694 by daduts
-- url of the page with the problem -- : dadutscentral.com/index.php/account/checkout
-- HikaShop version -- : 4.5.1
-- HikaMarket version -- : 4.1.0
-- Joomla version -- : 4.1.0
-- PHP version -- : 7.4.29
-- Browser(s) name and version -- : Firefox 100.0

Hey guys,

In the Order Administrator Notification the email links the Order # to the back end admin page for that order.

Is it possible to change that link to the front end HikaMarket order admin page ?


Thanks again,

Dave

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

4 years 6 months ago #341736 by Jerome
Hello,

HikaMarket won't be able to do that ; but you can customize (override) your HikaShop order administrator notification to change the link.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

4 years 6 months ago #341740 by daduts
Thanks.

I understand customizing the notification. I'm stuck on the detail.

Currently, {VAR:ORDER_LINK} resolves to the back end.

What change do I make to get to the front end ?

Thanks,

: D

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

4 years 6 months ago #341782 by nicolas
Hi,

You can edit the email via the menu System>Emails. There, under the "preload" section of the email at the bottom of the page, you can try changing the line:
Code:
'ORDER_LINK' => HIKASHOP_LIVE.'administrator/index.php?option=com_hikashop&ctrl=order&task=edit&order_id='.$data->order_id,
to:
Code:
'ORDER_LINK' => hikamarket::completeLink('order&task=show&cid='.$data->order_id),
The following user(s) said Thank You: daduts

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

4 years 6 months ago #341813 by daduts
That worked.

Many thanks,

Dave

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

Moderators: Obsidev
Time to create page: 0.073 seconds
Powered by Kunena Forum