Jump to content

Yonzie72

Member
  • Posts

    7
  • Joined

  • Last visited

About Yonzie72

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Yonzie72's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. yay works now tho i took out {$currency.suffix}as it only worked with usd not cad and gbp thank you thank you
  2. <link rel="stylesheet" type="text/css" href="{$WEB_ROOT}/templates/orderforms/{$carttpl}/css/style.css" property="stylesheet" /> <script> jQuery(document).ready(function () { jQuery('#btnShowSidebar').click(function () { if (jQuery(".product-selection-sidebar").is(":visible")) { jQuery('.row-product-selection').css('left','0'); jQuery('.product-selection-sidebar').fadeOut(); jQuery('#btnShowSidebar').html('<i class="fa fa-arrow-circle-right"></i> {$LANG.showMenu}'); } else { jQuery('.product-selection-sidebar').fadeIn(); jQuery('.row-product-selection').css('left','300px'); jQuery('#btnShowSidebar').html('<i class="fa fa-arrow-circle-left"></i> {$LANG.hideMenu}'); } }); }); </script> {if $showSidebarToggle} <button type="button" class="btn btn-default btn-sm" id="btnShowSidebar"> <i class="fa fa-arrow-circle-right"></i> {$LANG.showMenu} </button> {/if} <div class="row row-product-selection"> <div class="col-xs-3 product-selection-sidebar" id="supremeComparisonSidebar"> {include file="orderforms/standard_cart/sidebar-categories.tpl"} </div> <div class="col-xs-12"> <div id="order-supreme_comparison"> <div class="product-group-heading"> <div class="product-group-headline"> {if $productGroup.headline} {$productGroup.headline} {else} {$productGroup.name} {/if} </div> {if $productGroup.tagline} <div class="product-group-tagline"> {$productGroup.tagline} </div> {/if} {if $errormessage} <div class="alert alert-danger"> {$errormessage} </div> {/if} </div> <div id="products" class="price-table-container"> <ul> {$count = 1} {foreach $products as $product} <li id="product{$product@iteration}"> <div class="price-table"> <div class="product-icon"> <img src="{$WEB_ROOT}/templates/orderforms/{$carttpl}/img/bg{$count}.png" width="155" height="95" alt="Product {$product@iteration}" /> </div> <div class="product-title"> <h3 id="product{$product@iteration}-name"> {$product.name} </h3> {if $product.tagLine} <p id="product{$product@iteration}-tag-line"> {$product.tagLine} </p> {/if} </div> {if $product.isFeatured} <div class="featured-product-background"> <span class="featured-product">{$LANG.featuredProduct|upper}</span> </div> {/if} <div class="product-body"> <ul id="product{$product@iteration}-description"> {foreach $product.features as $feature => $value} <li id="product{$product@iteration}-feature{$value@iteration}"> <span>{$value}</span> {$feature} </li> {foreachelse} <li id="product{$product@iteration}-description"> {$product.description} </li> {/foreach} {if !empty($product.features) && $product.featuresdesc} <li id="product{$product@iteration}-feature-description"> {$product.featuresdesc} </li> {/if} </ul> <div class="price-area"> {assign billcycle ['monthly', 'quarterly', 'semiannually', 'annually', 'biennially', 'triennially']} {assign divisor ['monthly'=>1,'quarterly'=>3, 'semiannually'=>6, 'annually'=>12, 'biennially'=>24, 'triennially'=>36]} {assign lowestprice value=null} {foreach $billcycle as $cycle} {if $product.pricing.rawpricing.{$cycle} neq '-1.00'} {append var=lowestprice value=$product.pricing.rawpricing.{$cycle}/$divisor.{$cycle} index=$cycle} {/if} {/foreach} {$lowsort=$lowestprice|@asort} {assign minprice $lowestprice|@reset|string_format:"%.2f"} {assign mincycle $lowestprice|@key} {assign paymentterm "orderpaymentterm$mincycle"} <div class="price" id="product{$product@iteration}-price"> {if $product.bid} {if $product.displayprice} <div class="price-label">{$LANG.bundledeal}</div> <span>{$product.displayPriceSimple}</span> {else} <div class="price-single-line"> {$LANG.bundledeal} </div> {/if} {elseif $product.paytype eq "free"} <div class="price-single-line"> <span>{$LANG.orderfree}</span> </div> {elseif $product.paytype eq "onetime"} <div class="price-label">{$LANG.orderpaymenttermonetime}</div> <span>{$product.pricing.onetime}</span> {else} <div class="price-label">{$LANG.startingat}</div> <span>{$currency.prefix}{$minprice}{$currency.suffix}</span>/mo {/if} </div> {if $product.qty eq "0"} <div id="product{$product@iteration}-unavailable"> <div class="order-unavailable"> {$LANG.outofstock} </div> </div> {else} <a href="{$smarty.server.PHP_SELF}?a=add&{if $product.bid}bid={$product.bid}{else}pid={$product.pid}{/if}" id="product{$product@iteration}-order-button"> <div class="order-now"> {$LANG.ordernowbutton} </div> </a> {/if} </div> </div> {else} <a href="{$smarty.server.PHP_SELF}?a=add&{if $product.bid}bid={$product.bid}{else}pid={$product.pid}{/if}" id="product{$product@iteration}-order-button"> <div class="order-now"> {$LANG.ordernowbutton} </div> </a> {/if} </div> </div> </div> </li> {if $count eq 6} {$count = 1} {else} {$count = $count + 1} {/if} {/foreach} </ul> </div> {if count($productGroup.features) > 0} <div class="includes-features"> <div class="row clearfix"> <div class="col-md-12"> <div class="head-area"> <span> {$LANG.orderForm.includedWithPlans} </span> </div> <ul class="list-features"> {foreach $productGroup.features as $features} <li>{$features.feature}</li> {/foreach} </ul> </div> </div> </div> {/if} </div> </div> </div> now it broken ,what did I do wrong?
  3. <link rel="stylesheet" type="text/css" href="{$WEB_ROOT}/templates/orderforms/{$carttpl}/css/style.css" property="stylesheet" /> <script> jQuery(document).ready(function () { jQuery('#btnShowSidebar').click(function () { if (jQuery(".product-selection-sidebar").is(":visible")) { jQuery('.row-product-selection').css('left','0'); jQuery('.product-selection-sidebar').fadeOut(); jQuery('#btnShowSidebar').html('<i class="fa fa-arrow-circle-right"></i> {$LANG.showMenu}'); } else { jQuery('.product-selection-sidebar').fadeIn(); jQuery('.row-product-selection').css('left','300px'); jQuery('#btnShowSidebar').html('<i class="fa fa-arrow-circle-left"></i> {$LANG.hideMenu}'); } }); }); </script> {if $showSidebarToggle} <button type="button" class="btn btn-default btn-sm" id="btnShowSidebar"> <i class="fa fa-arrow-circle-right"></i> {$LANG.showMenu} </button> {/if} <div class="row row-product-selection"> <div class="col-xs-3 product-selection-sidebar" id="premiumComparisonSidebar"> {include file="orderforms/standard_cart/sidebar-categories.tpl"} </div> <div class="col-xs-12"> <div id="order-premium_comparison"> <div class="main-container price-01"> <div class="txt-center"> <h3 id="headline"> {if $productGroup.headline} {$productGroup.headline} {else} {$productGroup.name} {/if} </h3> {if $productGroup.tagline} <h5 id="tagline"> {$productGroup.tagline} </h5> {/if} {if $errormessage} <div class="alert alert-danger"> {$errormessage} </div> {/if} </div> <div id="products" class="price-table-container"> <ul> {foreach $products as $product} <li id="product{$product@iteration}"> <div class="price-table"> <div class="top-head"> <div class="top-area"> <h4 id="product{$product@iteration}-name">{$product.name}</h4> </div> {if $product.tagLine} <p id="product{$product@iteration}-tag-line">{$product.tagLine}</p> {/if} {if $product.isFeatured} <div class="popular-plan"> {$LANG.featuredProduct|upper} </div> {/if} {assign billcycle ['monthly', 'quarterly', 'semiannually', 'annually', 'biennially', 'triennially']} {assign divisor ['monthly'=>1,'quarterly'=>3, 'semiannually'=>6, 'annually'=>12, 'biennially'=>24, 'triennially'=>36]} {assign lowestprice value=null} {foreach $billcycle as $cycle} {if $product.pricing.rawpricing.{$cycle} neq '-1.00'} {append var=lowestprice value=$product.pricing.rawpricing.{$cycle}/$divisor.{$cycle} index=$cycle} {/if} {/foreach} {$lowsort=$lowestprice|@asort} {assign minprice $lowestprice|@reset|string_format:"%.2f"} {assign mincycle $lowestprice|@key} {assign paymentterm "orderpaymentterm$mincycle"} {if $product.qty eq "0"} <div id="product{$product@iteration}-unavailable"> <div class="order-unavailable"> {$LANG.outofstock} </div> </div> {else} <a href="{$smarty.server.PHP_SELF}?a=add&{if $product.bid}bid={$product.bid}{else}pid={$product.pid}{/if}" id="product{$product@iteration}-order-button"> <div class="order-now"> {$LANG.ordernowbutton} </div> </a> {/if} </div> </div> <ul> {foreach $product.features as $feature => $value} <li id="product{$product@iteration}-feature{$value@iteration}"> {$value} {$feature} </li> {foreachelse} <li id="product{$product@iteration}-description"> {$product.description} </li> {/foreach} </ul> </div> </li> {/foreach} </ul> </div> </div> {if count($productGroup.features) > 0} <div class="includes-features"> <div class="row clearfix"> <div class="col-md-12"> <div class="head-area"> <span> {$LANG.orderForm.includedWithPlans} </span> </div> <ul class="list-features"> {foreach $productGroup.features as $features} <li>{$features.feature}</li> {/foreach} </ul> </div> </div> </div> {/if} </div> </div> </div> thats my code for products.tpl
  4. sorry , i lose my words when I am tired, it works for vps but none of my other categories , http://billing.fitsthebudget.com/index.php
  5. doesn't seem to work. Is there a way to replace the price section to be a drop down box instead like in some of the other orderforms?
  6. How do I do that and have the lowest price showing as the starting at price right now it shows the staring at highest price
  7. I have a question, i seem to only get starting at pricing on certain products i offer. I have checked the settings. I am running 6.2.2 and am using the supreme comparison theme and a custom 6 theme thruout. what am i missing? Did I configure something wrong.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated