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/classy_pr_vars.sst
# determines if subproducts are to be used for cross-sell or as normal subproducts.
[-- VAR.cross_sell_subproducts "true" --]


# Name Style #
  [-- IF PRODUCT.NameStyle "Plain" --]
    [-- VAR.pr_name_style "" --]
  [-- ELSE_IF PRODUCT.NameStyle "Typewriter" --]
    [-- VAR.pr_name_style "font-family: Courier New, Courier, monospace;" --]
  [-- ELSE_IF PRODUCT.NameStyle "Italic" --]
    [-- VAR.pr_name_style "font-style: italic;" --]
  [-- ELSE --]
    [-- VAR.pr_name_style "font-weight: bold;" --]
  [-- END_IF --]
  
# Price Style #
  [-- IF PRODUCT.PriceStyle "Plain" --]
    [-- VAR.pr_price_style "" --]
    [-- VAR.pr_alt_price_style "" --]
    [-- VAR.pr_sale_price_style "" --]
    [-- VAR.pr_sale_alt_price_style "" --]
    [-- VAR.pr_sale_reg_price_style "" --]
    [-- VAR.pr_sale_reg_alt_price_style "" --]
  [-- ELSE_IF PRODUCT.PriceStyle "Typewriter" --]
    [-- VAR.pr_price_style "font-family: Courier New, Courier, monospace;" --]
    [-- VAR.pr_alt_price_style "font-family: Courier New, Courier, monospace;" --]
    [-- VAR.pr_sale_price_style "font-family: Courier New, Courier, monospace;" --]
    [-- VAR.pr_sale_alt_price_style "font-family: Courier New, Courier, monospace;" --]
    [-- VAR.pr_sale_reg_price_style "font-family: Courier New, Courier, monospace;" --]
    [-- VAR.pr_sale_reg_alt_price_style "font-family: Courier New, Courier, monospace;" --]
  [-- ELSE_IF PRODUCT.PriceStyle "Italic" --]
    [-- VAR.pr_price_style "font-style: italic;" --]
    [-- VAR.pr_alt_price_style "font-style: italic;" --]
    [-- VAR.pr_sale_price_style "font-style: italic;" --]
    [-- VAR.pr_sale_alt_price_style "font-style: italic;" --]
    [-- VAR.pr_sale_reg_price_style "font-style: italic;" --]
    [-- VAR.pr_sale_reg_alt_price_style "font-style: italic;" --]
  [-- ELSE --]
    [-- VAR.pr_price_style "font-weight: bold;" --]
    [-- VAR.pr_alt_price_style "font-weight: bold;" --]
    [-- VAR.pr_sale_price_style "font-weight: bold;" --]
    [-- VAR.pr_sale_alt_price_style "font-weight: bold;" --]
    [-- VAR.pr_sale_reg_price_style "font-weight: bold;" --]
    [-- VAR.pr_sale_reg_alt_price_style "font-weight: bold;" --]
  [-- END_IF --]
    
# SKU Style #
  [-- IF PRODUCT.SKUStyle "Bold" --]
    [-- VAR.pr_sku_style "font-weight: bold;" --]
  [-- ELSE_IF PRODUCT.SKUStyle "Typewriter" --]
    [-- VAR.pr_sku_style "font-family: Courier New, Courier, monospace;" --]
  [-- ELSE_IF PRODUCT.SKUStyle "Italic" --]
    [-- VAR.pr_sku_style "font-style: italic;" --]
  [-- ELSE --]
    [-- VAR.pr_sku_style "" --]
  [-- END_IF --]
  
# Description Style #
  [-- IF PRODUCT.DescriptionStyle "Bold" --]
    [-- VAR.pr_desc_style "font-weight: bold;" --]
  [-- ELSE_IF PRODUCT.DescriptionStyle "Typewriter" --]
    [-- VAR.pr_desc_style "font-family: Courier New, Courier, monospace;" --]
  [-- ELSE_IF PRODUCT.DescriptionStyle "Italic" --]
    [-- VAR.pr_desc_style "font-style: italic;" --]
  [-- ELSE --]
    [-- VAR.pr_desc_style "" --]
  [-- END_IF --]
  
