@akinon/projectzero 2.0.152-rc.3 → 2.0.152

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/CHANGELOG.md +1 -21
  2. package/app-template/.env.example +0 -1
  3. package/app-template/AGENTS.md +0 -8
  4. package/app-template/CHANGELOG.md +32 -184
  5. package/app-template/README.md +1 -25
  6. package/app-template/docs/plugins.md +0 -6
  7. package/app-template/next-env.d.ts +1 -1
  8. package/app-template/next.config.mjs +1 -7
  9. package/app-template/package.json +41 -41
  10. package/app-template/public/locales/en/common.json +0 -5
  11. package/app-template/public/locales/en/product.json +0 -6
  12. package/app-template/public/locales/tr/common.json +0 -5
  13. package/app-template/public/locales/tr/product.json +0 -6
  14. package/app-template/src/app/[pz]/[...prettyurl]/page.tsx +0 -14
  15. package/app-template/src/app/[pz]/account/orders/[id]/(detail)/page.tsx +0 -21
  16. package/app-template/src/app/[pz]/product/[pk]/page.tsx +1 -7
  17. package/app-template/src/hooks/index.ts +0 -2
  18. package/app-template/src/hooks/use-fav-button.tsx +13 -35
  19. package/app-template/src/plugins.js +0 -1
  20. package/app-template/src/proxy.ts +1 -2
  21. package/app-template/src/types/widgets.ts +0 -58
  22. package/app-template/src/views/category/category-info.tsx +17 -31
  23. package/app-template/src/views/header/search/index.tsx +5 -13
  24. package/app-template/src/views/product/index.ts +0 -1
  25. package/app-template/src/views/product/product-info.tsx +0 -14
  26. package/app-template/src/views/product/slider.tsx +38 -85
  27. package/app-template/src/views/product-item/index.tsx +1 -6
  28. package/app-template/tsconfig.json +0 -3
  29. package/commands/plugins.ts +0 -8
  30. package/dist/commands/plugins.js +0 -8
  31. package/package.json +1 -1
  32. package/app-template/src/__tests__/data-source-landing-page.test.tsx +0 -132
  33. package/app-template/src/app/[pz]/data-source-landing-page/[pk]/loading.tsx +0 -5
  34. package/app-template/src/app/[pz]/data-source-landing-page/[pk]/page.tsx +0 -62
  35. package/app-template/src/app/api/client-env/route.ts +0 -5
  36. package/app-template/src/app/global-error.tsx +0 -22
  37. package/app-template/src/hooks/favourite-product-ids-context.tsx +0 -104
  38. package/app-template/src/utils/__tests__/favourite-product-ids-fallback.test.ts +0 -42
  39. package/app-template/src/utils/__tests__/sanitize.test.ts +0 -127
  40. package/app-template/src/utils/favourite-product-ids-fallback.ts +0 -51
  41. package/app-template/src/utils/sanitize.ts +0 -167
  42. package/app-template/src/views/data-source-page/__tests__/header.test.tsx +0 -173
  43. package/app-template/src/views/data-source-page/__tests__/layout.test.tsx +0 -83
  44. package/app-template/src/views/data-source-page/__tests__/sections.test.tsx +0 -143
  45. package/app-template/src/views/data-source-page/banner.tsx +0 -45
  46. package/app-template/src/views/data-source-page/footer.tsx +0 -27
  47. package/app-template/src/views/data-source-page/header.tsx +0 -140
  48. package/app-template/src/views/data-source-page/layout.tsx +0 -45
  49. package/app-template/src/views/data-source-page/products.tsx +0 -55
  50. package/app-template/src/views/data-source-page/stories.tsx +0 -70
  51. package/app-template/src/views/product/__tests__/product-offers.test.tsx +0 -217
  52. package/app-template/src/views/product/product-offers.tsx +0 -125
  53. package/app-template/src/views/product/rate-review.tsx +0 -21
package/CHANGELOG.md CHANGED
@@ -1,26 +1,6 @@
1
1
  # @akinon/projectzero
2
2
 
3
- ## 2.0.152-rc.3
4
-
5
- ## 2.0.152-rc.2
6
-
7
- ### Patch Changes
8
-
9
- - 9c778307: ZERO-5200: Show the other sellers of a product with their price and stock on the product detail page
10
-
11
- ## 2.0.152-rc.1
12
-
13
- ### Patch Changes
14
-
15
- - 97d29893: ZERO-5220: add the pz-rate-review plugin for the Rate & Review extension
16
-
17
- ## 2.0.152-rc.0
18
-
19
- ### Patch Changes
20
-
21
- - 143be2b9d: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
22
- - d99a6a7d5: ZERO-3457_1: Fixed the settings prop and made sure everything is customizable.
23
- - e18836b20: ZERO-4160: Restore scope in Sentry addon configuration in akinon.json
3
+ ## 2.0.152
24
4
 
