feat(cart): prevent automatic variant replacement and handle selection errors
This commit is contained in:
@@ -31,8 +31,9 @@
|
||||
class="cart-item-variant-selector"
|
||||
[variants]="variants()"
|
||||
[selectedVariant]="selectedVariant()"
|
||||
[autoSelectFirst]="false"
|
||||
[compact]="true"
|
||||
(selectedVariantChange)="onVariantChange($event)"
|
||||
(selectionValuesChange)="onVariantChange($event.selectedVariant)"
|
||||
/>
|
||||
} @else {
|
||||
<div class="d-grid cart-item-attributes">
|
||||
|
||||
Reference in New Issue
Block a user