durangod Posted January 17, 2013 Share Posted January 17, 2013 I set up a product with prices input such as this. One Time/Monthly -1.00 Quarterly -1.00 Semi-Annually -1.00 Annually 54.00 Biennially -1.00 Triennially -1.00 Then i chose recurring. and on the comparison order form it does not shot the annual price. The only way i could get the price to show to acomplish my task is to set it as one time , put the price in the one time input area, and make annual -1.00. Then i had to change my description of the plan. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted January 17, 2013 Share Posted January 17, 2013 Hello, I've been unable to replicate this. Can you please submit a ticket and attn: chris to it so I can take a look? Please include login credentials in the initial ticket so we can expedite the resolve. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 17, 2013 Author Share Posted January 17, 2013 i tried to do a ticket and got a service not available screen over capacity. Will try later. do you want me to do some screen shots to show you my results as i am not keen on sharing my admin login with anyone for security reasons. 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 17, 2013 Author Share Posted January 17, 2013 can someone check your whmcs servers please, i keep getting service not available when doing a ticket, is there a problem with the server are you getting overloaded or what. thanks 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 17, 2013 Author Share Posted January 17, 2013 ok got it here is the ticket number sir #231652 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 I should have checked out the time before giving my signon info, i dont ever expect you all to not have a life outside of whmcs or to stay late just for me, go out and enjoy life after work with your friends. I am just saying that if i had realized it was quitting time for you all, i would have waited until morning there your time to give you the info. Because i have been a anxious wreck knowing my signon info is floating out there and im just sitting here, i wont be able to sleep until i get this ticket done or my logins changed and get it secured again. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS JamesX Posted January 18, 2013 Share Posted January 18, 2013 You realize that you can create a temporary administrator account for WHMCS support with whatever permissions are needed to do the job and then delete the account afterwards, eh? That way, you don't have to give out your own personal credentials to anybody. 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 @ JS-James lol no sir i did not know that omg never even thought of doing that, i wish they would have suggest that as well. I was trying to relax a bit and all of a sudden i thought oh wow i talk about security then i talk about what kind of info is on the ticket and my ticket number is on the open forum lmao... thats why i would never make it as a spy, i would flunk out of spy 101 first day lol... 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 I now have a There is a problem with this website's security certificate. warning that i never had before, i hope this is them checking stuff out and running some tests... 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 well its 1pm now in london and i have been up all night here in USA in case i got a message about my ticket, the problem must be extensive i guess for it to take this long. I hope they get it figured out. 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 When you all close for the weekend i am closing the ticket and i will just live with the issue. I will not allow my security to be exposed all weekend long. It was hard enough for me to give you that information in the first place. Cant you just download my version and put it on your test site and when you find the issue you can give me the corrected files. I guess dont understand why i have to sit here with my lively hood exposed for so long on this issue. I dont care about the issue right now, i care about the fact that my whole life is right there and vulnerable now. Please let me know if anything you are doing.. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted January 18, 2013 Share Posted January 18, 2013 Update. This is not a bug, but the way the comparison cart is coded. It currently only specifies monthly terms. I've responded to your ticket Dave with the appropriate fix suited for you to reflect monthly or annual billing in the comparison template. The modifications would be to ./path/to/whmcs/templates/orderforms/comparison/products.tpl, and update to: {foreach key=num item=product from=$products} <div class="prodtablecol"> <div class="{if $num % 2 == 0}a{else}b{/if}header{if !count($products.0.features)}expandable{/if}"> <span class="title">{$product.name}</span><br /> {if $product.bid} {$LANG.bundledeal}{if $product.displayprice} {$product.displayprice}{/if} {elseif $product.paytype eq "free"} {$LANG.orderfree} {elseif $product.paytype eq "onetime"} {$product.pricing.onetime} {$LANG.orderpaymenttermonetime} {elseif} {$product.pricing.monthly} {else} {$product.pricing.annually} {/if}<br /> </div> 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 Thank you Chris, appreciate the feedback, and sorry im a bit of a grump, i been up all night and im just exhausted.. Enjoy your weekend... thanks again. 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 well chris that just gives me a white page.. i replaced the old with this {foreach key=num item=product from=$products} <div class="prodtablecol"> <div class="{if $num % 2 == 0}a{else}b{/if}header{if !count($products.0.features)}expandable{/if}"> <span class="title">{$product.name}</span><br /> {if $product.bid} {$LANG.bundledeal}{if $product.displayprice} {$product.displayprice}{/if} {elseif $product.paytype eq "free"} {$LANG.orderfree} {elseif $product.paytype eq "onetime"} {$product.pricing.onetime} {$LANG.orderpaymenttermonetime} {elseif} {$product.pricing.monthly} {else} {$product.pricing.annually} {/if}<br /> </div> 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 this works fine, no blank page (i removed the annual code) {$product.pricing.onetime} {$LANG.orderpaymenttermonetime} {else} {$product.pricing.monthly} but this will not work - blank page {$product.pricing.onetime} {$LANG.orderpaymenttermonetime} {elseif} {$product.pricing.monthly} {else} {$product.pricing.annually} 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 i think i got it just had to put in a eq "value" for the elseif {elseif $product.paytype eq "monthly"} {$product.pricing.monthly} {else} {$product.pricing.annually} so the whole thing should look like this {foreach key=num item=product from=$products} <div class="prodtablecol"> <div class="{if $num % 2 == 0}a{else}b{/if}header{if !count($products.0.features)}expandable{/if}"> <span class="title">{$product.name}</span><br /> {if $product.bid} {$LANG.bundledeal}{if $product.displayprice} {$product.displayprice}{/if} {elseif $product.paytype eq "free"} {$LANG.orderfree} {elseif $product.paytype eq "onetime"} {$product.pricing.onetime} {$LANG.orderpaymenttermonetime} {elseif $product.paytype eq "monthly"} {$product.pricing.monthly} {else} {$product.pricing.annually} {/if}<br /> </div> 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 by the way does anyone happen to know the text value for quarterly, semi annual, bi annual for this statement in case i want to add those as well. {elseif $product.paytype eq "monthly"} I just need the exact paytype text value that is accurate (text wize) for those extra items. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted January 18, 2013 Share Posted January 18, 2013 This worked perfectly for me - please make sure you updated the sections correctly. If you want me to upload the file, I will. {foreach key=num item=product from=$products} <div class="prodtablecol"> <div class="{if $num % 2 == 0}a{else}b{/if}header{if !count($products.0.features)}expandable{/if}"> <span class="title">{$product.name}</span><br /> {if $product.bid} {$LANG.bundledeal}{if $product.displayprice} {$product.displayprice}{/if} {elseif $product.paytype eq "free"} {$LANG.orderfree} {elseif $product.paytype eq "onetime"} {$product.pricing.onetime} {$LANG.orderpaymenttermonetime} {elseif $product.pricing.monthly} {$product.pricing.monthly} {else} {$product.pricing.annually} {/if}<br /> </div> 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 18, 2013 Author Share Posted January 18, 2013 let me get this cert issue handled and then i will attack this, it does work how id did it, i do have the file you had and i downloaded it, they gave it to me in the ticket. that is so strange lol.. but i have seen stranger things. Thanks so much, i need to get some sleep when this cert deal is done, i am a zombie lol 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted January 19, 2013 Share Posted January 19, 2013 Are there plans to add all the appropriate paytypes (annual quarterly and so on) to the comparison order on the official release of the next version. I think it would be one less thing for us to worry about if we could just use the admin for what its there for and not have to worry about editing our tpl file for product paytype. This should answer the question: http://requests.whmcs.com/responses/more-beautifull-order-pages 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted January 19, 2013 Author Share Posted January 19, 2013 Very strange there Chris... I did upload your whole file and it does work as you say. I did a diff on winmerg and it didnt find anything so really strange result indeed. So we got it going.. Question and ill pm you this too so you can get back to me this next week. Are there plans to add all the appropriate paytypes (annual quarterly and so on) to the comparison order on the official release of the next version. I think it would be one less thing for us to worry about if we could just use the admin for what its there for and not have to worry about editing our tpl file for product paytype. Let me know thanks. Have a great weekend ") Nice job Chris.. 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.