Derek Posted August 30, 2009 Share Posted August 30, 2009 How do I go about putting a space between Game Server Slots and Game Server Locations..... Also how can I remove the $0.00 USD beside the monthly ? All help would be great. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
BullsoftHosting - Tom Posted August 30, 2009 Share Posted August 30, 2009 For the $0.00 I think you just put -1.00 in the product setup 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 30, 2009 Author Share Posted August 30, 2009 For the $0.00 I think you just put -1.00 in the product setup That would be a negative , you need to edit a template file. Forgot to show a preview: https://xfactorservers.com/clients/cart.php?a=add&pid=69 0 Quote Link to comment Share on other sites More sharing options...
Shaun Posted August 30, 2009 Share Posted August 30, 2009 Another way to deal with this is work out a base price then work from that. It can be a bit of a pain. The best bet may be to have a public server product and a private one. Both these can start at 10x slots for XX.XX then you just have the costs going up. Of you will need to wrap the select in a {if}{/if} and then have a hidden var so it still gets posted through right. An easier way could be to set the style='display:none' so the element is still there just hidden 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 31, 2009 Author Share Posted August 31, 2009 Another way to deal with this is work out a base price then work from that.It can be a bit of a pain. The best bet may be to have a public server product and a private one. Both these can start at 10x slots for XX.XX then you just have the costs going up. Of you will need to wrap the select in a {if}{/if} and then have a hidden var so it still gets posted through right. An easier way could be to set the style='display:none' so the element is still there just hidden No, there is a way to just remove the $0.00 but I forget what I did to replace it. How about putting a space inbetween the config options ??? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted August 31, 2009 Share Posted August 31, 2009 (edited) Just to remove the $0.00 USD you would need to edit the cart templates eg.. from this {if $product.pricing.monthly}{$product.pricing.monthly}<br />{/if} to this {if $product.pricing.monthly}{$product.pricing.monthly|replace:'$0.00 USD':''}<br />{/if} Will only leave " Monthly" Edited August 31, 2009 by sparky 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 31, 2009 Author Share Posted August 31, 2009 Just to remove the $0.00 USD you would need to edit the cart templateseg.. from this {if $product.pricing.monthly}{$product.pricing.monthly}<br />{/if} to this {if $product.pricing.monthly}{$product.pricing.monthly|replace:'$0.00 USD':''}<br />{/if} Will only leave " Monthly" Thanks, how do I put a space between the two config options as they are so close to each other ? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted August 31, 2009 Share Posted August 31, 2009 change the cellpadding to 2 on the configurable options table in configureproduct.tpl eg.. <table cellpadding="2" cellspacing="0"> 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 31, 2009 Author Share Posted August 31, 2009 Just to remove the $0.00 USD you would need to edit the cart templateseg.. from this {if $product.pricing.monthly}{$product.pricing.monthly}<br />{/if} to this {if $product.pricing.monthly}{$product.pricing.monthly|replace:'$0.00 USD':''}<br />{/if} Will only leave " Monthly" This doesn't seem to work as it just makes a blank drop down box.. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted August 31, 2009 Share Posted August 31, 2009 that example was meant for in the products.tpl file. The principle is the same to use the replace modifier in the smarty tag 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 31, 2009 Author Share Posted August 31, 2009 that example was meant for in the products.tpl file.The principle is the same to use the replace modifier in the smarty tag ok, I got it now. thanks. Hopefully this is the last question , but how can I add a link to the client area Example My Support Tickets Affilates My Emails but I want to add another link to beside that.. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted August 31, 2009 Share Posted August 31, 2009 Just add the link!! Maybe you can get the idea on how to add a link from here http://www.w3schools.com/html/html_intro.asp 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 31, 2009 Author Share Posted August 31, 2009 Just add the link!!Maybe you can get the idea on how to add a link from here http://www.w3schools.com/html/html_intro.asp I know how to add a link , the fact is I can't find the file to add the link... 0 Quote Link to comment Share on other sites More sharing options...
DedicatedPros Posted August 31, 2009 Share Posted August 31, 2009 header.tpl contains the sidebar code 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted August 31, 2009 Share Posted August 31, 2009 Was not meant to offend... just answered the question "but how can I add a link to the client area" Maybe your question should have read "Which file do I edit to be able to add a link to the logged in menu in the clientarea" Ans: header.tpl - You will see all of the links there just add it in between where you want it to show. @DedicatedPros: the footer.tpl containes the sidebar code 0 Quote Link to comment Share on other sites More sharing options...
DedicatedPros Posted August 31, 2009 Share Posted August 31, 2009 Was not meant to offend... just answered the question "but how can I add a link to the client area" Maybe your question should have read "Which file do I edit to be able to add a link to the logged in menu in the clientarea" Ans: header.tpl - You will see all of the links there just add it in between where you want it to show. @DedicatedPros: the footer.tpl containes the sidebar code I forgot, I edited mine so its all in the header.tpl file 0 Quote Link to comment Share on other sites More sharing options...
Derek Posted August 31, 2009 Author Share Posted August 31, 2009 Heh, I can't seem to get it maybe you guys can paste the code for me. I am trying to link it to our grouppay module as well as the title to be Group Pay . Thanks for all the help. 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.