PATH:
home
/
sparklp6
/
public_html
/
sparklerfilters-org
/
components
/
com_j2store
/
templates
/
bootstrap3
<?php /** * @package J2Store * @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org * @license GNU GPL v3 or later */ // No direct access defined('_JEXEC') or die; $product = $this->singleton_product; $params = $this->singleton_params; ?> <?php echo J2Store::plugin()->eventWithHtml('BeforeRenderingProductPrice', array($product)); ?> <?php if($params->get('item_show_product_base_price', 1) || $params->get('item_show_product_special_price', 1)): ?> <div class="product-price-container"> <?php if($params->get('item_show_product_base_price', 1) && $product->pricing->base_price != $product->pricing->price): ?> <?php $class='';?> <?php if(isset($product->pricing->is_discount_pricing_available)) $class='strike'; ?> <div class="base-price <?php echo $class?>"> <span class="product-element-value"> <?php echo J2Store::product()->displayPrice($product->pricing->base_price, $product, $params);?> </span> </div> <?php endif; ?> <?php if($params->get('item_show_product_special_price', 1)): ?> <div class="sale-price"> <span class="product-element-value"> <?php echo J2Store::product()->displayPrice($product->pricing->price, $product, $params);?> </span> </div> <?php endif; ?> <?php if($params->get('display_price_with_tax_info', 0) ): ?> <div class="tax-text"> <?php echo J2Store::product()->get_tax_text(); ?> </div> <?php endif; ?> </div> <?php endif; ?> <?php echo J2Store::plugin()->eventWithHtml('AfterRenderingProductPrice', array($product)); ?> <?php if($params->get('item_show_discount_percentage', 1) && isset($product->pricing->is_discount_pricing_available)): ?> <?php $discount =(1 - ($product->pricing->price / $product->pricing->base_price) ) * 100; ?> <?php if($discount > 0): ?> <div class="discount-percentage"> <?php echo round($discount).' % '.JText::_('J2STORE_PRODUCT_OFFER');?> </div> <?php endif; ?> <?php endif; ?>
[-] default_options.php
[edit]
[-] default_images.php
[edit]
[-] view_title.php
[edit]
[-] view_images.php
[edit]
[-] view_downloadable.php
[edit]
[-] default_sku.php
[edit]
[-] view_simple.php
[edit]
[-] view_notabs.php
[edit]
[-] view_options.php
[edit]
[-] default_description.php
[edit]
[-] view_price.php
[edit]
[-] view_sku.php
[edit]
[-] price.php
[edit]
[-] default_configurable.php
[edit]
[-] default_price.php
[edit]
[-] view_tabs.php
[edit]
[-] default.php
[edit]
[-] view_configurableoptions.php
[edit]
[-] default_configurableoptions.php
[edit]
[-] default_variableoptions.php
[edit]
[-] view_cart.php
[edit]
[-] default_filters.php
[edit]
[-] cart.php
[edit]
[-] default_cart.php
[edit]
[-] default_downloadable.php
[edit]
[-] view_stock.php
[edit]
[-] default_simple.php
[edit]
[-] view_ldesc.php
[edit]
[-] view_brand.php
[edit]
[-] view_crosssells.php
[edit]
[-] view_configurable.php
[edit]
[-] view.php
[edit]
[-] default_sortfilter.php
[edit]
[-] default_title.php
[edit]
[-] view_sdesc.php
[edit]
[-] view_variableoptions.php
[edit]
[-] default_variable.php
[edit]
[-] view_upsells.php
[edit]
[-] view_specs.php
[edit]
[+]
..
[-] default_stock.php
[edit]
[-] view_variable.php
[edit]