Jump to content

Add promotion code box to Addons page


Recommended Posts

I noticed when clicking addons in a hosting package there was no promotion code box there to add this simply:

 

find this code in order-stepfour.tpl,

 

<form method="post" action="{$smarty.server.PHP_SELF}?step=4">
<input type="hidden" name="validatepromo" value="true">
<p align="center">{if $promoerrormessage}<font style="color:#cc0000">[b]{$promoerrormessage}[/b]</font>
{/if}
[b]{$LANG.orderpromotioncode}:[/b] {if $promotioncode}{$promotioncode} - {$promotiondescription} - [url="{$smarty.server.PHP_SELF}?step=4&removepromo=true"]{$LANG.orderdontusepromo}[/url] {else}<input type="text" name="promocode" size="20"> <input type="submit" value="{$LANG.orderpromovalidatebutton}">{/if}</p>
</form>

Remove it from its current place and add it under this code:

 

{else}
<p align="center"><input type="button" onClick="window.location='{$smarty.server.PHP_SELF}'" value="{$LANG.orderchangeproduct}"> <input type="button" onClick="window.location='{$smarty.server.PHP_SELF}?step=2&modify=true'" value="{$LANG.orderchangedomain}"> <input type="button" onClick="window.location='{$smarty.server.PHP_SELF}?step=3&modify=true'" value="{$LANG.orderchangeconfig}"></p>
{/if}

Any problems let me know. :D

Link to comment
Share on other sites

  • 4 months later...
Posted: Tue Jun 05, 2007 4:24 pm Post subject: Add promotion code box to Addons page

 

--------------------------------------------------------------------------------

 

I noticed when clicking addons in a hosting package there was no promotion code box there to add this simply:

 

 

 

This instruction is not clear. There is already a promotion code on step 4?

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