Hello,
I've seen similar old posts asking for this solution but I found only for old oc versions. I want to send an email to a customer who had already receive an item to leave a review on the product page, and want to send a direct link that will take him/her to the product review submission form.... for example "https://tonias-handmade.com/Perfumes/Ba ... ume#review" or "#addreview" something like that...is this possible?
Thank you in advance
Version 3.0.3.8
default theme
PHP: 7.3.13
I've seen similar old posts asking for this solution but I found only for old oc versions. I want to send an email to a customer who had already receive an item to leave a review on the product page, and want to send a direct link that will take him/her to the product review submission form.... for example "https://tonias-handmade.com/Perfumes/Ba ... ume#review" or "#addreview" something like that...is this possible?
Thank you in advance
Version 3.0.3.8
default theme
PHP: 7.3.13
Last edited by antmagn on Sat May 10, 2025 3:17 am, edited 2 times in total.
Have you checked the marketplace? I believe there are many available.
Try searching using google for example (not recommended just as an example) https://www.opencart.com/index.php?rout ... n_id=27045
Try searching using google for example (not recommended just as an example) https://www.opencart.com/index.php?rout ... n_id=27045
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Thank you Mona, I do not want the procedure, I just want to direct the customer to the review page tab of the specific product if possible.by mona wrote: ↑Fri May 09, 2025 1:54 pmHave you checked the marketplace? I believe there are many available.
Try searching using google for example (not recommended just as an example) https://www.opencart.com/index.php?rout ... n_id=27045
If you can't find an extension, you could pay a developer such as ourselves or post a job in the Commercial Support Forum.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Well I found it, kind off, If anyone is interested, I pasted this script (with the help of developer mode and Gemini
)
.... at product.twig and you now can refer to review tab page by adding #tab-review at the end of the link.

Code: Select all
<script defer>
document.addEventListener('DOMContentLoaded', function() {
if (window.location.hash === '#tab-review') {
// Find the corresponding tab link and simulate a click to ensure
// the tab is visually active and its content area is shown.
const reviewsNavLink = document.querySelector('a[href="#tab-review"][data-toggle="tab"]');
if (reviewsNavLink) {
reviewsNavLink.dispatchEvent(new MouseEvent('click', {
bubbles: true,
cancelable: true,
view: window
}));
}
}
});
</script>
The part I see with this is you might get tired of the need to craft each email to each customer but if this works for you that is great.
Mike
cue4cheap not cheap quality
The human beings who write the code are the people that helped you, all Gemini did was "steal" it and package it as their own - they do not deserve the credit.
Nevertheless, glad you found a solution.
Please mark the topic to include [SOLVED] in the title.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
You are absolutely right
I will mark it as sold thank you.
Who is online
Users browsing this forum: No registered users and 76 guests