vtex-apps / store-components

Default VTEX store components
51 stars 142 forks source link

Feature: render image label #1086

Closed polishq closed 1 year ago

polishq commented 1 year ago

What problem is this solving?

A client wishes to render the image label text above the product image on the PDP. This PR adds a showImageLabel boolean prop to the ProductImages component that, if set to true, will have the desired effect.

How to test it?

Linked here: https://cosmotest--cosmo.myvtex.com/art---lutherie-roadhouse-acoustic-guitar---tennessee-red/p (select the fifth image to see the rendered label)

Screenshots or example usage:

image

Or with custom styling:

image

vtex-io-ci-cd[bot] commented 1 year 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 1 year ago

Your PR has been merged! App is being published. :rocket: Version 3.167.2 → 3.168.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.168.0

After that your app will be updated on all accounts.

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