Untitled

 avatar
user_6373586
plain_text
a year ago
10 kB
6
Indexable
<div class="container row pricing-row">
	<meta itemprop="itemCondition" content="NewCondition">
	<meta itemprop="brand" content="[@brand@]"/>
	[%if ![@has_child@] || [@has_variation@]%]
		<div itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="wrapper-pricing">
			<meta itemprop="priceCurrency" content="[@config:defaultcurrency@] included GST">
			[%SET [@wknotaxproddetail@]%][@CONFIG:GST_INC_STORE@][%/SET%]
			<span class="wknotax prod-detail" style="display:none"> [@wknotaxproddetail@], cpanel percentage [@CONFIG:GST_AMT@]</span>
			<div class="wkgstyes"  style="display:none;">
				[%if ![@inpromo@]%]
					<div class="productpricetext">
						<span class="productprice" itemprop="price"  aria-label="Store Price">[%FORMAT type:'currency'%][@store_price@][%/FORMAT%] [%if [@notax@] eq 'y'%]<small>([@misc6@])</small>[%/if%]</span>
					</div>
				[%else%]
					<div class="productpricetext">
						<span class="productprice" itemprop="price"  aria-label="Promo Price">[%FORMAT type:'currency'%][@promo_price@] [%/FORMAT%] [%if [@notax@] eq 'y'%]<small>([@misc6@])</small>[%/if%]</span>
					</div>
					<div class="discount-deals">
						<div class="productwasprice text-muted" aria-label="Was price">
							[%FORMAT type:'currency'%][@store_price@][%/FORMAT%]
						</div>
						[%if [@save@] > 0%]
							<span class="text-danger" aria-label="RRP Price">SAVE [%format type:'percent'%][@save@][%/format%]!</span>
						[%/if%]
						<div class="productsavetext text-danger font-weight-bold">
							Sale Ends in <span id="sale-end" class="time"></span>
						</div>
						<div class="time-text" itemprop="priceValidUntil" content="[%format type:'date' format:'#Y-#M-#d'%][@promo_end@][%END format%]">
							[%format type:'date' format:' #H:#I #a, #d #K #Y'%][@promo_end@][%/format%]
						</div>
					</div>
				[%/if%]			
			</div>
			<div class="wkgstno">
			 	<!--- tax free start here --->
					[%if [@notax@] eq 'y'%]
						[%if ![@inpromo@]%]
						<div class="productpricetext">
							<span class="productprice" itemprop="price"  aria-label="Store Price">[%FORMAT type:'currency'%][@store_price@][%/FORMAT%] <small>([@misc6@])</small></span>
						</div>
						[%else%]
						<div class="productpricetext">
							<span class="productprice text_danger_test" itemprop="price"  aria-label="Promo Price">[%FORMAT type:'currency'%][@promo_price@] [%/FORMAT%] <small>([@misc6@])</small></span>
						</div>
						<div class="discount-deals">
							<div class="productwasprice text-muted" aria-label="Was price">
								[%FORMAT type:'currency'%][@store_price@][%/FORMAT%]
							</div>
							[%if [@save@] > 0%]
								<span class="text-danger" aria-label="RRP Price">SAVE [%format type:'percent'%][@save@][%/format%]!</span>
							[%/if%]
							<div class="productsavetext text-danger font-weight-bold">
								Sale Ends in <span id="sale-end" class="time"></span>
							</div>
							<div class="time-text" itemprop="priceValidUntil" content="[%format type:'date' format:'#Y-#M-#d'%][@promo_end@][%END format%]">
								[%format type:'date' format:' #H:#I #a, #d #K #Y'%][@promo_end@][%/format%]
							</div>
						</div>
					[%/if%]
					[%else%] 
					<!-- tax free else -->
				[%if ![@inpromo@]%]
					<div class="productpricetext">
						<span class="productprice" itemprop="price"  aria-label="Store Price">[%FORMAT type:'currency'%][%calc [@store_price@] * 0.909091 /%][%/FORMAT%] </span>
					</div>
				[%else%]
				<div class="productpricetext">
					<span class="productprice text_danger_test" itemprop="price"  aria-label="Promo Price">[%format type:'currency'%]
					[%calc [@promo_price@] * 0.909091 /%][%/format%]</span>
					[%if [@save@] > 0%]
						<span class="text-danger" aria-label="RRP Price">SAVE [%format type:'percent'%][@save@][%/format%]!</span>
					[%/if%]
				</div>
				<div class="discount-deals">
					<div class="productwasprice text-muted" aria-label="Was price">
						[%FORMAT type:'currency'%][@store_price@][%/FORMAT%]
					</div>
					[%if [@save@] > 0%]
						<span class="text-danger" aria-label="RRP Price">SAVE [%format type:'percent'%][@save@][%/format%]!</span>
					[%/if%]
					<div class="productsavetext text-danger font-weight-bold">
						Sale Ends in <span id="sale-end" class="time"></span>
					</div>
					<div class="time-text" itemprop="priceValidUntil" content="[%format type:'date' format:'#Y-#M-#d'%][@promo_end@][%END format%]">
						[%format type:'date' format:' #H:#I #a, #d #K #Y'%][@promo_end@][%/format%]
					</div>
				</div>
				[%/if%]
				[%/if%]<!--- tax free end here-->
			</div>
			[%if [@availability_description@]%]
				<div class="prod-stock" style="display:none;">
					[%if [@store_quantity@] > 0 AND [@preorder@] %]
						<span itemprop="availability" content="http://schema.org/PreOrder" class="stock-badge badge-warning">Pre-order - Released [%format type:'date'%][@arrival_date@][%/format%]</span>
					[%elseif [@store_quantity@] > 0 AND ![@preorder@] %]
						<span itemprop="availability" content="http://schema.org/InStock" class="stock-badge badge-success">In Stock</span>
					[%elseif [@store_quantity@] < 1 AND [@config:ALLOW_NOSTOCK_CHECKOUT@] %]
						<span itemprop="availability" content="http://schema.org/LimitedAvailability" class="stock-badge badge-danger">Sold Out - Backorder Available</span>
					[%else%]
						<span itemprop="availability" content="http://schema.org/OutOfStock" class="stock-badge badge-danger">Sold Out</span>
					[%/if%]
				</div>
				[%else%]
				<div class="prod-stock ummed">
					[%if [@store_quantity@] > 0 AND [@preorder@] %]
						<span itemprop="availability" content="http://schema.org/PreOrder" class="stock-badge badge-warning">Pre-order - Released [%format type:'date'%][@arrival_date@][%/format%]</span>
					[%elseif [@store_quantity@] > 0 AND ![@preorder@] %]
						<span itemprop="availability" content="http://schema.org/InStock" class="stock-badge badge-success">In Stock</span>
					[%elseif [@store_quantity@] < 1 AND [@config:ALLOW_NOSTOCK_CHECKOUT@] %]
						<span itemprop="availability" content="http://schema.org/LimitedAvailability" class="stock-badge badge-danger">Sold Out - Backorder Available</span>
					[%else%]
						<span itemprop="availability" content="http://schema.org/OutOfStock" class="stock-badge badge-danger">Sold Out</span>
					[%/if%]
				</div>
			[%/if%]

			[%if [@form:disable_scripts@] ne 'true'%]
			[%tracking_code type:'BuyingOptions' /%]
			[%/if%]	
		</div>
	[%/if%]
	<div class="wrapper-product-title share-section">
		<!-- [%if [@subtitle@]%]
			<h3 class="text-muted" role="heading" aria-label="Product Subtitle">[@subtitle@]</h3>
		[%/if%] -->
		<div class="">
			<div class="prod-share">
				<div class="dropdown">
					<button class="btn btn-default btn-sm dropdown-toggle" type="button" id="dropdownMenu[@sku@]" data-toggle="dropdown" aria-controls="shareDropdown[@sku@]" aria-label="Share product"><i class="fa fa-share-alt"></i> Share</button>
					<ul id="shareDropdown[@sku@]" class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu[@sku@]">
						<li><a class="dropdown-item js-social-share" href="//www.facebook.com/sharer/sharer.php?u=[%url_encode%][@url@][%/url_encode%]"><i class="fab fa-facebook text-facebook" aria-hidden="true"></i> Facebook</a></li>
						<li><a class="dropdown-item js-social-share" href="//twitter.com/intent/tweet/?text=[%url_encode%][@name@][%/url_encode%]&amp;url=[%url_encode%][@url@][%/url_encode%]"><i class="fab fa-twitter text-twitter" aria-hidden="true"></i> Twitter</a></li>
						<li><a class="dropdown-item js-social-share" href="//www.pinterest.com/pin/create/button/?url=[%url_encode%][@url@][%/url_encode%]&amp;media=[%url_encode%][@config:home_url@][%asset_url type:'product' id:'[@SKU@]' thumb:'full' check_parent:'y'/%][%/url_encode%]&amp;description=[%url_encode%][@name@][%/url_encode%]"><i class="fab fa-pinterest text-pinterest" aria-hidden="true"></i> Pinterest</a></li>
						<li><a class="dropdown-item js-social-share" href="//plus.google.com/share?url=[%url_encode%][@url@][%/url_encode%]"><i class="fab fa-google-plus text-google-plus" aria-hidden="true"></i> Google+</a></li>
					</ul>
				</div>
				<div class="print-btn">
					<button class="print_class" onclick="window.print()"><img src="https://www.enforcergroup.com.au/assets/image/Print.png"> Print</button>
				</div>
			</div>
		</div>
		[%if [@availability_description@]%]
			<div class="availability_description">
				<strong>Availability:</strong>
					<p>[@availability_description@]</p>
			</div>
		[%/if%]
	</div>
	<div class="col-12 p-0">
		<hr/>
	</div>

	<hr aria-hidden="true"/>
	<!-- PRODUCT OPTIONS -->
