|
| 1 | +{ |
| 2 | + "product-summary.shelf#listLayout": { |
| 3 | + "props": { |
| 4 | + "blockClass": "listLayout" |
| 5 | + }, |
| 6 | + "children": [ |
| 7 | + "responsive-layout.desktop#productSummaryList", |
| 8 | + "responsive-layout.mobile#productSummaryList" |
| 9 | + ] |
| 10 | + }, |
| 11 | + "responsive-layout.desktop#productSummaryList": { |
| 12 | + "children": [ |
| 13 | + "flex-layout.row#summaryListDesktop" |
| 14 | + ] |
| 15 | + }, |
| 16 | + "responsive-layout.mobile#productSummaryList": { |
| 17 | + "children": [ |
| 18 | + "flex-layout.row#summaryListMobile" |
| 19 | + ] |
| 20 | + }, |
| 21 | + "product-price-savings#summaryPercentage": { |
| 22 | + "props": { |
| 23 | + "message": "{savingsPercentage}", |
| 24 | + "blockClass": "summaryPercentage" |
| 25 | + } |
| 26 | + }, |
| 27 | + "flex-layout.row#savingsSummaryListDesktop": { |
| 28 | + "props": { |
| 29 | + "colSizing": "auto", |
| 30 | + "colGap": 3, |
| 31 | + "blockClass": "savingsSummaryListDesktop" |
| 32 | + }, |
| 33 | + "children": [ |
| 34 | + "product-price-savings#summaryPercentage", |
| 35 | + "product-price-savings#summary" |
| 36 | + ] |
| 37 | + }, |
| 38 | + "flex-layout.row#summaryListDesktop": { |
| 39 | + "props":{ |
| 40 | + "fullWidth": true, |
| 41 | + "colSizing": "auto", |
| 42 | + "blockClass": "summaryListDesktop" |
| 43 | + }, |
| 44 | + "children": [ |
| 45 | + "flex-layout.row#summaryLeftListDesktop", |
| 46 | + "flex-layout.col#summaryRightListDesktop" |
| 47 | + ] |
| 48 | + }, |
| 49 | + "flex-layout.row#summaryLeftListDesktop": { |
| 50 | + "props": { |
| 51 | + "blockClass": "summaryLeftListDesktop", |
| 52 | + "colSizing": "auto", |
| 53 | + "colGap": 7 |
| 54 | + }, |
| 55 | + "children": [ |
| 56 | + "stack-layout#summaryListDesktop", |
| 57 | + "flex-layout.col#summaryDetailsListDesktop" |
| 58 | + ] |
| 59 | + }, |
| 60 | + "flex-layout.col#summaryDetailsListDesktop": { |
| 61 | + "props": { |
| 62 | + "preventVerticalStretch": true |
| 63 | + }, |
| 64 | + "children": [ |
| 65 | + "vtex.store-components:product-brand#summaryListDesktop", |
| 66 | + "product-summary-name#summaryListDesktop", |
| 67 | + "flex-layout.col#productRating", |
| 68 | + "flex-layout.row#productSpecifications" |
| 69 | + ] |
| 70 | + }, |
| 71 | + "flex-layout.row#productSpecifications": { |
| 72 | + "children": [ |
| 73 | + "product-specification-group#summary" |
| 74 | + ] |
| 75 | + }, |
| 76 | + "product-summary-name#summaryListDesktop": { |
| 77 | + "props": { |
| 78 | + "blockClass": "summaryListDesktop" |
| 79 | + } |
| 80 | + }, |
| 81 | + "vtex.store-components:product-brand#summaryListDesktop": { |
| 82 | + "props": { |
| 83 | + "displayMode": "text", |
| 84 | + "blockClass": "summaryListDesktop" |
| 85 | + } |
| 86 | + }, |
| 87 | + "flex-layout.col#summaryRightListDesktop": { |
| 88 | + "props": { |
| 89 | + "blockClass": "summaryRightListDesktop", |
| 90 | + "preventVerticalStretch": true |
| 91 | + }, |
| 92 | + "children": [ |
| 93 | + "flex-layout.row#savingsSummaryListDesktop", |
| 94 | + "flex-layout.col#priceSummaryListDesktop", |
| 95 | + "flex-layout.row#buyButtonsSummaryListDesktop" |
| 96 | + ] |
| 97 | + }, |
| 98 | + "flex-layout.row#buyButtonsSummaryListDesktop": { |
| 99 | + "props": { |
| 100 | + "colSizing": "auto", |
| 101 | + "colGap": 5 |
| 102 | + }, |
| 103 | + "children": [ |
| 104 | + "add-to-cart-button", |
| 105 | + "flex-layout.row#buyNowButton" |
| 106 | + ] |
| 107 | + }, |
| 108 | + "flex-layout.row#buyNowButton": { |
| 109 | + "props": { |
| 110 | + "blockClass": "buyNowButton" |
| 111 | + }, |
| 112 | + "children": [ |
| 113 | + "add-to-cart-button#buyNow" |
| 114 | + ] |
| 115 | + }, |
| 116 | + |
| 117 | + "add-to-cart-button#buyNow": { |
| 118 | + "props": { |
| 119 | + "text": "BUY NOW", |
| 120 | + "isOneClickBuy": true, |
| 121 | + "onClickEventPropagation": "enabled", |
| 122 | + "blockClass": "buyNow" |
| 123 | + } |
| 124 | + }, |
| 125 | + "flex-layout.col#priceSummaryListDesktop": { |
| 126 | + "children": [ |
| 127 | + "product-selling-price#summary", |
| 128 | + "product-list-price#summary" |
| 129 | + ] |
| 130 | + }, |
| 131 | + "stack-layout#summaryListDesktop": { |
| 132 | + "children": [ |
| 133 | + "product-summary-image#summaryListDesktop", |
| 134 | + "vtex.product-highlights@2.x:product-highlights#collection", |
| 135 | + "modal-trigger#quickview" // Check quickview.jsonc |
| 136 | + ] |
| 137 | + }, |
| 138 | + "product-summary-image#summaryListDesktop": { |
| 139 | + "props": { |
| 140 | + "showBadge": false, |
| 141 | + "aspectRatio": "1:1", |
| 142 | + "maxHeight": 180, |
| 143 | + "blockClass": "summaryListDesktop" |
| 144 | + } |
| 145 | + }, |
| 146 | + "flex-layout.row#summaryListMobile": { |
| 147 | + "props":{ |
| 148 | + "preserveLayoutOnMobile": true, |
| 149 | + "colSizing": "auto", |
| 150 | + "blockClass": "summaryListMobile", |
| 151 | + "colGap": 5 |
| 152 | + }, |
| 153 | + "children": [ |
| 154 | + "stack-layout#summaryListMobile", |
| 155 | + "flex-layout.col#summaryDetailsListMobile" |
| 156 | + ] |
| 157 | + }, |
| 158 | + "stack-layout#summaryListMobile": { |
| 159 | + "children": [ |
| 160 | + "product-summary-image#summaryListMobile", |
| 161 | + "vtex.product-highlights@2.x:product-highlights#collection", |
| 162 | + "modal-trigger#quickview" // Check quickview.jsonc |
| 163 | + ] |
| 164 | + }, |
| 165 | + "product-summary-image#summaryListMobile": { |
| 166 | + "props": { |
| 167 | + "showBadge": false, |
| 168 | + "aspectRatio": "1:1", |
| 169 | + "maxHeight": 220, |
| 170 | + "blockClass": "summaryListMobile" |
| 171 | + } |
| 172 | + }, |
| 173 | + "flex-layout.col#summaryDetailsListMobile": { |
| 174 | + "props": { |
| 175 | + "preventVerticalStretch": true, |
| 176 | + "width": "grow", |
| 177 | + "blockClass": "summaryDetailsListMobile" |
| 178 | + }, |
| 179 | + "children": [ |
| 180 | + "flex-layout.col#summaryUpDetailsListMobile", |
| 181 | + "flex-layout.col#summaryDownDetailsListMobile" |
| 182 | + ] |
| 183 | + }, |
| 184 | + "flex-layout.col#summaryUpDetailsListMobile": { |
| 185 | + "props": { |
| 186 | + "preventVerticalStretch": true, |
| 187 | + "blockClass": "summaryUpDetailsListMobile" |
| 188 | + }, |
| 189 | + "children": [ |
| 190 | + "vtex.store-components:product-brand#summaryListMobile", |
| 191 | + "product-summary-name#summaryListMobile", |
| 192 | + "product-rating-inline" |
| 193 | + ] |
| 194 | + }, |
| 195 | + "flex-layout.col#summaryDownDetailsListMobile": { |
| 196 | + "props": { |
| 197 | + "preventVerticalStretch": true |
| 198 | + }, |
| 199 | + "children": [ |
| 200 | + "product-selling-price#summary", |
| 201 | + "product-installments#summary" |
| 202 | + ] |
| 203 | + }, |
| 204 | + "vtex.store-components:product-brand#summaryListMobile": { |
| 205 | + "props": { |
| 206 | + "displayMode": "text", |
| 207 | + "blockClass": "summaryListMobile" |
| 208 | + } |
| 209 | + }, |
| 210 | + "product-summary-name#summaryListMobile": { |
| 211 | + "props": { |
| 212 | + "tag": "div", |
| 213 | + "blockClass": "summaryListMobile" |
| 214 | + } |
| 215 | + } |
| 216 | +} |
0 commit comments