Hi all,
Has anyone seen this before? Google was scanning my website for errors and it brought up 3 pages where the product name is not appearing, it can be seen here:
https://www.kidsaw.co.uk/review/product/list/id/143/
https://www.kidsaw.co.uk/review/product/list/id/66/
When searching for the product, it is on the page:
This link shows no name:
https://www.kidsaw.co.uk/review/product/list/id/99/
Same product as above, but shows the name:
https://www.kidsaw.co.uk/kidsaw-high-sleeper-loft-bed-storage-bundle.html
How can I fix this?
Solved! Go to Solution.
This page is a magento default page which is used in rating and review module, before Magento 2.2 we had option to disable but after Magento 2.2.x they have disabled that, still there are some ways you can hide it (not disable).
please follow this blog, it will help you with that :
https://meetanshi.com/blog/disable-magento-2-reviews-and-ratings/
And again in Magento 2.3 they added configurations to disable in Store > Configuration > Catalog > Catalog > review and rating
Let us know if it works.
Hi @callam_kidsaw ,
Both pages are using different template file which is rendering the content on the frontend.
You need to cross check the review product page content to cross check whether it have appropriate code to show product name or not.
To get information which template file is rendering check below link
If you found the code in template file, try checking in browser console tht there should not be any css which is hiding name.
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
Hi,
I can't see any CSS hiding the names. It is strange how it is only 3 products. Is there maybe something in the database that could be missing? As I copied it over.
As I can see in html code both pges are using different layouts, the missing data page has layout name review-product-list,
so first check this layout blocks and get inside it's phtml file to debug,
as the page is not breaking so there must be some condition of if/else which is managing it.
I guess it's not getting the proper attributes from block class, so A hotfix will be, use the product id and get name and stock status (and all missing attributes) by object manager or create function in block class.
Hope it will fix the solution.
Hi,
Do you know if this page has a purpose? Is it possible to remove it?
This page is a magento default page which is used in rating and review module, before Magento 2.2 we had option to disable but after Magento 2.2.x they have disabled that, still there are some ways you can hide it (not disable).
please follow this blog, it will help you with that :
https://meetanshi.com/blog/disable-magento-2-reviews-and-ratings/
And again in Magento 2.3 they added configurations to disable in Store > Configuration > Catalog > Catalog > review and rating
Let us know if it works.
@gaurav_harsh1 wrote:
This page is a magento default page which is used in rating and review module, before Magento 2.2 we had option to disable but after Magento 2.2.x they have disabled that, still there are some ways you can hide it (not disable).
please follow this blog, it will help you with that :
https://meetanshi.com/blog/disable-magento-2-reviews-and-ratings/
And again in Magento 2.3 they added configurations to disable in Store > Configuration > Catalog > Catalog > review and rating
Let us know if it works.
This worked, thank you.
I didn't know how to fix it from previous posts as I'm not too heavy on coding knowledge, so I would rather disable it as I have no use for it.