-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add filter for recommended WPCOM themes #1324
Conversation
Size Change: 0 B Total Size: 196 kB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on it 👍
LGTM and tested well with an ECOM plan. @chihsuan Do we also need to use this filter in trial mode?
Yes. 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work @crunnells !
@crunnells As confirmed by @chihsuan, we also need to run the hook for free trials. What do you think about creating a new class (e.g., class-wc-calypso-bridge-cys-themes.php) to customize the list for both trial and econ plans? You can include the new class in https://github.com/Automattic/wc-calypso-bridge/blob/master/class-wc-calypso-bridge.php#L100. You can check for free trial plan with wc_calypso_bridge_is_ecommerce_trial_plan function. @adrianduffell Do you think we have a different (or possibly better) approach? |
Do we restrict which themes free trial accounts can use and activate? |
I don't think we need to restrict the themes. @chihsuan @adrianduffell Could you confirm please? |
This is actually not correct.
Sorry for the false alarm 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and tested well 👍 🚀
Thanks for the ping. We don't need to restrict the themes! 🙂 |
Changes proposed in this Pull Request:
Adds a filter to change the recommended themes for Woo Express sites on WPCOM.
Closes #1316.
How to test the changes in this Pull Request:
wc-calypso-bridge
plugin with this branch.My Home
inwp-admin
and click "Customize Your Store"https://wordpress.com/theme/tazza/yourblog.com
Other information:
FOR PR REVIEWER ONLY: