Under PS 1.6.1.0, how to add a review through my back-office?
This FAQ only applies to merchants who have the PretsaShop 1.6.1.0 version.
If your shop is under PrestaShop 1.6.1.0 version and you have a module 4.x version, you may not succeed to add a review from your back office.
This problem comes from a known bug on the PrestaShop 1.6.1.0 version. Indeed, this version includes a bug in the header.inc.php file located in the back-office admin folder that does not declare the using of JavaScript correctly...
Here is how to solve the issue:
- Download via your FTP the header.inc.php file that is at the root of the PrestaShop admin folder
- Then, in this file, locate the following code snippet:
Context::getContext()->smarty->assign(array(
'navigationPipe', Configuration::get('PS_NAVIGATION_PIPE'),
'meta_title' => implode(' '.Configuration::get('PS_NAVIGATION_PIPE').' ', $title),
'display_header' => true,
'display_footer' => true,
));
- Add the following additional highlighted green line:
Context::getContext()->smarty->assign(array(
'navigationPipe', Configuration::get('PS_NAVIGATION_PIPE'),
'meta_title' => implode(' '.Configuration::get('PS_NAVIGATION_PIPE').' ', $title),
'display_header' => true,
'display_header_javascript' => true,
'display_footer' => true,
));
- Upload the file on your server via your FTP Client
JavaScript should work fine now in the back office and you should be able to post reviews from this latter.