25
5
  ## 2.0.151
26
6
 
@@ -11,7 +11,6 @@ NEXT_PUBLIC_THEME_EDITOR_ORIGINS=http://localhost:5174
11
11
  SERVICE_BACKEND_URL=https://02fde10fee4440269e695aa10707dfaf.lb.akinoncloud.com
12
12
  SITEMAP_S3_BUCKET_NAME=0fb534
13
13
  NEXT_PUBLIC_VIRTUAL_TRY_ON_API_URL=https://d2a26507c7094f359aba349b96a96881.lb.akinoncloud.com
14
- NEXT_PUBLIC_ENABLE_IMAGE_SEARCH=true
15
14
 
16
15
  # PZ Dashboard dataLayer observability (unset = observer disabled)
17
16
  # NEXT_PUBLIC_PZ_DASHBOARD_URL=http://localhost:3005
@@ -1,11 +1,3 @@
1
- <!-- BEGIN:nextjs-agent-rules -->
2
-
3
- # Next.js: ALWAYS read docs before coding
4
-
5
- Before any Next.js work, find and read the relevant doc in `node_modules/next/dist/docs/`. Your training data is outdated — the docs are the source of truth.
6
-
7
- <!-- END:nextjs-agent-rules -->
8
-
9
1
  # Project Zero Next.js - Developer Instructions
10
2
 
11
3
  ## 📚 Available Instruction Files
@@ -1,189 +1,37 @@
1
1
  # projectzeronext
2
2
 
3
- ## 2.0.152-rc.3
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [52694374]
8
- - @akinon/pz-cybersource-uc@2.0.152-rc.3
9
- - @akinon/pz-saved-card@2.0.152-rc.3
10
- - @akinon/pz-masterpass-rest@2.0.152-rc.3
11
- - @akinon/next@2.0.152-rc.3
12
- - @akinon/pz-akifast@2.0.152-rc.3
13
- - @akinon/pz-apple-pay@2.0.152-rc.3
14
- - @akinon/pz-b2b@2.0.152-rc.3
15
- - @akinon/pz-basket-gift-pack@2.0.152-rc.3
16
- - @akinon/pz-bkm@2.0.152-rc.3
17
- - @akinon/pz-checkout-gift-pack@2.0.152-rc.3
18
- - @akinon/pz-click-collect@2.0.152-rc.3
19
- - @akinon/pz-credit-payment@2.0.152-rc.3
20
- - @akinon/pz-flow-payment@2.0.152-rc.3
21
- - @akinon/pz-google-pay@2.0.152-rc.3
22
- - @akinon/pz-gpay@2.0.152-rc.3
23
- - @akinon/pz-haso@2.0.152-rc.3
24
- - @akinon/pz-hepsipay@2.0.152-rc.3
25
- - @akinon/pz-masterpass@2.0.152-rc.3
26
- - @akinon/pz-multi-basket@2.0.152-rc.3
27
- - @akinon/pz-one-click-checkout@2.0.152-rc.3
28
- - @akinon/pz-otp@2.0.152-rc.3
29
- - @akinon/pz-pay-on-delivery@2.0.152-rc.3
30
- - @akinon/pz-similar-products@2.0.152-rc.3
31
- - @akinon/pz-tabby-extension@2.0.152-rc.3
32
- - @akinon/pz-tamara-extension@2.0.152-rc.3
33
- - @akinon/pz-theme@2.0.152-rc.3
34
- - @akinon/pz-virtual-try-on@2.0.152-rc.3
35
-
36
- ## 2.0.152-rc.2
37
-
38
- ### Patch Changes
39
-
40
- - 219164a3: ZERO-2301: Add data source landing page data fetcher for Seller Center store pages
41
- - Updated dependencies [219164a3]
42
- - Updated dependencies [9c778307]
43
- - @akinon/next@2.0.152-rc.2
44
- - @akinon/pz-theme@2.0.152-rc.2
45
- - @akinon/pz-virtual-try-on@2.0.152-rc.2
46
- - @akinon/pz-akifast@2.0.152-rc.2
47
- - @akinon/pz-apple-pay@2.0.152-rc.2
48
- - @akinon/pz-b2b@2.0.152-rc.2
49
- - @akinon/pz-basket-gift-pack@2.0.152-rc.2
50
- - @akinon/pz-bkm@2.0.152-rc.2
51
- - @akinon/pz-checkout-gift-pack@2.0.152-rc.2
52
- - @akinon/pz-click-collect@2.0.152-rc.2
53
- - @akinon/pz-credit-payment@2.0.152-rc.2
54
- - @akinon/pz-cybersource-uc@2.0.152-rc.2
55
- - @akinon/pz-flow-payment@2.0.152-rc.2
56
- - @akinon/pz-google-pay@2.0.152-rc.2
57
- - @akinon/pz-gpay@2.0.152-rc.2
58
- - @akinon/pz-haso@2.0.152-rc.2
59
- - @akinon/pz-hepsipay@2.0.152-rc.2
60
- - @akinon/pz-masterpass@2.0.152-rc.2
61
- - @akinon/pz-masterpass-rest@2.0.152-rc.2
62
- - @akinon/pz-multi-basket@2.0.152-rc.2
63
- - @akinon/pz-one-click-checkout@2.0.152-rc.2
64
- - @akinon/pz-otp@2.0.152-rc.2
65
- - @akinon/pz-pay-on-delivery@2.0.152-rc.2
66
- - @akinon/pz-saved-card@2.0.152-rc.2
67
- - @akinon/pz-similar-products@2.0.152-rc.2
68
- - @akinon/pz-tabby-extension@2.0.152-rc.2
69
- - @akinon/pz-tamara-extension@2.0.152-rc.2
70
-
71
- ## 2.0.152-rc.1
72
-
73
- ### Patch Changes
74
-
75
- - Updated dependencies [97d29893]
76
- - Updated dependencies [ad5240c4]
77
- - @akinon/next@2.0.152-rc.1
78
- - @akinon/pz-theme@2.0.152-rc.1
79
- - @akinon/pz-virtual-try-on@2.0.152-rc.1
80
- - @akinon/pz-akifast@2.0.152-rc.1
81
- - @akinon/pz-apple-pay@2.0.152-rc.1
82
- - @akinon/pz-b2b@2.0.152-rc.1
83
- - @akinon/pz-basket-gift-pack@2.0.152-rc.1
84
- - @akinon/pz-bkm@2.0.152-rc.1
85
- - @akinon/pz-checkout-gift-pack@2.0.152-rc.1
86
- - @akinon/pz-click-collect@2.0.152-rc.1
87
- - @akinon/pz-credit-payment@2.0.152-rc.1
88
- - @akinon/pz-cybersource-uc@2.0.152-rc.1
89
- - @akinon/pz-flow-payment@2.0.152-rc.1
90
- - @akinon/pz-google-pay@2.0.152-rc.1
91
- - @akinon/pz-gpay@2.0.152-rc.1
92
- - @akinon/pz-haso@2.0.152-rc.1
93
- - @akinon/pz-hepsipay@2.0.152-rc.1
94
- - @akinon/pz-masterpass@2.0.152-rc.1
95
- - @akinon/pz-masterpass-rest@2.0.152-rc.1
96
- - @akinon/pz-multi-basket@2.0.152-rc.1
97
- - @akinon/pz-one-click-checkout@2.0.152-rc.1
98
- - @akinon/pz-otp@2.0.152-rc.1
99
- - @akinon/pz-pay-on-delivery@2.0.152-rc.1
100
- - @akinon/pz-saved-card@2.0.152-rc.1
101
- - @akinon/pz-similar-products@2.0.152-rc.1
102
- - @akinon/pz-tabby-extension@2.0.152-rc.1
103
- - @akinon/pz-tamara-extension@2.0.152-rc.1
104
-
105
- ## 2.0.152-rc.0
106
-
107
- ### Patch Changes
108
-
109
- - 1a8622a9b: ZERO-3392: Implemented AI Search functionality and update env
110
- - 2fea41430: ZERO-4620: Add runtime access to `NEXT_PUBLIC_*` environment variables from Client Components
111
- - b55acb768: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
112
- - 143be2b9d: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
113
- - 9f8cd3bc5: ZERO-3449: AI Search Active Filters & Crop Style changes have been implemented
114
- - d99a6a7d5: ZERO-3457_1: Fixed the settings prop and made sure everything is customizable.
115
- - 8a0379e62: ZERO-4845: Implement FavouriteProductIds context and provider; enhance fav button logic and add tests for fallback functionality
116
- - ccf21475d: ZERO-4404: Add Next.js 16.2 AI improvements
117
- - c0228aff0: ZERO-4159: Upgrade the package versions
118
- - b05c35435: ZERO-2570: Category filters routes to absolute url
119
- - e18836b20: ZERO-4160: Restore scope in Sentry addon configuration in akinon.json
120
- - c3244a310: ZERO-4013: Update runtime version to node:25-alpine in project configuration
121
- - Updated dependencies [a3e2acbf8]
122
- - Updated dependencies [86187b1c2]
123
- - Updated dependencies [0cf9ea239]
124
- - Updated dependencies [324f97d55]
125
- - Updated dependencies [51ea06888]
126
- - Updated dependencies
127
- - Updated dependencies [c97525a31]
128
- - Updated dependencies [eba125b24]
129
- - Updated dependencies [2fea41430]
130
- - Updated dependencies [119f0c110]
131
- - Updated dependencies [823a4449a]
132
- - Updated dependencies [b55acb768]
133
- - Updated dependencies [760258c1c]
134
- - Updated dependencies [5da13fffc]
135
- - Updated dependencies [143be2b9d]
136
- - Updated dependencies [7889b08fe]
137
- - Updated dependencies [fb4aa9b47]
138
- - Updated dependencies [9f8cd3bc5]
139
- - Updated dependencies [bfafa3f49]
140
- - Updated dependencies [00b9f488f]
141
- - Updated dependencies [57d7eb305]
142
- - Updated dependencies [d99a6a7d5]
143
- - Updated dependencies [9db81a714]
144
- - Updated dependencies [591e345e1]
145
- - Updated dependencies [0df6bc1f8]
146
- - Updated dependencies [4de5303c5]
147
- - Updated dependencies [63a720003]
148
- - Updated dependencies [95b139dc1]
149
- - Updated dependencies [1d00f2d06]
150
- - Updated dependencies [4ac7b2a1e]
151
- - Updated dependencies [4998a9631]
152
- - Updated dependencies [804d2bd6c]
153
- - Updated dependencies [c0228aff0]
154
- - Updated dependencies [3909d3224]
155
- - Updated dependencies [6a3d8a631]
156
- - Updated dependencies [e18836b20]
157
- - Updated dependencies [b1111d7b1]
158
- - Updated dependencies [1595d458e]
159
- - Updated dependencies [dca128112]
160
- - @akinon/pz-tabby-extension@2.0.152-rc.0
161
- - @akinon/next@2.0.152-rc.0
162
- - @akinon/pz-checkout-gift-pack@2.0.152-rc.0
163
- - @akinon/pz-masterpass-rest@2.0.152-rc.0
164
- - @akinon/pz-one-click-checkout@2.0.152-rc.0
165
- - @akinon/pz-basket-gift-pack@2.0.152-rc.0
166
- - @akinon/pz-pay-on-delivery@2.0.152-rc.0
167
- - @akinon/pz-credit-payment@2.0.152-rc.0
168
- - @akinon/pz-click-collect@2.0.152-rc.0
169
- - @akinon/pz-multi-basket@2.0.152-rc.0
170
- - @akinon/pz-masterpass@2.0.152-rc.0
171
- - @akinon/pz-gpay@2.0.152-rc.0
172
- - @akinon/pz-b2b@2.0.152-rc.0
173
- - @akinon/pz-bkm@2.0.152-rc.0
174
- - @akinon/pz-otp@2.0.152-rc.0
175
- - @akinon/pz-similar-products@2.0.152-rc.0
176
- - @akinon/pz-virtual-try-on@2.0.152-rc.0
177
- - @akinon/pz-theme@2.0.152-rc.0
178
- - @akinon/pz-akifast@2.0.152-rc.0
179
- - @akinon/pz-apple-pay@2.0.152-rc.0
180
- - @akinon/pz-cybersource-uc@2.0.152-rc.0
181
- - @akinon/pz-flow-payment@2.0.152-rc.0
182
- - @akinon/pz-google-pay@2.0.152-rc.0
183
- - @akinon/pz-haso@2.0.152-rc.0
184
- - @akinon/pz-hepsipay@2.0.152-rc.0
185
- - @akinon/pz-saved-card@2.0.152-rc.0
186
- - @akinon/pz-tamara-extension@2.0.152-rc.0
3
+ ## 2.0.152
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a2bf51f8]
8
+ - @akinon/pz-theme@2.0.152
9
+ - @akinon/next@2.0.152
10
+ - @akinon/pz-akifast@2.0.152
11
+ - @akinon/pz-apple-pay@2.0.152
12
+ - @akinon/pz-b2b@2.0.152
13
+ - @akinon/pz-basket-gift-pack@2.0.152
14
+ - @akinon/pz-bkm@2.0.152
15
+ - @akinon/pz-checkout-gift-pack@2.0.152
16
+ - @akinon/pz-click-collect@2.0.152
17
+ - @akinon/pz-credit-payment@2.0.152
18
+ - @akinon/pz-cybersource-uc@2.0.152
19
+ - @akinon/pz-flow-payment@2.0.152
20
+ - @akinon/pz-google-pay@2.0.152
21
+ - @akinon/pz-gpay@2.0.152
22
+ - @akinon/pz-haso@2.0.152
23
+ - @akinon/pz-hepsipay@2.0.152
24
+ - @akinon/pz-masterpass@2.0.152
25
+ - @akinon/pz-masterpass-rest@2.0.152
26
+ - @akinon/pz-multi-basket@2.0.152
27
+ - @akinon/pz-one-click-checkout@2.0.152
28
+ - @akinon/pz-otp@2.0.152
29
+ - @akinon/pz-pay-on-delivery@2.0.152
30
+ - @akinon/pz-saved-card@2.0.152
31
+ - @akinon/pz-similar-products@2.0.152
32
+ - @akinon/pz-tabby-extension@2.0.152
33
+ - @akinon/pz-tamara-extension@2.0.152
34
+ - @akinon/pz-virtual-try-on@2.0.152
187
35
 
188
36
  ## 2.0.151
189
37
 
@@ -12,30 +12,6 @@ Run `cp .env.example .env && yarn` command at project root and all dependencies
12
12
 
13
13
  - `SITEMAP_S3_BUCKET_NAME`: S3 bucket name for XML sitemaps (e.g., "0fb534"). This is required for the sitemap route to function correctly.
14
14
 
15
- ### Optional Environment Variables
16
-
17
- - `NEXT_PUBLIC_ENABLE_IMAGE_SEARCH`: Set to `true` to enable image search feature for all users. If not set or `false`, the feature will only be visible to users who have enabled it via localStorage.
18
-
19
- ## Image Search Feature
20
-
21
- The image search functionality allows users to search for similar products by uploading images or cropping existing product images.
22
-
23
- ### Feature Visibility Control
24
-
25
- The image search feature can be controlled in two ways:
26
-
27
- 1. **Environment Variable (Global)**: Set `NEXT_PUBLIC_ENABLE_IMAGE_SEARCH=true` to enable for all users
28
- 2. **localStorage (Individual Users)**: Users can enable it locally using browser developer tools
29
-
30
- ````
31
-
32
- ### Feature Locations
33
-
34
- When enabled, the image search feature appears in:
35
-
36
- - **Header Search**: Camera icon next to the search input
37
- - **Product Detail Page**: "View Similar Styles" button on product images
38
-
39
15
  ### Build
40
16
 
41
17
  To build the app, run the following command:
@@ -43,7 +19,7 @@ To build the app, run the following command:
43
19
  ```bash
44
20
  cd projectzeronext # Project root
45
21
  yarn build
46
- ````
22
+ ```
47
23
 
48
24
  ### Develop
49
25
 
@@ -109,9 +109,3 @@ Integrates Tabby’s installment and deferred payment solutions into the checkou
109
109
  Adds Tamara’s "Buy Now, Pay Later" feature to the payment options. Customers can defer payments while ensuring a seamless checkout experience.
110
110
 
111
111
  [Click here for details](https://www.npmjs.com/package/@akinon/pz-tamara-extension)
112
-
113
- ### Rate & Review
114
-
115
- Connects the storefront to the Akinon Rate & Review extension: approved review lists and rating summaries on product pages, rating badges on listings and a review form on the order page. Credentials stay on the server and the customer identity comes from the session.
116
-
117
- [Click here for details](https://www.npmjs.com/package/@akinon/pz-rate-review)
@@ -1,7 +1,7 @@
1
1
  /// <reference types="next" />
2
2
  /// <reference types="next/image-types/global" />
3
3
  /// <reference types="next/navigation-types/compat/navigation" />
4
- import "./.next/dev/types/routes.d.ts";
4
+ import "./.next/types/routes.d.ts";
5
5
 
6
6
  // NOTE: This file should not be edited
7
7
  // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
@@ -38,9 +38,6 @@ const nextConfig = {
38
38
  ]
39
39
  }
40
40
  ];
41
- },
42
- logging: {
43
- browserToTerminal: 'error'
44
41
  }
45
42
  };
46
43
 
@@ -53,12 +50,9 @@ const withSerwist = withSerwistInit({
53
50
  const sentryConfig = {
54
51
  silent: true,
55
52
  dryRun: !process.env.SENTRY_DSN,
56
- org: 'akinon',
53
+ org: 'akinon'
57
54
  // project: 'enter_your_project_name_here',
58
55
  // authToken: 'enter_your_auth_token_here'
59
- sourcemaps: {
60
- deleteSourcemapsAfterUpload: true
61
- }
62
56
  };
63
57
 
64
58
  const enhancedConfig = withPzConfig(nextConfig);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "2.0.152-rc.3",
3
+ "version": "2.0.152",
4
4
  "private": true,
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -24,33 +24,33 @@
24
24
  "test:middleware": "jest middleware-matcher.test.ts --bail"
25
25
  },
26
26
  "dependencies": {
27
- "@akinon/next": "2.0.152-rc.3",
28
- "@akinon/pz-akifast": "2.0.152-rc.3",
29
- "@akinon/pz-apple-pay": "2.0.152-rc.3",
30
- "@akinon/pz-b2b": "2.0.152-rc.3",
31
- "@akinon/pz-basket-gift-pack": "2.0.152-rc.3",
32
- "@akinon/pz-bkm": "2.0.152-rc.3",
33
- "@akinon/pz-checkout-gift-pack": "2.0.152-rc.3",
34
- "@akinon/pz-click-collect": "2.0.152-rc.3",
35
- "@akinon/pz-credit-payment": "2.0.152-rc.3",
36
- "@akinon/pz-cybersource-uc": "2.0.152-rc.3",
37
- "@akinon/pz-flow-payment": "2.0.152-rc.3",
38
- "@akinon/pz-google-pay": "2.0.152-rc.3",
39
- "@akinon/pz-gpay": "2.0.152-rc.3",
40
- "@akinon/pz-haso": "2.0.152-rc.3",
41
- "@akinon/pz-hepsipay": "2.0.152-rc.3",
42
- "@akinon/pz-masterpass": "2.0.152-rc.3",
43
- "@akinon/pz-masterpass-rest": "2.0.152-rc.3",
44
- "@akinon/pz-multi-basket": "2.0.152-rc.3",
45
- "@akinon/pz-one-click-checkout": "2.0.152-rc.3",
46
- "@akinon/pz-otp": "2.0.152-rc.3",
47
- "@akinon/pz-pay-on-delivery": "2.0.152-rc.3",
48
- "@akinon/pz-saved-card": "2.0.152-rc.3",
49
- "@akinon/pz-similar-products": "2.0.152-rc.3",
50
- "@akinon/pz-tabby-extension": "2.0.152-rc.3",
51
- "@akinon/pz-tamara-extension": "2.0.152-rc.3",
52
- "@akinon/pz-theme": "2.0.152-rc.3",
53
- "@akinon/pz-virtual-try-on": "2.0.152-rc.3",
27
+ "@akinon/next": "2.0.152",
28
+ "@akinon/pz-akifast": "2.0.152",
29
+ "@akinon/pz-apple-pay": "2.0.152",
30
+ "@akinon/pz-b2b": "2.0.152",
31
+ "@akinon/pz-basket-gift-pack": "2.0.152",
32
+ "@akinon/pz-bkm": "2.0.152",
33
+ "@akinon/pz-checkout-gift-pack": "2.0.152",
34
+ "@akinon/pz-click-collect": "2.0.152",
35
+ "@akinon/pz-credit-payment": "2.0.152",
36
+ "@akinon/pz-cybersource-uc": "2.0.152",
37
+ "@akinon/pz-flow-payment": "2.0.152",
38
+ "@akinon/pz-google-pay": "2.0.152",
39
+ "@akinon/pz-gpay": "2.0.152",
40
+ "@akinon/pz-haso": "2.0.152",
41
+ "@akinon/pz-hepsipay": "2.0.152",
42
+ "@akinon/pz-masterpass": "2.0.152",
43
+ "@akinon/pz-masterpass-rest": "2.0.152",
44
+ "@akinon/pz-multi-basket": "2.0.152",
45
+ "@akinon/pz-one-click-checkout": "2.0.152",
46
+ "@akinon/pz-otp": "2.0.152",
47
+ "@akinon/pz-pay-on-delivery": "2.0.152",
48
+ "@akinon/pz-saved-card": "2.0.152",
49
+ "@akinon/pz-similar-products": "2.0.152",
50
+ "@akinon/pz-tabby-extension": "2.0.152",
51
+ "@akinon/pz-tamara-extension": "2.0.152",
52
+ "@akinon/pz-theme": "2.0.152",
53
+ "@akinon/pz-virtual-try-on": "2.0.152",
54
54
  "@hookform/resolvers": "2.9.0",
55
55
  "@next/third-parties": "16.2.6",
56
56
  "@react-google-maps/api": "2.17.1",
@@ -59,7 +59,7 @@
59
59
  "next": "16.2.6",
60
60
  "@serwist/next": "9.5.11",
61
61
  "next-auth": "5.0.0-beta.30",
62
- "pino": "8.21.0",
62
+ "pino": "8.11.0",
63
63
  "serwist": "9.5.11",
64
64
  "postcss": "8.4.49",
65
65
  "react": "19.2.5",
@@ -67,14 +67,14 @@
67
67
  "react-google-recaptcha": "2.1.0",
68
68
  "react-hook-form": "7.71.2",
69
69
  "react-intersection-observer": "9.4.0",
70
- "react-multi-carousel": "2.8.5",
71
- "react-string-replace": "1.1.1",
72
- "start-server-and-test": "2.0.8",
73
- "tailwind-merge": "1.14.0",
70
+ "react-multi-carousel": "2.8.4",
71
+ "react-string-replace": "1.1.0",
72
+ "start-server-and-test": "2.0.3",
73
+ "tailwind-merge": "1.8.0",
74
74
  "yup": "0.32.11"
75
75
  },
76
76
  "devDependencies": {
77
- "@akinon/eslint-plugin-projectzero": "2.0.152-rc.3",
77
+ "@akinon/eslint-plugin-projectzero": "2.0.152",
78
78
  "@semantic-release/changelog": "6.0.2",
79
79
  "@semantic-release/exec": "6.0.3",
80
80
  "@semantic-release/git": "10.0.1",
@@ -89,25 +89,25 @@
89
89
  "@types/react": "19.2.14",
90
90
  "@types/react-dom": "19.2.3",
91
91
  "client-only": "0.0.1",
92
- "clsx": "1.2.1",
92
+ "clsx": "1.1.1",
93
93
  "currency-symbol-map": "5.1.0",
94
94
  "eslint": "9.39.4",
95
95
  "eslint-config-next": "16.2.4",
96
96
  "eslint-config-prettier": "10.1.1",
97
97
  "husky": "8.0.0",
98
98
  "jest": "29.7.0",
99
- "jest-css-modules-transform": "4.4.2",
99
+ "jest-css-modules-transform": "4.3.0",
100
100
  "jest-environment-jsdom": "29.7.0",
101
- "lint-staged": "13.3.0",
102
- "prettier": "2.8.8",
101
+ "lint-staged": "13.1.0",
102
+ "prettier": "2.6.2",
103
103
  "react-number-format": "5.3.4",
104
- "sass": "1.83.0",
104
+ "sass": "1.49.9",
105
105
  "semantic-release": "19.0.5",
106
106
  "server-only": "0.0.1",
107
- "stylelint": "14.16.1",
107
+ "stylelint": "14.6.0",
108
108
  "stylelint-config-sass-guidelines": "9.0.1",
109
109
  "stylelint-config-standard": "25.0.0",
110
- "stylelint-scss": "4.7.0",
110
+ "stylelint-scss": "4.2.0",
111
111
  "stylelint-selector-bem-pattern": "2.1.1",
112
112
  "tailwindcss": "4.2.0",
113
113
  "ts-jest": "29.2.6",
@@ -144,10 +144,5 @@
144
144
  "address": {
145
145
  "label": "Select Address"
146
146
  }
147
- },
148
- "data_source_page": {
149
- "search_placeholder": "Search in store",
150
- "search_button": "Search in store",
151
- "all_products": "All products of the store"
152
147
  }
153
148
  }
@@ -34,12 +34,6 @@
34
34
  "installment_not_available": "Installment options not available",
35
35
  "cash": "Cash",
36
36
  "installment": "Installment",
37
- "offers": {
38
- "title": "OTHER SELLERS OF THE PRODUCT",
39
- "see_all": "See All",
40
- "in_stock": "In Stock",
41
- "out_of_stock": "Out of Stock"
42
- },
43
37
  "stock_alert": {
44
38
  "title": "Stock Alert",
45
39
  "success_description": "When your size is back in stock we'll send an email to: <Email/>",
@@ -144,10 +144,5 @@
144
144
  "address": {
145
145
  "label": "Adres Seçiniz"
146
146
  }
147
- },
148
- "data_source_page": {
149
- "search_placeholder": "Mağazada ara",
150
- "search_button": "Mağazada ara",
151
- "all_products": "Mağazanın tüm ürünleri"
152
147
  }
153
148
  }
@@ -34,12 +34,6 @@
34
34
  "installment_not_available": "Taksit seçenekleri mevcut değil",
35
35
  "cash": "Peşin",
36
36
  "installment": "Taksit",
37
- "offers": {
38
- "title": "ÜRÜNÜN DİĞER SATICILARI",
39
- "see_all": "Hepsini gör",
40
- "in_stock": "Stokta var",
41
- "out_of_stock": "Stokta yok"
42
- },
43
37
  "stock_alert": {
44
38
  "title": "Stok Uyarısı",
45
39
  "success_description": "Bedeniniz stoklara tekrar girdiğinde şu adrese bir e-posta göndereceğiz: <Email/>",
@@ -115,14 +115,6 @@ export async function generateMetadata(props: AsyncPageProps) {
115
115
  result = await module['generateMetadata']?.(commonProps as any);
116
116
  });
