Closed Git-the-Sanz closed 3 years 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:
[ ] Patch (backwards-compatible bug fixes)
[x] Minor (backwards-compatible functionality)
[ ] Major (incompatible API changes)
And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.
Beep boop :robot:
Thank you so much for keeping our documentation up-to-date :heart:
@icazevedo Thank you for your input.
normalizedProduct.sku
(I could't manage to do it, the object is particularly weird; and it's used and mutated-around inside product-summary)Thank you again! We really value your feedback
Your PR has been merged! App is being published. :rocket: Version 2.75.0 → 2.76.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.product-summary@2.76.0
After that your app will be updated on all accounts.
For more information on the deployment process check the docs. :book:
What problem is this solving?
There was no way of specifying which SKU should be the initial selection in product summaries (Both sliders and galleries). We are now letting the client specify a logic to then use it for the product-context, which in turn will provide the selected item property to it's childrens.
How to test it?
CHEAPEST (You will see the cheapest products selected)
SPECIFICATION (Look for MOTO G7 PLUS, you will see that the SKU No. 35 is selected, thanks to it's product property called
DefaultSKU
)Screenshots or example usage:
For i.e: By passing "SPECIFICATION" the SKU No. 35 was automatically selected in the Gallery
Describe alternatives you've considered, if any.
We know that the Admin SKU Position exists, but as of today, this is not working (Confirmed by Catalog team)
Related to / Depends on
Search result PR
How does this PR make you feel?