hello,
Thanks again for your return, we have now, we hope solve the MicroData issue for Facebook that seems to be more strict from Google MicroData evaluation tool.
we have updated our files for our HikaShop future release, I will now teach you follow me step by step :
1. Go in YourWebsite\components\com_hikashop\views\product\tmpl folder
2. Open to edit listing_price.php file
3. Around line 147, Before
echo '<span class="'.implode(' ',$classes).'"'.$attributes.'>';
Add this :
$this->itemprop_price = new stdClass();
$this->itemprop_price = $attributes .'"';
4. Around
line 147, you have this :
echo '<span class="'.implode(' ',$classes).'"'.$attributes.'>';
Remove
to have this :
echo '<span class="'.implode(' ',$classes).'">';
Results Before :
And After :
Second step :
5. Always in the same folder, open to edit
show_default (or show_reversed, or show_tabular)
6. In
Show_default around
line 11, look for :
<span id="hikashop_product_code_main" class="hikashop_product_code_main" itemprop="sku"><?php
Remove the
For have this :
<span id="hikashop_product_code_main" class="hikashop_product_code_main"><?php
7. Always in the same file, add this
2 lines before :
<meta itemprop="sku" content="<?php echo $this->element->product_code; ?>">
<meta itemprop="productID" content="<?php echo $this->element->product_code; ?>">
Results Before :
After :
7. Around
line 70, you have finally this :
<meta itemprop="availability" content="https://schema.org/<?php echo ($this->row->product_quantity != 0) ? 'InStock' : 'OutOfstock' ;?>" />
<meta itemprop="priceCurrency" content="<?php echo $this->currency->currency_code; ?>" />
9. Just before this
2 lines, add this :
<meta itemprop="price" content="<?php echo $this->itemprop_price; ?>" />
To have this :
Hope this please you to solve your current issue.
Regards