117
117
  }
118
-
119
- if (prettyUrlResult.path.startsWith('/data-source-landing-page/')) {
120
- await import('@data-source-landing-page/[pk]/page').then(
121
- async (module) => {
122
- result = await module['generateMetadata']?.(commonProps as any);
123
- }
124
- );
125
- }
126
118
  // eslint-disable-next-line no-empty
127
119
  } catch (error) {}
128
120
 
@@ -197,11 +189,5 @@ export default async function Page(props) {
197
189
  return <FlatPage {...commonProps} />;
198
190
  }
199
191
 
200
- if (result.path.startsWith('/data-source-landing-page/')) {
201
- const DataSourcePage = (await import('@data-source-landing-page/[pk]/page'))
202
- .default;
203
- return <DataSourcePage {...commonProps} />;
204
- }
205
-
206
192
  return null;
207
193
  }
@@ -13,9 +13,6 @@ import { ROUTES } from '@theme/routes';
13
13
  import { useLocalization } from '@akinon/next/hooks';
14
14
  import settings from 'settings';
15
15
  import { getOrderStatus } from 'utils';
16
- import PluginModule, { Component } from '@akinon/next/components/plugin-module';
17
-
18
- const DELIVERED_ORDER_ITEM_STATUS = '550';
19
16
 
20
17
  const AccountOrderDetail = () => {
21
18
  const { id } = useParams<{ id: string }>();
@@ -231,24 +228,6 @@ const AccountOrderDetail = () => {
231
228
  {itemStatus.label}
232
229
  </div>
233
230
 
234
- {item?.status?.value?.toString() ===
235
- DELIVERED_ORDER_ITEM_STATUS && (
236
- <PluginModule
237
- component={Component.OrderItemRateAction}
238
- props={{
239
- orderId: order.id,
240
- orderNumber: order.number,
241
- orderDate: order.created_date,
242
- product: {
243
- sku: item.product.sku,
244
- base_code: item.product.base_code,
245
- name: item.product.name
246
- },
247
- classNames: { root: 'lg:ml-6' }
248
- }}
249
- />
250
- )}
251
-
252
231
  {(item?.is_cancellable || item?.is_refundable) &&
253
232
  order?.is_cancellable && (
254
233
  <div className="lg:ml-24">
@@ -2,11 +2,7 @@ import { getProductData, getWidgetData } from '@akinon/next/data/server';
2
2
  import { withSegmentDefaults } from '@akinon/next/hocs/server';
3
3
  import { AsyncPageProps, ResolvedPageProps, Metadata } from '@akinon/next/types';
4
4
  import { generateJsonLd, serializeJsonLd } from '@theme/utils/generate-jsonld';
5
- import {
6
- AccordionWrapper,
7
- ProductInfo,
8
- ProductRateReview
9
- } from '@theme/views/product';
5
+ import { AccordionWrapper, ProductInfo } from '@theme/views/product';
10
6
  import ProductLayout from '@theme/views/product/layout';
11
7
  import { notFound } from 'next/navigation';
12
8
 
@@ -87,8 +83,6 @@ async function Page({ params, searchParams }: ResolvedPageProps<{ pk: number }>)
87
83
  data={data}
88
84
  deliveryReturn={deliveryReturn?.attributes}
89
85
  />
90
-
91
- <ProductRateReview data={data} />
92
86
  </div>
93
87
  </ProductLayout>
94
88
  <script
@@ -1,3 +1 @@
1
- export * from './use-contract';
2
- export * from './use-fav-button';
3
1
  export * from './use-add-product-to-basket';