Skip to content

Commit

Permalink
Add unit pricing measure
Browse files Browse the repository at this point in the history
  • Loading branch information
martinknor authored Sep 10, 2018
1 parent b079180 commit d189c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Generators/Google/latte/item.latte
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@
<g:age_group>Adult</g:age_group>
<g:color>Navy</g:color>
<g:size>8 Standard</g:size>*}
<g:unit_pricing_measure n:if="$item->unitPricingMeasure">{$item->unitPricingMeasure}</g:unit_pricing_measure>
<g:mpn n:if="$item->mpn">{$item->mpn}</g:mpn>

{if !empty($productTypes = $item->productTypes)}
<g:product_type n:foreach="$productTypes as $productType" n:if="!empty($productType->text)">{$productType->text}</g:product_type>
{/if}

<g:google_product_category n:if="$item->googleProductCategory">{$item->googleProductCategory}</g:google_product_category>
</entry>
</entry>

0 comments on commit d189c9c

Please sign in to comment.