Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
$product.InsertSku control is not following the set order of the product registry
$product.InsertSku control is not following the set order of the product registry
ID:
Backlog
Published on 1/11/2018
Last update on 12/22/2022

Summary

The $product.InsertSku aisle template control is rendering SKUs (variations) by ID and not by their admin configured position.

Simulation

In order to reproduce this behaviour:

  1. Configure a product with SKU variation
  2. On the SKU management screen, order the SKUs in such a way that the SKU with a lower ID comes after an SKU with a higher ID
  3. Configure the aisle template using the $product.InsertSku control
  4. Use this aisle template in some aisle or product shelf
  5. Access this aisle or product shelf, as seen by the customer

You'll notice that the SKUs are ordered by ID and not according to the set positioning.

Workaround

The workaround for this type of behavior is to ensure that SKU IDs are equivalent to their position within the product.

Ex.: A product has the following SKUs: S, M, L. The "S" SKU needs to have the lowest ID, followed "M" and the highest ID "G" thereafter.

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