chikarkas36 Posted December 17, 2009 Share Posted December 17, 2009 hey i need to remove the zeros from pricing in tcadmin advanced module look this help please looks like this : Billing Cycle 0.00 1 Month (Month to Month) 0.00 3 Months Prepay - 10% Discount 0.00 6 Months Prepay - 15% Discount i need to look like this Billing Cycle 1 Month (Month to Month) 3 Months Prepay - 10% Discount 6 Months Prepay - 15% Discount i try this but ist no working when i change the code just numbers and price turn blank help me pleaase? {if $pricing.rawpricing.monthly eq "0.00"}1 Month (Month to Month){else}{$pricing.monthly}{/if} 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted May 9, 2010 Share Posted May 9, 2010 HI Try replacing your code for the price field with this.... <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> This is based on the Web 2.0 format, but can easily be applied to any of the other layouts. 0 Quote Link to comment Share on other sites More sharing options...
Evcthosting Posted September 28, 2010 Share Posted September 28, 2010 (edited) any chance someone could further define where the "pricing field" is located in other areas of the script aside from the the Tcadmin module? Thanks we are trying to allow the users to pick billing without having $0.00 in the billing cycle as seen here: thanks in advance for any help Edited September 28, 2010 by Evcthosting 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.