Jump to content

Custom options display wrong for cpanel hosting


ServWise.com

Recommended Posts

Can anyone confirm this for me.

 

For clients with cpanel hosting, on the client facing part of our website when managing a purchased hosting plan in the client area the configurable options for the plan are not correctly displayed (The array is not properly populated).

 

For our customers with Windows hosting (WebsitePanel) the configurable options show correctly.

 

I can't see in the admin any difference between plans types that would explain it.

 

This is what is in the smarty array for cpanel plans

 

{$configoptions}	Array (3)
Addon Bandwidth => 0
Addon Space => 0
Dedicated IPs => 0

 

and this is what is outputted to WebSitePanel plans

 

{$configoptions}	Array (4)
0 => Array (13)
 id => 3
 hidden => 0
 optionname => Addon Bandwidth
 optiontype => 4
 selectedvalue => 7
 selectedqty => 0
 selectedname => 0
 selectedoption => 10GB £25.20GBP
 selectedsetup => 0
 selectedrecurring => 0
 qtyminimum => 0
 qtymaximum => 0
 options => Array (1)
   0 => Array (5)
     id => 7
     hidden => 0
     name => 10GB £25.20GBP
     nameonly => 10GB
     recurring => 25.20
1 => Array (13)
 id => 6
 hidden => 0
 optionname => Addon Space
 optiontype => 4
 selectedvalue => 10
 selectedqty => 0
 selectedname => 0
 selectedoption => 1GB £25.20GBP
 selectedsetup => 0
 selectedrecurring => 0
 qtyminimum => 0
 qtymaximum => 0
 options => Array (1)
   0 => Array (5)
     id => 10
     hidden => 0
     name => 1GB £25.20GBP
     nameonly => 1GB
     recurring => 25.20
2 => Array (13)
 id => 7
 hidden => 0
 optionname => Dedicated IPs
 optiontype => 4
 selectedvalue => 11
 selectedqty => 0
 selectedname => 0
 selectedoption => IP £18.00GBP
 selectedsetup => 0
 selectedrecurring => 0
 qtyminimum => 0
 qtymaximum => 0
 options => Array (1)
   0 => Array (5)
     id => 11
     hidden => 0
     name => IP £18.00GBP
     nameonly => IP
     recurring => 18.00
3 => Array (13)
 id => 4
 hidden => 0
 optionname => Microsoft SQL server
 optiontype => 4
 selectedvalue => 8
 selectedqty => 1
 selectedname => 1
 selectedoption => 250MB £25.20GBP
 selectedsetup => 0
 selectedrecurring => 25.2
 qtyminimum => 0
 qtymaximum => 0
 options => Array (1)
   0 => Array (5)
     id => 8
     hidden => 0
     name => 250MB £25.20GBP
     nameonly => 250MB
     recurring => 25.20

 

As you can see big difference.

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