Jump to content
thirty bees forum
  • 0

Community Theme United - Product Schema - Attribute category


dprophitjr

Question

According to schema.org/product, the category attribute can be "A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy." Dairy > Milk > 2% Milk

I looked at the code for breadcrumb.tpl capturing the {$path}. Can someone fork and contribute to the product.tpl and output this?

The same needs to also be done in the offer schema as both take the attribute of category

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

@administrators I had a dev look at this issue. They didn't quite get there. Maybe you know? <meta itemprop="category" content="{*{$category->name|escape:'html':'UTF-8'}*}{$path|strip_tags}" /> is what they came up with.

Link to comment
Share on other sites

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...