vtex-apps / store-components

Default VTEX store components
51 stars 142 forks source link

Feature: add sponsored badge option #1098

Closed hcaula closed 11 months ago

hcaula commented 11 months ago

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 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?

Workspace

Screenshots or example usage:

Screenshot 2023-11-16 at 13 31 39

Describe alternatives you've considered, if any.

Related to / Depends on

Related to https://github.com/vtex-apps/product-summary/pull/385.

vtex-io-ci-cd[bot] commented 11 months ago

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.

vtex-io-ci-cd[bot] commented 11 months ago

Your PR has been merged! App is being published. :rocket: Version 3.169.5 → 3.170.0

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:

vtex deploy vtex.store-components@3.170.0

After that your app will be updated on all accounts.

For more information on the deployment process check the docs. :book: