5

Using default LUMA theme and extended it for custom changes .

There is text in review form on product page: " You're reviewing: " .

How can I change it or remove it from review form?

Don't tell hiding via CSS , Kindly help me removing or changing it via code

any help will be highly appreciated

Thanks

3
  • extend your review module Oct 3, 2017 at 10:52
  • couldn't get the file where to change
    – user56319
    Oct 3, 2017 at 10:54
  • turn on debug mode Oct 3, 2017 at 10:55

2 Answers 2

6

Copy form.phtml from below location

/vendor/magento/module-review/view/frontend/templates/form.phtml

Place at below location ,copy only required file do not copy whole module.

/app/design/frontend/vendor-name/theme-name/Magento_Review/templates/form.phtml

in this file you will find below code on line no 21

<span><?php /* @escapeNotVerified */ echo __("You're reviewing:"); ?></span> 

you can comment above line or you can alter the text in it.

Keep your cache disabled

2
2

You have to override below file of review module-

/your_magento/vendor/magento/module-review/view/frontend/templates/form.phtml

you can find You're reviewing: . text on line 21

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.