SalesforceCommerceCloud / commerce-sdk

https://salesforcecommercecloud.github.io/commerce-sdk/
BSD 3-Clause "New" or "Revised" License
149 stars 48 forks source link

[FEATURE] Add product search v24.3 perPriceBook and allVariationProperties support #401

Closed JonasReniers closed 7 months ago

JonasReniers commented 8 months ago

We are currently working to eliminate the custom attributes exposed by a custom hook in order to display strike-through prices in PWA-kit by using the list, sale, and promotional prices on the PLP. To achieve this, we need to utilize the perPriceBook and allVariationProperties query parameters. Unfortunately, the Commerce SDK does not yet support these new query parameters.

Link to the relevant documentation: https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-search?meta=productSearch

Could we consider adding support for this feature?

vmarta commented 7 months ago

Hi @JonasReniers the new v2.15.0 release now supports those query parameters. https://github.com/SalesforceCommerceCloud/commerce-sdk/releases/tag/v2.15.0