# Name Size #
  [-- IF PRODUCT.NameSize "Big" --]
    [-- VAR.pr_name_size "font-size: 140%;" --]
  [-- ELSE_IF PRODUCT.NameSize "Small" --]
    [-- VAR.pr_name_size "" --]
  [-- ELSE --]
    [-- VAR.pr_name_size "font-size: 120%" --]
  [-- END_IF --]
  
# Price Size #
  [-- IF PRODUCT.PriceSize "Big" --]
    [-- VAR.pr_price_size "font-size: 140%;" --]
    [-- VAR.pr_alt_price_size "font-size: 140%;" --]
    [-- VAR.pr_sale_price_size "font-size: 140%;" --]
    [-- VAR.pr_sale_alt_price_size "font-size: 140%;" --]
    [-- VAR.pr_sale_reg_price_size "font-size: 140%;" --]
    [-- VAR.pr_sale_reg_alt_price_size "font-size: 140%;" --]
  [-- ELSE_IF PRODUCT.PriceSize "Small" --]
    [-- VAR.pr_price_size "" --]
    [-- VAR.pr_alt_price_size "" --]
    [-- VAR.pr_sale_price_size "" --]
    [-- VAR.pr_sale_alt_price_size "" --]
    [-- VAR.pr_sale_reg_price_size "" --]
    [-- VAR.pr_sale_reg_alt_price_size "" --]
  [-- ELSE --]
    [-- VAR.pr_price_size "font-size: 120%;" --]
    [-- VAR.pr_alt_price_size "font-size: 120%;" --]
    [-- VAR.pr_sale_price_size "font-size: 120%;" --]
    [-- VAR.pr_sale_alt_price_size "font-size: 120%;" --]
    [-- VAR.pr_sale_reg_price_size "font-size: 120%;" --]
    [-- VAR.pr_sale_reg_alt_price_size "font-size: 120%;" --]
  [-- END_IF --]
  
# SKU Size #
  [-- IF PRODUCT.SKUSize "Big" --]
    [-- VAR.pr_sku_size "font-size: 120%;" --]
  [-- ELSE_IF PRODUCT.SKUSize "Normal" --]
    [-- VAR.pr_sku_size "" --]
  [-- ELSE --]
    [-- VAR.pr_sku_size "font-size: 80%;" --]
  [-- END_IF --]
  
# Description Size #
  [-- IF PRODUCT.DescriptionSize "Big" --]
    [-- VAR.pr_desc_size "font-size: 120%;" --]
  [-- ELSE_IF PRODUCT.DescriptionSize "Small" --]
    [-- VAR.pr_desc_size "font-size: 80%;" --]
  [-- ELSE --]
    [-- VAR.pr_desc_size "" --]
  [-- END_IF --]

# If there's a graphic, show it. #
  [-- IF PRODUCT.DisplayGraphic "checked" --]
    [-- IF PRODUCT.Graphic --]
      [-- VAR.pr_show_graphic "true" --]
    [-- ELSE --]
      [-- VAR.pr_show_graphic "false" --]
    [-- END_IF --]
  [-- ELSE --]
    [-- VAR.pr_show_graphic "false" --]
  [-- END_IF --]

# Make a link if there's a more info page. #
  [-- IF PRODUCT.DisplayMoreInformationPage "checked" --]
    [-- VAR.pr_info_link_made "false" --]
    [-- VAR.pr_info_link_text "More Info..." --]
  [-- ELSE --]
    [-- VAR.pr_info_link_made "true" --]
  [-- END_IF --]

# Determine what the product name should be #
  [-- IF PRODUCT.DisplayName "checked" --]
    [-- VAR.pr_name PRODUCT.Name --]
    [-- VAR.pr_tell_friend_text PRODUCT.Name --]
    [-- VAR.pr_show_product_info "true" --]
  [-- ELSE_IF PRODUCT.DisplaySKU "checked" --]
    [-- VAR.pr_name PRODUCT.SKU --]
    [-- VAR.pr_tell_friend_text PRODUCT.SKU --]
    [-- VAR.pr_show_product_info "true" --]
  [-- ELSE_IF PRODUCT.DisplayPrice "checked" --]
    [-- VAR.pr_name "" --]
    [-- VAR.pr_tell_friend_text "" --]
    [-- VAR.pr_show_product_info "true" --]
  [-- ELSE --]
    [-- VAR.pr_name "" --]
    [-- VAR.pr_tell_friend_text "" --]
    [-- VAR.pr_show_product_info "false" --]
  [-- END_IF --]
  
# Determine what the product title should be #
  [-- IF PRODUCT.MoreInformationTitle --]
    [-- VAR.pr_title PRODUCT.MoreInformationTitle --]
  [-- ELSE --]
    [-- VAR.pr_title VAR.pr_name --]
  [-- END_IF --]
    
# Determine whether or not to show purchase information #
  [-- IF PRODUCT.NumSubProducts "0" --]
    [-- VAR.pr_subproducts "false" --]
    [-- VAR.pr_show_purchase_info "true" --]
  [-- ELSE --]
    [-- VAR.pr_subproducts "true" --]
    [-- IF VAR.cross_sell_subproducts "true" --]
      [-- VAR.pr_show_purchase_info "true" --]
      [-- IF PRODUCT.NumSubProducts "1" --]
        [-- VAR.pr_cross_sell_text "This May Also Interest You:" --]
      [-- ELSE --]
        [-- VAR.pr_cross_sell_text "These May Also Interest You:" --]
      [-- END_IF --]
    [-- ELSE --]
      [-- VAR.pr_show_purchase_info "false" --]
    [-- END_IF --]
  [-- END_IF --]
  
  [-- IF VAR.pr_show_product_info "true" --]
    [-- IF VAR.pr_show_purchase_info "true" --]
      [-- VAR.pr_2_info_cols "true" --]
    [-- ELSE --]
      [-- VAR.pr_2_info_cols "false" --]
    [-- END_IF --]
  [-- ELSE --]
    [-- VAR.pr_2_info_cols "false" --]
  [-- END_IF --]
  
# Determine if we should make a form #
  [-- IF VAR.pr_show_purchase_info "true" --]
    [-- IF PRODUCT.VariablePrice? --]
      [-- VAR.pr_make_form "true" --]
      [-- IF  PRODUCT.VariableName? --]
        [-- VAR.pr_variable_name "true" --]
      [-- ELSE --]
        [-- VAR.pr_variable_name "false" --]
      [-- END_IF --]
      [-- IF PRODUCT.VariableSKU? --]
        [-- VAR.pr_variable_sku "true" --]
      [-- ELSE --]
        [-- VAR.pr_variable_sku "false" --]
      [-- END_IF --]
    [-- ELSE_IF PRODUCT.DisplayOrderQuantity "checked" --]
      [-- VAR.pr_make_form "true" --]
      [-- VAR.pr_variable_name "false" --]
      [-- VAR.pr_variable_sku "false" --]
    [-- ELSE_IF PRODUCT.DisplayOrderingOptions "checked" --]
      [-- VAR.pr_make_form "true" --]
      [-- VAR.pr_variable_name "false" --]
      [-- VAR.pr_variable_sku "false" --]
    [-- ELSE --]
      [-- VAR.pr_make_form "false" --]
      [-- VAR.pr_variable_name "false" --]
      [-- VAR.pr_variable_sku "false" --]
    [-- END_IF --]
  [-- ELSE --]
    [-- VAR.pr_make_form "false" --]
    [-- VAR.pr_variable_name "false" --]
    [-- VAR.pr_variable_sku "false" --]
  [-- END_IF --]
  
  [-- IF AddText --]
    [-- VAR.pr_addtocart_text AddText --]
  [-- ELSE_IF STORE.DisplayAddToCartText "checked" --]
    [-- VAR.pr_addtocart_text STORE.AddToCart --]
  [-- ELSE --]
    [-- VAR.pr_addtocart_text "Add To Cart" --]
  [-- END_IF --]
  
  [-- IF ViewText --]
    [-- VAR.pr_viewcart_text ViewText --]
  [-- ELSE_IF STORE.DisplayViewCartText "checked" --]
    [-- VAR.pr_viewcart_text STORE.ViewCart --]
  [-- ELSE --]
    [-- VAR.pr_viewcart_text "View Cart" --]
  [-- END_IF --]

haha - 2025