How to set in the hikashop comment notification email the proper link

  • Posts: 56
  • Thank you received: 2
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
2 weeks 6 days ago #370470

-- HikaShop version -- : 6.3.0
-- Joomla version -- : 6.0.2
-- PHP version -- : 8.4
-- Browser(s) name and version -- : chrome

Hi Team

In the Hikashop comment notification email, at the moment the link is to the administrator section (see attachment)

how to change the link to the frontend (for example mysite.com/product-on-sale) so the vendor can easily reply to the comment

Thank you

Attachments:

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

  • Posts: 56
  • Thank you received: 2
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
2 weeks 3 days ago #370528

Also, apart from the link to be fixed as mentioned below, I added a comment to hide the email address

I commented the code in the email

<!-- COMMENT EMAIL -->
<!-- <?php echo JText::_('HIKA_EMAIL').": ".$data->result->email_comment; ?> email hide by luca -->

will this code be overwritten on the next hikashop update please?

Thank you

Last edit: 2 weeks 3 days ago by lucad.

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

  • Posts: 26323
  • Thank you received: 4064
  • MODERATOR
2 weeks 7 hours ago #370556

Hello,

If you use an email override, your modification will not be lost with updates.
Since you're using HikaShop Business, the email edition interface in the backend will do that for you.

Regarding the content, you can build a HikaMarket link based on the data provided in the email context.
The variable "$data->result->product_id" contains the ID of the product ; thanks to that you can use the Joomla router to build a link to the product.
But it might be difficult to build a nice and SEF url except if you hardcode the Joomla menu "ItemId".

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.
The following user(s) said Thank You: lucad

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

  • Posts: 56
  • Thank you received: 2
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
1 week 5 days ago #370590

Thank you Jerome, will try tomorrow to implement that and let you know
thank you

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

Time to create page: 0.061 seconds
Powered by Kunena Forum