Skip to content

Commit 5061e74

Browse files
committed
fix: temp log
1 parent 6ceaf95 commit 5061e74

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/content/queries/cs-product.js

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ export const adapter = (productData) => {
2020
const minPrice = productData.priceRange?.minimum ?? productData.price;
2121
const maxPrice = productData.priceRange?.maximum ?? productData.price;
2222

23+
console.debug('[cs-product] minPrice, maxPrice: ', minPrice, maxPrice);
24+
2325
/** @type {Product} */
2426
const product = {
2527
sku: productData.sku,

src/content/queries/cs-variants.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const adapter = (variants) => variants.map(({ selections, product }) => {
2020
const minPrice = product.priceRange?.minimum ?? product.price;
2121
const maxPrice = product.priceRange?.maximum ?? product.price;
2222

23-
console.debug('minPrice, maxPrice: ', minPrice, maxPrice);
23+
console.debug('[cs-variant] minPrice, maxPrice: ', minPrice, maxPrice);
2424

2525
/** @type {Variant} */
2626
const variant = {

0 commit comments

Comments
 (0)