-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: add sponsored badge option (#1098)
#### What problem is this solving? 📢 **We do not intend to ship this until after black friday!** 📢⚠️ The failed CI tests are not related to this change⚠️ Our current solution for sponsored products exports a `sponsored-badge` block in the [Sponsored Products](https://github.com/vtex-apps/sponsored-products) app. However, this requires changes in the `store-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? <!--- 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) #### Describe alternatives you've considered, if any. <!--- Optional --> #### Related to / Depends on <!--- Optional --> Related to vtex-apps/product-summary#385.
- Loading branch information
Henrique Caúla
authored
Nov 28, 2023
1 parent
82fcbe3
commit 6b699a3
Showing
5 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters