- Posts: 145
- Thank you received: 8
How to set in the hikashop comment notification email the proper link
7 months 1 week ago #370470
by lucad
-- 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
-- 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
Please Log in or Create an account to join the conversation.
7 months 5 days ago - 7 months 5 days ago #370528
by lucad
Replied by lucad on topic How to set in the hikashop comment notification email the proper link
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
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: 7 months 5 days ago by lucad.
Please Log in or Create an account to join the conversation.
7 months 1 day ago #370556
by Jerome
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.
Replied by Jerome on topic How to set in the hikashop comment notification email the proper link
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,
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.
7 months 3 hours ago #370590
by lucad
Replied by lucad on topic How to set in the hikashop comment notification email the proper link
Thank you Jerome, will try tomorrow to implement that and let you know
thank you
thank you
Please Log in or Create an account to join the conversation.
Time to create page: 0.211 seconds