itdeptcorp Posted February 28, 2010 Share Posted February 28, 2010 <div class="stepsboxinactive"> <b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <b>Step 5</b><br />Checkout <b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> Does anyone happen to know where we can edit this code? We are trying to change the STEPS in the Order/Shopping Cart - We understood ot should be in the "Orderform/<template>" However this is not in any of those documents.. Please advise Thanks 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted February 28, 2010 Share Posted February 28, 2010 It's just in the coding of the files in /templates/orderforms/default. Example from products.tpl: <div class="stepsboxinactive"> <b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <b>{$LANG.step} 5</b><br />{$LANG.ordercheckout} <b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> 0 Quote Link to comment Share on other sites More sharing options...
itdeptcorp Posted February 28, 2010 Author Share Posted February 28, 2010 (edited) We have been trying to REMOVE "Configure Domains" from the ORDER process - > and we have (removed from Order Form .tpl's However now it shows Step 1, Step 3, Step 4 etc.... There is no statement or ref. in /templates/orderform/products.tpl for "Step 1" or "Steps" So i do not follow. Edited February 28, 2010 by itdeptcorp miss spelling 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted February 28, 2010 Share Posted February 28, 2010 We have been trying to REMOVE "Configure Domains" from the ORDER process - > and we have (removed from Order Form .tpl's However now it shows Step 1, Step 3, Step 4 etc.... There is no statement or ref. in /templates/orderform/products.tpl for "Step 1" or "Steps" So i do not follow. I'm sorry, but I don't follow that. If you want to remove that "domain" step by removing the following from the files in the /templates/orderforms/default folder: <div class="stepsboxinactive"> <b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <b>{$LANG.step} 2</b><br />{$LANG.orderdomainoptions} <b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> Then just edit the "step number" from the other steps so it's just 1-2-3-4. You need to edit this in all the files, not only products.tpl. 0 Quote Link to comment Share on other sites More sharing options...
itdeptcorp Posted March 1, 2010 Author Share Posted March 1, 2010 Hi again - 1) We already REMOVED the DOMAIN Step We need to RENAME the words -> "Step 3" So the questions is "Where are these WORDS" Step 3? 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted March 1, 2010 Share Posted March 1, 2010 Hi again - 1) We already REMOVED the DOMAIN Step We need to RENAME the words -> "Step 3" So the questions is "Where are these WORDS" Step 3? <div class="stepsboxactive"> <b class="stepsboxactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <b>{$LANG.step} [b]1[/b]</b><br />{$LANG.orderchooseapackage} <b class="stepsboxactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> <div class="stepsboxinactive"> <b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <b>{$LANG.step} [b]3[/b]</b><br />{$LANG.orderconfigure} <b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> <div class="stepsboxinactive"> <b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <b>{$LANG.step} [b]4[/b]</b><br />{$LANG.orderconfirmorder} <b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> <div class="stepsboxinactive"> <b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <b>{$LANG.step} [b]5[/b]</b><br />{$LANG.ordercheckout} <b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> See the bold numbers. The word "Step" is the variable {$LANG.step}. 0 Quote Link to comment Share on other sites More sharing options...
NetwiseHosting Posted March 1, 2010 Share Posted March 1, 2010 (edited) Hi ideptcorp, Just to make it clear, the word Step is in the English Language file located at whmcs_installation \ lang \ English and the numbers, 1, 2, 3 etc are located within the template file whmcs_installation \ templates \ orderforms \ default \ configureproduct.tpl all you need to simply do is find the numbers 3, 4 and 5 and make them all one less. Kind regards, Matthew Edited March 1, 2010 by NetwiseHosting 0 Quote Link to comment Share on other sites More sharing options...
itdeptcorp Posted March 1, 2010 Author Share Posted March 1, 2010 Wow.. All set now - Thanks! I appreciate 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.