From 71bb3af2d0803d121210d2264630ebdf60020656 Mon Sep 17 00:00:00 2001 From: Emerson Fully <63175980+emersonfully@users.noreply.github.com> Date: Fri, 10 Feb 2023 15:39:19 -0300 Subject: [PATCH] =?UTF-8?q?testids=20para=20pre=C3=A7o,=20nome,=20tab=20e?= =?UTF-8?q?=20codigo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/blocks/pdp/product.jsonc | 18 +++++++++++++----- styles/css/vtex.flex-layout.css | 2 +- styles/css/vtex.store-components.css | 9 +++++++++ .../sass/pages/product/vtex.flex-layout.scss | 2 +- .../pages/product/vtex.store-components.scss | 9 +++++++++ 5 files changed, 33 insertions(+), 7 deletions(-) diff --git a/store/blocks/pdp/product.jsonc b/store/blocks/pdp/product.jsonc index bbc828c..b83a956 100644 --- a/store/blocks/pdp/product.jsonc +++ b/store/blocks/pdp/product.jsonc @@ -117,8 +117,8 @@ "rowGap": 0 }, "children": [ - "flex-layout.row#product-name", - "product-identifier.product", + "html#product-name", + "html#product-code", "product-rating-summary", "flex-layout.row#list-price-savings", "flex-layout.row#selling-price", @@ -168,9 +168,17 @@ "children": ["shipping-simulator"] }, - "flex-layout.row#product-name": { + "html#product-code": { "props": { - "marginBottom": 3 + "testId": "product-code" + }, + "children": ["product-identifier.product"] + }, + + "html#product-name": { + "props": { + "marginBottom": 3, + "testId": "product-name" }, "children": ["vtex.store-components:product-name"] }, @@ -292,7 +300,7 @@ "html#tab-layout": { "props": { - "testId": "tab-layout" + "testId": "product-description" }, "children": ["tab-layout#description"] }, diff --git a/styles/css/vtex.flex-layout.css b/styles/css/vtex.flex-layout.css index 7dd4b2b..54bc3fb 100644 --- a/styles/css/vtex.flex-layout.css +++ b/styles/css/vtex.flex-layout.css @@ -37,7 +37,7 @@ width: 100%; max-width: 526px; position: absolute; - top: 366px; + top: 374px; left: 158px; } } diff --git a/styles/css/vtex.store-components.css b/styles/css/vtex.store-components.css index 6025a76..8bdc6b8 100644 --- a/styles/css/vtex.store-components.css +++ b/styles/css/vtex.store-components.css @@ -346,6 +346,15 @@ border-bottom: 4px solid white; } +.sellingPriceValue { + font-family: "Open Sans"; + font-style: normal; + font-weight: 700; + font-size: 24px; + line-height: 33px; + color: #000000; +} + .discountInsideContainer, .installmentsPrice { display: none; diff --git a/styles/sass/pages/product/vtex.flex-layout.scss b/styles/sass/pages/product/vtex.flex-layout.scss index 56b0a67..04b5f20 100644 --- a/styles/sass/pages/product/vtex.flex-layout.scss +++ b/styles/sass/pages/product/vtex.flex-layout.scss @@ -32,7 +32,7 @@ width: 100%; max-width: 526px; position: absolute; - top: 366px; + top: 374px; left: 158px; } diff --git a/styles/sass/pages/product/vtex.store-components.scss b/styles/sass/pages/product/vtex.store-components.scss index 67e5318..f8974d9 100644 --- a/styles/sass/pages/product/vtex.store-components.scss +++ b/styles/sass/pages/product/vtex.store-components.scss @@ -390,6 +390,15 @@ } } +.sellingPriceValue { + font-family: $font-family; + font-style: normal; + font-weight: 700; + font-size: 24px; + line-height: 33px; + color: $color-black; +} + .discountInsideContainer, .installmentsPrice { display: none;