feat: implement catalog service and product attribute selector component for product details

This commit is contained in:
2026-07-01 12:25:15 -03:00
parent 3b7615fd85
commit b61ae3cb32
5 changed files with 72 additions and 6 deletions

View File

@@ -77,6 +77,10 @@ export class ProductAttributeSelectorComponent {
return availability;
});
public reset(): void {
this.initializeSelections(this.attributes(), this.defaultVariant());
}
constructor() {
effect(() => {
const attributes = this.attributes();