-
Notifications
You must be signed in to change notification settings - Fork 10.7k
In-App Marketplace Category Banners #30938
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
Conversation
|
Thanks for the PR! The banner on the Payments page is looking good on all screen sizes, the Shipping one will require a fix in category names API - currently I can see it when I manually enter this URL: I'm also having problems with the shipping banner image not loading correctly from https://wp.test:4443/wp-content/plugins/woocommerce/assets/images/wcs-extensions-banner-3x.png |
|
Thanks Maria, PR with API fixes ready hereOnce that is merged the issues should be resolved in this PR. |
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.
Works great!
I made some small coding standards fixes.
Just note that get_extension_data() is breaking compatibility now, but since it's used only as internal class I don't expect any issue from it.
|
Thanks, Claudio! |
andfinally
left a comment
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.
Looking good, thanks!
|
Timur said how he got the tests working on his PR:
|
claudiosanches
left a comment
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.
Looks and works great now!
|
Hi @claudiosanches, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:
|
All Submissions:
Changes proposed in this Pull Request:
Remove the hardcoded WC Pay and WC Services banners on the Marketplace categories pages and transform the system to use the WCCOM API and the WC Admin Rule Evaluator class for determining if a banner should be displayed on these pages.
Closes 11309-gh-Automattic/woocommerce.com
How to test the changes in this Pull Request:
WooCommerce -> SettingsWooCommerce -> Marketplaceand verify products are still shownWooCommerce -> Marketplaceand verify the WC Payments banner is displayed above the products, if you have WC Payments installed it should not show so test with the plugin activated and deactivated.WooCommerce -> Marketplaceand verify the WC Services banner is displayed above the products, if you have WC Services installed already it should not show so test with the plugin activated and deactivated.Other information:
These changes form part of the In-App Marketplace revamp.
Changelog entry
FOR PR REVIEWER ONLY: