|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /home/jackjohn/public_html/cgi-bin/sc/templates/products/ |
Upload File : |
# Design By Lauren. Copyright ShopSite Inc.
[-- DEFINE PRODUCT --][-- VAR.ForceSubProductType "" --][-- VAR.ProductName STORE.ProductName --][-- VAR.Sku STORE.Sku --][-- VAR.Price STORE.Price --][-- INCLUDE VAR.ProductDefine PROCESS --][-- END_DEFINE PRODUCT --]
#########################################################################
[-- DEFINE SUBPRODUCT --][-- IF VAR.SubProductType "select" --]<option value="[-- PRODUCT.RecordNumber --]">[-- IF PRODUCT.DisplayName --][-- PRODUCT.Name REMOVE_HTML --] [-- ELSE_IF PRODUCT.DisplaySku --][-- IF PRODUCT.Sku --][-- PRODUCT.Sku --][-- END_IF --][-- END_IF --][-- IF PRODUCT.DisplayPrice --] [-- IF PRODUCT.SaleAmount --][-- IF PRODUCT.SaleOn --]([-- PRODUCT.SaleAmount --] [-- STORE.OnSaleText --])[-- ELSE --]([-- PRODUCT.Price --])[-- END_IF --][-- ELSE --]([-- PRODUCT.Price --])[-- END_IF --][-- END_IF --]</option>
[-- ELSE --]<span class="bb-sub"><input type="[-- VAR.SubProductType --]" name="itemnum" value="[-- PRODUCT.RecordNumber --]">[-- IF PRODUCT.MinimumQuantity GE "1" --]<input type="hidden" name="[-- PRODUCT.RecordNumber --]:qnty" value="[-- PRODUCT.MinimumQuantity --]">[-- END_IF --][-- IF PRODUCT.DisplayName --][-- PRODUCT.Name REMOVE_HTML --] [-- ELSE_IF PRODUCT.DisplaySku --][-- IF PRODUCT.Sku --][-- PRODUCT.Sku --][-- END_IF --][-- END_IF --][-- IF PRODUCT.DisplayPrice --][-- IF PRODUCT.SaleAmount --][-- IF PRODUCT.SaleOn --]<span class="bb-prodprcreg">[-- PRODUCT.Price --]</span> <span class="bb-prodprcsale bb-subprcsale">[-- PRODUCT.SaleAmount --]</span>[-- ELSE --]<span class="bb-subprc [-- PRODUCT.PriceStyle --] [-- PRODUCT.PriceSize --]">[-- PRODUCT.Price --]</span>[-- END_IF --][-- ELSE --]<span class="bb-subprc [-- PRODUCT.PriceStyle --] [-- PRODUCT.PriceSize --]">[-- PRODUCT.Price --]</span>[-- END_IF --][-- END_IF --]</span>
[-- END_IF --][-- END_DEFINE SUBPRODUCT --]
#########################################################################
[-- DEFINE PRODUCT_CROSS_SELL --][-- INCLUDE VAR.ProductCrossSellDefine.sst PROCESS --][-- END_DEFINE PRODUCT_CROSS_SELL --]
#########################################################################
[-- DEFINE MORE_INFO_PAGE --]
[-- VAR.Type "mi" --][-- INCLUDE BB-VARs-DOCTYPE.sst PROCESS --]
[-- VAR.ProductName STORE.ProductName --][-- VAR.Sku STORE.Sku --][-- VAR.Price STORE.Price --]
[-- VAR.DescriptionColumns "no" --]
[-- INCLUDE BB-ProductHead.sst PROCESS --]
[-- INCLUDE BB-Head.sst PROCESS --]
[-- IF VAR.AdvancedPageSpeed "yes" --][-- INCLUDE BB-EndHead.sst --][-- ELSE --]</head>[-- END_IF --]
<body class="fullwidth bb-pr-product">
[-- INCLUDE VAR.Header PROCESS --]
[-- INCLUDE BB-ProductPageContent.sst PROCESS --]
[-- INCLUDE VAR.Footer PROCESS --]
[-- INCLUDE BB-FooterScripts.sst PROCESS --]
[-- INCLUDE QuickAjaxAddToCart.sst PROCESS --]
[-- INCLUDE MoreInfoImageRow-JavaScript.sst PROCESS --]
[-- IF PRODUCT.DisplayPrice --][-- IF PRODUCT.SubProduct --][-- ELSE --]
<script>function updatePrice(prodcontainer) {var price = [-- IF PRODUCT.SaleAmount --][-- PRODUCT.SaleAmount RAW_NUMBER --][-- ELSE --][-- PRODUCT.Price RAW_NUMBER --][-- END_IF --];ss_jQuery("#"+prodcontainer+" select option:selected").each(function(){var optionval = ss_jQuery(this).val();if(optionval.indexOf(';=') > -1){price=parseFloat(optionval.substring(optionval.indexOf(';=')+2))||price;} else if(optionval.match(/;[*xX]/)) {price *= parseFloat(optionval.substring(optionval.indexOf(';')+2))||1;}else if(optionval.indexOf(';') > -1 && optionval.indexOf(';n') == -1) {price += parseFloat(optionval.substring(optionval.indexOf(';')+1))||0;}});price = Number(price).toLocaleString('[-- Locale_Name --]', { style: 'decimal', maximumFractionDigits : 2, minimumFractionDigits : 2 });ss_jQuery("#"+prodcontainer+" .bb-saleprice:nth-child(1) span").html(price);}
ss_jQuery("div#bb-miopt select").change(function(){updatePrice("bb-inner");});
</script>
[-- END_IF --][-- END_IF --]
[-- INCLUDE json-microdata.sst PROCESS --]
[-- IF PayPal_Credit_Message --][-- PAYPAL_CREDIT_MESSAGE_SCRIPT --][-- END_IF --]
</body>
</html>
[-- END_DEFINE MORE_INFO_PAGE --]