Jump to content

Where is this code from?


itdeptcorp

Recommended Posts

<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

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

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 by itdeptcorp
miss spelling
Link to comment
Share on other sites

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. :P

 

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.

Link to comment
Share on other sites

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}.

Link to comment
Share on other sites

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 by NetwiseHosting
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated