Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WooCommerce | Redirect "Trash" Server Button to Cancel Subscription? #48

Open
unakriti opened this issue Jul 15, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@unakriti
Copy link

unakriti commented Jul 15, 2022

Hi,

This somewhat relates with https://trello.com/c/1UBdBWdt/166-add-wp-capabilities-to-control-whether-the-delete-server-link-can-be-shown-to-user

When I try to delete a server (bought with WooCommerce) using the "Trash" button (I guess it is mapped internally to post row actions), the system pops up a warning about a related Subscription (see screenshot below) and eventually allows the deletion.

WPCD Subscription Trash Post Row Actions Screenshot from 2022-07-15 20-01-14

Now that V5 introduces frontend admin panel, this Trash button can perhaps be redirected to Cancel Subscription under WooCommerce -> My Account Dashboard. It just makes things easier to follow purely from a customer's workflow perspective.

PS: I might also risk suggesting to disable the Trash button altogether (even on the backend) when a server is deployed as a result of a Woo subscription.

PS: File I am testing is the Beta versions of WPCD Core and Woo Addon

Kind regards,

@elindydotcom elindydotcom added the enhancement New feature or request label Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants