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

  • Posts: 57
  • Thank you received: 4
2 years 5 months ago #341694

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

  • Posts: 26146
  • Thank you received: 4026
  • MODERATOR
2 years 5 months ago #341736

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 57
  • Thank you received: 4
2 years 5 months ago #341740

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.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
2 years 5 months ago #341782

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:

'ORDER_LINK' => HIKASHOP_LIVE.'administrator/index.php?option=com_hikashop&ctrl=order&task=edit&order_id='.$data->order_id,
to:
'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.

  • Posts: 57
  • Thank you received: 4
2 years 5 months ago #341813

That worked.

Many thanks,

Dave

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

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