Hay there!
Did anybody make STRUCTURED DATA for Zara theme for category and listing pages?
Some says to use this code for /item.php:
<!-- Structered data Starts here -->
<div id="metadata" itemscope itemtype="
http://schema.org/Product">
<meta itemprop="name" content="<?php echo osc_esc_html(meta_title()); ?>" />
<meta itemprop="image" content="<?php if( osc_count_item_resources() > 0 ) echo osc_resource_url(); ?>" />
<meta itemprop="description" content="<?php echo osc_esc_html(meta_description()); ?>" />
<?php if(osc_item_price() != '') { ?>
<div itemprop="offers" itemscope itemtype="
http://schema.org/Offer">
<meta itemprop="price" content="<?php echo $value=(osc_item_price()/1000000); ?>" />
<meta itemprop="pricecurrency" content="<?php echo osc_item_currency(); ?>" />
</div>
<?php } ?>
<link itemprop="availability" href="
http://schema.org/<?php echo (osc_item_is_expired() ? 'Discontinued"/>Unavailable' : 'InStock"/>Available'); ?>
</div>
Is it correct? But it is for Listing. What about category?