nhouck Posted September 2, 2008 Share Posted September 2, 2008 I need to remove the $$ amount from the billing cycle dropdown. Our pricing is reflected in the config options, we want to remove it from the dropdown cause it makes us look like complete retards having it like so: $.01 Monthly $.01 Quarterly $.01 Semi Annually $.01 Yearly 10 slots - $20.00 12 slots - $24.00 etc. 0 Quote Link to comment Share on other sites More sharing options...
meathead Posted May 14, 2009 Share Posted May 14, 2009 Me 2 does anyone know how to fix this or remove it? 0 Quote Link to comment Share on other sites More sharing options...
nhouck Posted May 14, 2009 Author Share Posted May 14, 2009 I figured out you can do this by editing the template files. Unfortunately once you do this, all products will have it removed, so products that don't use config options will show no price. 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted January 26, 2010 Share Posted January 26, 2010 Just wanted to update this, it doesn't have to do it for all products, as you can have conditionals around either the entire block of pricing, or within the options themselves. The easiest way (on the eyes anyway) is to put a conditional around the options, as shown below: {if $productinfo.groupname == 'My Product Group ' } <input type="hidden" name="previousbillingcycle" value="{$billingcycle}" /> <div class="cartbox"> {if $pricing.type eq "free"} <input type="hidden" name="billingcycle" value="free" /> {$LANG.orderfree} {elseif $pricing.type eq "onetime"} <input type="hidden" name="billingcycle" value="onetime" /> {$pricing.onetime} {$LANG.orderpaymenttermonetime} {else} <select name="billingcycle" onchange="submit()"> {if $pricing.monthly}<option value="monthly"{if $billingcycle eq "monthly"} selected="selected"{/if}>{if $pricing.rawpricing.monthly != "0.00"}{$pricing.monthly}</option>{else}Monthly</option>{/if}{/if} {if $pricing.quarterly}<option value="quarterly"{if $billingcycle eq "quarterly"} selected="selected"{/if}>{if $pricing.rawpricing.quarterly != "0.00"}{$pricing.quarterly}</option>{else}Quarterly</option>{/if}{/if} {if $pricing.semiannually}<option value="semiannually"{if $billingcycle eq "semiannually"} selected="selected"{/if}>{if $pricing.rawpricing.semiannually != "0.00"}{$pricing.semiannually}</option>{else}Semi-Annually</option>{/if}{/if} {if $pricing.annually}<option value="annually"{if $billingcycle eq "annually"} selected="selected"{/if}>{if $pricing.rawpricing.annually != "0.00"}{$pricing.annually}</option>{else}Annually</option>{/if}{/if} {if $pricing.biennially}<option value="biennially"{if $billingcycle eq "biennially"} selected="selected"{/if}>{if $pricing.rawpricing.biennially != "0.00"}{$pricing.biennially}</option>{else}Beinnially</option>{/if}{/if} </select> {/if} {else} <input type="hidden" name="previousbillingcycle" value="{$billingcycle}" /> <div class="cartbox"> {if $pricing.type eq "free"} <input type="hidden" name="billingcycle" value="free" /> {$LANG.orderfree} {elseif $pricing.type eq "onetime"} <input type="hidden" name="billingcycle" value="onetime" /> {$pricing.onetime} {$LANG.orderpaymenttermonetime} {else} <select name="billingcycle" onchange="submit()"> {if $pricing.monthly}<option value="monthly"{if $billingcycle eq "monthly"} selected="selected"{/if}>{$pricing.monthly}</option>{/if} {if $pricing.quarterly}<option value="quarterly"{if $billingcycle eq "quarterly"} selected="selected"{/if}>{$pricing.quarterly}</option>{/if} {if $pricing.semiannually}<option value="semiannually"{if $billingcycle eq "semiannually"} selected="selected"{/if}>{$pricing.semiannually}</option>{/if} {if $pricing.annually}<option value="annually"{if $billingcycle eq "annually"} selected="selected"{/if}>{$pricing.annually}</option>{/if} {if $pricing.biennially}<option value="biennially"{if $billingcycle eq "biennially"} selected="selected"{/if}>{$pricing.biennially}</option>{/if} </select> {/if} {/if} Obviously you just need to replace the 'My Product Group' value with the name of your product group EXACTLY. Bear in mind, this doesn't accept the $gid variable, as it isn't pulled on this page, so you do need to use the actual groups name. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.