Skip to content

1.11.2

โš™๏ธ Patch 1.11.2 โ€” UVP copies only to 1:1 bundles

๐Ÿš€ Summary

UVP ยท 1:1 peers only โ€” Setting min/max UVP on a base SKU no longer walks every related bundle. Gift sets, value packs (quantity > 1), and SKUs that only share a (2) name keep their own prices. UVP still copies to 1:1 aliases (and back from the alias to the parent).

โœจ Details

Area Before After
Discovery BFS over bundle_packages, child_skus ILIKE, and SKU(% variants Confirmed 1:1 group only
1:1 alias Copied (among everything else) Still copied both ways (parent โ†’ alias, alias โ†’ parent)
Mixed gift set Same UVP as the main SKU Unchanged
Value pack (quantity > 1) Same UVP as the main SKU Unchanged
Variant name only (SKU(2)) Copied from the name pattern Copied only when it is a real 1:1 peer

A 1:1 group is the same as package assignment: parent lists aliases in child_skus, and each alias has bundle_packages exactly [{sku: parent, quantity: 1}].

๐Ÿ“Œ Notes

  • Redeploy service-multi-repricer.
  • Existing UVP already written onto gift sets / value packs is not rolled back โ€” remove or edit those SKUs by hand if needed.
  • Background recalc/export after UVP still runs for the edited SKU plus its 1:1 peers only.

๐Ÿ“š Docs

๐Ÿ“ Files

  • backend/service_multi-repricer/app/api/v1/endpoints/repricer_articles.py
  • backend/service_multi-repricer/app/services/article_stats.py
  • backend/service_multi-repricer/app/tests/test_uvp.py
  • backend/service_multi-repricer/app/tests/test_article_stats.py
  • docs/docs/services/service_multi_repricer/user_guide.md
  • docs/docs/services/service_multi_repricer/endpoints/repricer_articles.md
  • docs/docs/patchnotes/1.11/1.11.2.md โ€” this file