*

Andreysibir

  • **
  • 8 posts
Structured data for Zara
« on: December 26, 2016, 05:05:31 PM »
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?

*

MB Themes

Re: Structured data for Zara
« Reply #1 on: December 26, 2016, 05:16:07 PM »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Andreysibir

  • **
  • 8 posts
Re: Structured data for Zara
« Reply #2 on: December 26, 2016, 06:43:55 PM »
Thank you.

This plugin will create Structured data for Categories also?

*

MB Themes

Re: Structured data for Zara
« Reply #3 on: December 27, 2016, 08:45:44 AM »
@Andreysibir
Just for listings. There is nothing at all regarding categories, just name, description and sometimes category image.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ajit Sahane

  • ****
  • 147 posts
  • https://bestclassifiedsusa.com
Re: Structured data for Zara
« Reply #4 on: April 08, 2020, 10:58:58 AM »
Where this code location...?

cant find in osclass core, plugin or theme .

anyone have idea which file or location of this code ..?

i want to edit this code.

*

Ajit Sahane

  • ****
  • 147 posts
  • https://bestclassifiedsusa.com
Re: Structured data for Zara
« Reply #5 on: April 08, 2020, 12:34:35 PM »
Yes, found code in item.php  head section

For better schema either remove this code or edit proper, otherwise you will get warning in Google Structured Data testing tool.

If anyone want support for this,

I will help you, Paid Support, thanks.