Ctrlpanel-gg / panel

CtrlPanel offers an easy-to-use and free billing solution for all starting and experienced hosting providers that seamlessly integrates with the Pterodactyl panel.
https://ctrlpanel.gg/
MIT License
411 stars 149 forks source link

[Feature] Redirect to store page #834

Closed GeckoBoy84 closed 4 months ago

GeckoBoy84 commented 1 year ago

Feature Description

When the user does not have enough credits to purchase a plan, the button is unclickable.

Solution Idea

Redirect them to the store page

Additional Info

No response

S0ly commented 5 months ago

have this been done ? I think I can do it :)

kenshin133 commented 4 months ago

in 0.9.8 : the behavior is interesting but not insane : image one node is too big, one I can afford and one I cant.

If I click the one I cant afford I get : image I would hope for 1. this to take me to the shop, or what might be more smooth, to have a second button that lets me take myself to the shop. image

WIll update with 0.10.0 results soon

S0ly commented 4 months ago

this is a medium priority so it will not be fixed in 0.10 but it may be fixed just after

S0ly commented 4 months ago

except if someone want to do it since its labeled as a good first issue :) maybe you can do it ?

kenshin133 commented 4 months ago

in 0.10 the result is similar image

I thing this is working as designed, but the change should be to make it more seamless to get people to buy more coins/tokens/credits.

Personally I would not replace the "not enough credits" with a buy link, but perhaps a third block, or second button to leads to the store page.

MrWeez commented 4 months ago

@S0ly can you assign me to this issue? I can implement this.

S0ly commented 4 months ago

@MrWeez 👍

MrWeez commented 4 months ago

@MrWeez 👍

Tysm ❤️

MrWeez commented 4 months ago

Added in the https://github.com/Ctrlpanel-gg/panel/pull/956

MrWeez commented 4 months ago

@S0ly close this issue as completed

S0ly commented 4 months ago

@MrWeez ho right, next time check on your PR you can add issues related that they close automaticly whit your PR if I remember well :)

S0ly commented 4 months ago

feature Added in the https://github.com/Ctrlpanel-gg/panel/pull/956 PR by weez