[%extra_options id:'[@SKU@]'%]
		[%param *header%]
		<table class="table table-product">
			<tr>
				<th colspan="2">
					Available Options
				</th>
			</tr>
			[%/ param%][%param *number_option%]
				<tr>
					<td>
						<label>[@name@]</label>
					</td>
					<td>
						<input name="extra[@count@]" class="form-control" id="productextra[@count@]" rel="[@SKU@]" value="">
					</td>
				</tr>
			[%/ param%][%param *text_option%]
				<tr>
					<td>
						<label>[@name@]</label>
					</td>
					<td>
						<textarea name="extra[@count@]" [%if [@length@]%]maxlength="[@length@]"[%/if%]class="form-control" id="productextra[@count@]" rel="[@SKU@]" cols="20"></textarea>
					</td>
				</tr>
			[%/ param%]
			[%param *select_option%]
				<tr>
					<td>
						<label>[@name@]</label>
					</td>
					<td>
						<select name="extra[@count@]" class="form-control" id="productextra[@count@]" rel="[@SKU@]">
							[@choices@]
						</select>
					</td>
				</tr>
			[%/ param%]
			[%param *choices%]
				<option type="text" class="form-control" value="[@option_id@]">[%nohtml%][@text@][%end nohtml%]
				[%DATA id:'price' if:'!=' value:'0'%]
					(+ [%FORMAT type:'currency'%][@price@][%/ FORMAT%])
				[%/ DATA%]
				</option>
				<div>
			[%/ param%]
			[%param *footer%]
			<input type="hidden" name="extras" value="[@total_options@]"/>
		</table>
		<hr aria-hidden="true"/>
		[%/ param%]
	[%/ extra_options%] 
</div>
Editor is loading...
Leave a Comment