Jump to content

[Unconfirmed] Green upgrade button doesn't work for products using License Manager


ragesw

Recommended Posts

WHMCS Version: 6.1 (Tested with demo provided on whmcs.com)

Browser: Any

Operating System: Any

 

Description;

 

The large green Upgrade button won't work on the product details page for products using the Licensing Manager. The red Cancel button does work.

 

There is NO link provide for this button in the source code

 

Steps to Reproduce;

1. Set up a product using the licensing manager

2. Make sure the product has upgrade options

3. Log into client Area and order the product

4. Go to Services-My Licenses and select the product

5. Click the big Green Upgrade button, it won't do anything

 

Note that the other Upgrade/Downgrade button from the side nav bar does work.

 

This is very confusing for users.

 

Fix

The code for the upgrade button looks like this;

<button type="button" class="btn btn-info btn-lg btn-block">

<i class="fa fa-arrow-up fa-2x"></i><br/>

Upgrade

</button>

 

It should be ( I think);

 

<form method="post" action="upgrade.php?type=package">

<input type="hidden" name="token" value="**token**"/>

<input type="hidden" name="id" value="**productid**"/>

<button type="button" class="btn btn-info btn-lg btn-block">

<i class="fa fa-arrow-up fa-2x"></i><br/>

Upgrade

</button>

</form>

 

 

Note that I do not see a way to fix this on my own because in clientareaproductdetails.tpl the output is in one variable called $tplOverviewTabOutput which I cannot find a way to edit.

Link to comment
Share on other sites

  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • 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