Prerequisites
Describe the bug and add attachments
every time i add a comment it will be added to the db but the page redirects to a JSON result: /module/productcomments/PostComment?id_product=2
Steps to reproduce
- install the module productcomments v8.0.1 on PS 9.1.4
- go to a product page and leave a review/comment.
- the comment is saved in the DB
- when comment popup closing it will redirect to a page: /module/productcomments/PostComment?id_product=2
- the page show a JSON like:
Expected behavior
After point 4 the pupup must close and the product page must shown with a message like "thanks for your comment..."
Actual Result
- when comment popup closing it will redirect to a page: /module/productcomments/PostComment?id_product=2
- the page show a JSON like:
PrestaShop version where the bug happens
9.1.4
Module version where the bug happens
productcomments v8.0.1
PHP version(s) where the bug happened
8.4
Your company or customer's name goes here (if applicable).
No response
Prerequisites
Describe the bug and add attachments
every time i add a comment it will be added to the db but the page redirects to a JSON result: /module/productcomments/PostComment?id_product=2
Steps to reproduce
Expected behavior
After point 4 the pupup must close and the product page must shown with a message like "thanks for your comment..."
Actual Result
PrestaShop version where the bug happens
9.1.4
Module version where the bug happens
productcomments v8.0.1
PHP version(s) where the bug happened
8.4
Your company or customer's name goes here (if applicable).
No response