Jump to content
thirty bees forum
  • 0

Community Theme United - Product Schema - Attribute category


Question

Posted

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

2 answers to this question

Recommended Posts

  • 0
Posted

The other way of doing this is a lot more code and create a hierarchy for a thing instead of a literal string. http://schema.org/Thing and I think that will take more thought.

  • 0
Posted

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

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