File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
templates/_partials/microdata Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 8181 " sku" : " { if $product .reference} { $product .reference} { else } { $product .id} { /if } " ,
8282 " mpn" : " { if $product .mpn} { $product .mpn} { elseif $product .reference} { $product .reference} { else } { $product .id} { /if } " ,
8383 { if $product .ean13} " gtin13" : " { $product .ean13} " ,{ elseif $product .upc} " gtin13" : " 0{ $product .upc} " ,{ /if }
84- { if $product .condition == ' new' } " itemCondition" : " https://schema.org/NewCondition" ,{ /if }
85- { if $product .show_condition > 0}
86- { if $product .condition == ' used' } " itemCondition" : " https://schema.org/UsedCondition" ,{ /if }
87- { if $product .condition == ' refurbished' } " itemCondition" : " https://schema.org/RefurbishedCondition" ,{ /if }
88- { /if }
84+ { if ! empty($product .show_condition) && ! empty($product .condition)} " itemCondition" : " { $product .condition.schema_url} " ,{ /if }
8985 " availability" : " { $product .seo_availability} " ,
9086 " seller" : {
9187 " @type" : " Organization" ,
You can’t perform that action at this time.
0 commit comments