Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello @3sonsdevelopment

    There are different solutions the WooCommerce team can follow, the simpler one would be use the RawHTML. I’ll describe the process with the code of the “/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/all-products-frontend.js” file.

    1. Open this file with the text editor of your choice.

    2. Go to the piece of code:

    
    return React.createElement(s,{className:R()(t,"".concat(i,"__product-title"))},c?React.createElement("a",{href:r.permalink,rel:"nofollow"},u):u)
    

    3. Edit it as follows:

    
    return React.createElement(s,{className:R()(t,"".concat(i,"__product-title"))},c?React.createElement("a",{href:r.permalink,rel:"nofollow"},React.createElement( wp.element.RawHTML, null,u )):React.createElement( wp.element.RawHTML, null,u ))
    

    4. Finally, clear the browser’s cache, after edit the online file.

    Best regards.

Viewing 1 replies (of 1 total)