From eb5d6e3e83fc60f7cc3d0b93452cfb95805b91e2 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Fri, 12 Jan 2024 01:27:28 +0100 Subject: [PATCH] feat(price card): option to hide product code --- src/components/PriceCard.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/PriceCard.vue b/src/components/PriceCard.vue index e903de91e5..938d2a1d7c 100644 --- a/src/components/PriceCard.vue +++ b/src/components/PriceCard.vue @@ -11,7 +11,7 @@

- + {{ brand }} @@ -31,7 +31,7 @@ - +
{{ product.code }}
@@ -80,6 +80,7 @@ export default { 'hideProductImage': false, 'hideProductTitle': false, 'hideProductDetails': false, + 'hideProductCode': false, 'hidePriceLocation': false, 'readonly': false }, @@ -131,7 +132,7 @@ export default { return tag ? tag.name : this.price.category_tag } }, - getPriceProductBrandsList() { + getProductBrandsList() { if (this.hasProductBrands) { return this.product.brands.split(',') }