Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
When loading a product page with a selection of SKUs by parameter (URL), the price is not correctly updated
When loading a product page with a selection of SKUs by parameter (URL), the price is not correctly updated
ID:
Backlog
Published on 8/17/2017
Last update on 12/22/2022

Summary

When you access a product page with a change (more than one SKU) with the querystring parameter "idsku={{idSku}}", the system marks the SKU as selected (in the skuRichSelection and skuSelection control).

However if the SKU selected (from the parameter) is unavailable (out of stock / not deliverable), when the user selects another available SKU in the SKU selector, price details are not shown.

{"base64":"  ","img":{"width":1017,"height":814,"type":"gif","mime":"image/gif","wUnits":"px","hUnits":"px","length":845927,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/known-issues/Marketing%20&%20Merchandising/when-loading-a-product-page-with-a-selection-of-skus-by-parameter-url-the-price-is-not-correctly-updated_1.gif"}}

Simulation

  1. Access the page of a product with a change in SKU, supplying the parameter "idsku" in the URL (QueryString). Select an unavailable SKU.
  2. In the SKU selection control (skuSelection or skuRichSelection), select another available SKU.
  3. The price of this second SKU will not be rendered correctly.

Workaround

  1. Create an SKU selection control using JavaScript (without using our native control).
  2. Never use selection by parameter (querystring) for an unavailable SKU.
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback