store.productPage

Available Since: V1.0.0

Chunk used to format the output of the product information pages.

fusionCSS 2

<div itemtype="http://schema.org/Product" itemscope>
	<div class="row">
		<div id="productImage" class="span8 span-s8">[[store.showProductImage &size=`l` &id=`[[+product.id]]`]][[product.gallery]]<p>SKU: <span id="productSKU">[[+product.sku]]</span></p>[[if &subject=`[[+store.showRating]]` &operator=`==` &operand=`1` &then=`<p class="productRating">[[+ratingLabel]]: [[comments.rating]]</p>`]]</div>
		<div id="productBuy" class="span4 span-4">[[!product.buy]]</div>
	</div>
	<div id="productDesc">[[+product.description]][[+product.fieldMenu]][[+product.fieldContents]]</div>[[+product.microdata]][[+store.productReviews]]</div>[[if &subject=`[[+product.hasRelated]]` &operator=`==` &operand=`1` &then=`
<div id="productRelated">
<h2>[[+relatedLabel]]</h2>
<div class="relatedProductList">[[!store.showRelated &id=`[[+product.id]]`]]</div>
</div>
`]]

Bootstrap 3

<div itemtype="http://schema.org/Product" itemscope>
	<div class="row">
		<div id="productImage" class="col-sm-8">[[store.showProductImage &size=`l` &id=`[[+product.id]]`]][[product.gallery]]<p>SKU: <span id="productSKU">[[+product.sku]]</span></p>[[if &subject=`[[+store.showRating]]` &operator=`==` &operand=`1` &then=`<p class="productRating">[[+ratingLabel]]: [[comments.rating]]</p>`]]</div>
		<div id="productBuy" class="col-sm-4">[[!product.buy]]</div>
	</div>
	<div id="productDesc">[[+product.description]][[+product.fieldMenu]][[+product.fieldContents]]</div>[[+product.microdata]][[+store.productReviews]]</div>[[if &subject=`[[+product.hasRelated]]` &operator=`==` &operand=`1` &then=`
<div id="productRelated">
<h2>[[+relatedLabel]]</h2>
<div class="relatedProductList">[[!store.showRelated &id=`[[+product.id]]`]]</div>
</div>
`]]

Foundation 5

<div itemtype="http://schema.org/Product" itemscope>
	<div class="row">
		<div id="productImage" class="large-8 columns">[[store.showProductImage &size=`l` &id=`[[+product.id]]`]][[product.gallery]]<p>SKU: <span id="productSKU">[[+product.sku]]</span></p>[[if &subject=`[[+store.showRating]]` &operator=`==` &operand=`1` &then=`<p class="productRating">[[+ratingLabel]]: [[comments.rating]]</p>`]]</div>
		<div id="productBuy" class="large-4 columns">[[!product.buy]]</div>
	</div>
	<div id="productDesc">[[+product.description]][[+product.fieldMenu]][[+product.fieldContents]]</div>[[+product.microdata]][[+store.productReviews]]</div>[[if &subject=`[[+product.hasRelated]]` &operator=`==` &operand=`1` &then=`
<div id="productRelated">
<h2>[[+relatedLabel]]</h2>
<div class="relatedProductList">[[!store.showRelated &id=`[[+product.id]]`]]</div>
</div>
`]]
Placeholder Description
product.name The name of the product.
product.menutitle The menu title of the product, same as product.name of none specified.
product.sku The SKU of the product.
product.description The detailed description of the product.
product.fieldMenu The HTML for the product field menu.
product.fieldContents The HTML for the product field content.
relatedLabel The text to label related products.
 product.id The ID of the product. 
product.microdata
Product microdata.
store.productReviews The chunk to insert product reviews if enabled.



TOP