Commit 7c05a84
committed
refactor: create renderers for each product type
- split root product page into a separate components
- move styles to shared file
- reduce the amount of unused code in different component types
- add useGallery composable
- add useProductTabs composable
- add canAddToCart method on useCart composable1 parent 99a945e commit 7c05a84
File tree
20 files changed
+1543
-760
lines changed- packages/theme
- components/__tests__
- composables/useReview
- modules
- catalog
- pages
- pricing
- product
- components
- product-types
- bundle
- configurable
- grouped
- simple
- tabs
- composables
- enums
- checkout/composables/useCart
20 files changed
+1543
-760
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
0 commit comments