Jump to content
thirty bees forum

Itemprop tags within product description


Recommended Posts

Posted

Is there any way to use itemprop tags within product descriptions? Whenever i try to attribute itemprop to <p> <div> <span> or any other tag via source code editor (on product edit page), it just get corrected back to <p>/<span>/<div> without itemprop attribute. For example, if i want to use those tags within my content https://health-lifesci.schema.org/Drug . Same thing with both tb and ps

Posted
7 hours ago, hedgehog said:

Is there any way to use itemprop tags within product descriptions? Whenever i try to attribute itemprop to <p> <div> <span> or any other tag via source code editor (on product edit page), it just get corrected back to <p>/<span>/<div> without itemprop attribute. For example, if i want to use those tags within my content https://health-lifesci.schema.org/Drug . Same thing with both tb and ps

I don't think it's possible at the moment. Thirtybees sanitize html input and removes every weird markup, js, css,... You can create enhancement request on github for this, though

Posted
3 hours ago, Traumflug said:

Back office -> Preferences -> General -> Use HTMLPurifier Library

Turning this off might help.

Wow thank you so much! This actually helped. Editor still deletes span tags, and automatically edits source code a little bit, but now i was able to use itemprop tag within div, which solved my problem. Tested markup in the google tool right now and it recognizes the markup just fine. 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...