• Resolved Hagai Shaul

    (@hagai)


    I try to add the images of the products photos from my clients to their reviews. I am adding the img tag from the editor

    When I click on “quick edit” or “edit” on any of the products reviews after I save the changes nothing is changed. When I add simple text it is working.

    I changed the theme and disabled all plugins besides woocommerce and also updated the whole system and also the php to 8.1 and nothing has changed this

    Please advice

    • This topic was modified 1 year, 3 months ago by Hagai Shaul.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there @hagai ??

    Thank you for contacting Woo support!

    I try to add the images of the products photos from my clients to their reviews. I am adding the img tag from the editor

    From what I gather, the culprit for the images not being displayed is in the <img> code.

    For reference, when adding an image to a review, I get the following code:

    <img src="https://upload.wikimedia.org/wikipedia/commons/2/2a/WooCommerce_logo.svg" alt="Woo logo" />

    Therefore, kindly make sure to close your image tag with />, instead of > (as seen in the screenshot), for the images to appear as expected within the review(s).

    I trust that points you in the right direction, but if you have more questions, let us know.

    We’re happy to help.

    Thread Starter Hagai Shaul

    (@hagai)

    Hi ??
    Sorry for the delay

    It did not help me and still not saving the code of img tag. Tried your img tag also. You can see here.

    https://drive.google.com/file/d/19ZDVPxOg8sGVcqDaWp2NnD-qpC_cb59i/view?usp=sharing

    Please advice

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @hagai

    The issue you’re experiencing might be due to WordPress’s default security measures which strip out HTML tags in comments (which include product reviews). This is done to prevent potential security risks.

    Also, WooCommerce doesn’t natively support the addition of images in reviews. The default configuration only allows text-based reviews.

    However, several plugins can extend this functionality, such as the Customer Reviews for WooCommerce or Photo Reviews for WooCommerce plugin, which allows customers to add images or videos to their reviews.

    Hope this helps! If you have any other questions or concerns, feel free to ask!.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘cannot edit products Reviews’ is closed to new replies.