-
Notifications
You must be signed in to change notification settings - Fork 143
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
Feature: add sponsored badge option #1098
Conversation
Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖 Please select which version do you want to release:
And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.
|
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
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 good to me!
As mentioned in the PR's description, the failing tests were introduced in the previous merged PR (the previous to that one was passing). This PR introduces no new test error, so that's enough for me until we fix them at the main branch.
Your PR has been merged! App is being published. 🚀 After the publishing process has been completed (check #vtex-io-releases) and doing A/B tests with the new version, you can deploy your release by running:
After that your app will be updated on all accounts. For more information on the deployment process check the docs. 📖 |
#### What problem is this solving? These changes renders a sponsored tag above the product's name if the product is sponsored. #### How to test it? <!--- Don't forget to add a link to a Workspace where this branch is linked --> [Workspace](https://caula--sjdigital.myvtex.com/cotonete?_q=cotonete&map=ft) #### Screenshots or example usage: <!--- Add some images or gifs to showcase changes in behaviour or layout. Example: before and after images --> ![Screenshot 2023-11-16 at 13 31 39](https://github.com/vtex-apps/store-components/assets/15937541/ac7a72d3-7da5-413f-9156-1b231990f360) #### Related to / Depends on <!--- Optional --> Depends on: - [ ] vtex-apps/store-components#1098.
What problem is this solving?
📢 We do not intend to ship this until after black friday! 📢
Our current solution for sponsored products exports a
sponsored-badge
block in the Sponsored Products app. However, this requires changes in thestore-theme
in order to render sponsored products.By having this option here, the Product Summary app can render this badge dynamically and automatically, without having to change the store-theme.
How to test it?
Workspace
Screenshots or example usage:
Describe alternatives you've considered, if any.
Related to / Depends on
Related to vtex-apps/product-summary#385.