Prv8 Shell
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/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/jackjohn/public_html/cgi-bin/sc/templates/includes/Product-Price-VP.sst
# NOTE: Quantity Pricing overrides other pricing options
# and is handled in the Product-AddToCartButton section
[-- VAR.SaleOn "no" --]

[-- IF PRODUCT.SaleOn--]
  [-- IF PRODUCT.SaleAmount --]
    [-- VAR.SaleOn "yes" --]
  [-- END_IF --]
[-- END_IF --]

[-- IF PRODUCT.DisplayPrice --]
    <br>

  [-- IF PRODUCT.VariablePrice? --]
    <b>[-- VAR.VP_Price --]:</b> [-- STORE.CurrencySymbol --]<input type="text" name="[-- PRODUCT.RecordNumber --]:price" size="4" maxlength="10" value="">
  [-- ELSE --]

    [-- IF VAR.SaleOn "yes" --]
      <strike>[-- PRODUCT.Price --]</strike>
      [-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --][-- PRODUCT.SaleAmount --][-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
      [-- IF PRODUCT.AltPrice--]
        <strike>[-- PRODUCT.AltPrice --]</strike>
        [-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --][-- PRODUCT.AltSaleAmount --][-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
      [-- END_IF --]
      [-- STORE.OnSaleText --]

    [-- ELSE --]
# product is not on sale
      [-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --][-- PRODUCT.Price --][-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
      [-- IF PRODUCT.AltPrice--]
        [-- PRODUCT.AltPrice --]
      [-- END_IF --]
    [-- END_IF --]
  [-- END_IF --]
[-- ELSE --]  
# merchant does not want price displayed, but is there a sale price?
  [-- IF PRODUCT.VariablePrice? --]
#don't display sale price
  [-- ELSE_IF VAR.SaleOn "yes" --]
#   display sale price, but not regular price
    [-- IF VAR.MoreInfoPage "yes" --]
# do nothing
    [-- ELSE --]
      <br>
    [-- END_IF --]

    [-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --][-- PRODUCT.SaleAmount --][-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
    [-- IF PRODUCT.AltPrice--]
      [-- PRODUCT.PriceSize Begin --][-- PRODUCT.PriceStyle Begin --][-- PRODUCT.AltSaleAmount --][-- PRODUCT.PriceStyle End --][-- PRODUCT.PriceSize End --]
    [-- END_IF --]
    [-- STORE.OnSaleText --]
  [-- END_IF --]

[-- END_IF --]

haha - 2025