$product = {"id":7988596801635,"title":"iPhone 15 Clear 梵谷博物館 Amandier en fleurs - Transparent","handle":"iphone-15-jellytint-vr09","description":null,"published_at":"2026-04-02T15:01:47+08:00","created_at":"2026-03-31T14:31:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-vangoghmuseum","device-iPhone 15","merge","reseller-vangoghmuseum"],"price":128000,"price_min":128000,"price_max":128000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":44092215558243,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012950J-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580637053027,"product_id":7988596801635,"position":9,"created_at":"2026-04-02T11:24:54+08:00","updated_at":"2026-04-02T11:24:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_00ea4cbb-55de-4cc8-a0bb-c503be5abaf9.webp?v=1775100296","variant_ids":[44092215558243]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 Amandier en fleurs - Transparent - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950J-VR09","featured_media":{"alt":null,"id":27113258614883,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_00ea4cbb-55de-4cc8-a0bb-c503be5abaf9.webp?v=1775100296"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092216541283,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012950G-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580637806691,"product_id":7988596801635,"position":12,"created_at":"2026-04-02T11:24:56+08:00","updated_at":"2026-04-02T11:24:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc_9abfe576-b34a-4eef-8246-e23b224e6a90.webp?v=1775100298","variant_ids":[44092216541283]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 Amandier en fleurs - Transparent - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950G-VR09","featured_media":{"alt":null,"id":27113259368547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc_9abfe576-b34a-4eef-8246-e23b224e6a90.webp?v=1775100298"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092216574051,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012950H-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580637544547,"product_id":7988596801635,"position":11,"created_at":"2026-04-02T11:24:55+08:00","updated_at":"2026-04-02T11:24:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280_e4f24ad1-fb13-4740-82aa-c5c48a05ea55.webp?v=1775100297","variant_ids":[44092216574051]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 Amandier en fleurs - Transparent - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950H-VR09","featured_media":{"alt":null,"id":27113259106403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280_e4f24ad1-fb13-4740-82aa-c5c48a05ea55.webp?v=1775100297"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092216606819,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012950I-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580637249635,"product_id":7988596801635,"position":10,"created_at":"2026-04-02T11:24:55+08:00","updated_at":"2026-04-02T11:24:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad_12dba678-4ee8-4d12-b1d2-bd004ba5d7a8.webp?v=1775100297","variant_ids":[44092216606819]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 Amandier en fleurs - Transparent - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950I-VR09","featured_media":{"alt":null,"id":27113258811491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad_12dba678-4ee8-4d12-b1d2-bd004ba5d7a8.webp?v=1775100297"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad.webp?v=1774938712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280.webp?v=1774938713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc.webp?v=1774938713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452.webp?v=1774938714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_38034d53-cf09-44e2-be78-ba85ad9fefe1.webp?v=1775021625","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc_4da35ac2-65bd-4e1f-abe2-c62736b21318.webp?v=1775021626","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad_323e0ff1-f14f-4621-9965-47f2a4fc6fe6.webp?v=1775021626","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280_f3427924-bee0-4595-bc4d-5d2b88b3ded3.webp?v=1775021627","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_00ea4cbb-55de-4cc8-a0bb-c503be5abaf9.webp?v=1775100296","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad_12dba678-4ee8-4d12-b1d2-bd004ba5d7a8.webp?v=1775100297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280_e4f24ad1-fb13-4740-82aa-c5c48a05ea55.webp?v=1775100297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc_9abfe576-b34a-4eef-8246-e23b224e6a90.webp?v=1775100298"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad.webp?v=1774938712","options":["color"],"media":[{"alt":null,"id":27102090362979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad.webp?v=1774938712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad.webp?v=1774938712","width":2000},{"alt":null,"id":27102090657891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280.webp?v=1774938713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280.webp?v=1774938713","width":2000},{"alt":null,"id":27102090887267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc.webp?v=1774938713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc.webp?v=1774938713","width":2000},{"alt":null,"id":27102091182179,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452.webp?v=1774938714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452.webp?v=1774938714","width":2000},{"alt":null,"id":27108109058147,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_38034d53-cf09-44e2-be78-ba85ad9fefe1.webp?v=1775021625"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_38034d53-cf09-44e2-be78-ba85ad9fefe1.webp?v=1775021625","width":2000},{"alt":null,"id":27108109254755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc_4da35ac2-65bd-4e1f-abe2-c62736b21318.webp?v=1775021626"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc_4da35ac2-65bd-4e1f-abe2-c62736b21318.webp?v=1775021626","width":2000},{"alt":null,"id":27108109484131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad_323e0ff1-f14f-4621-9965-47f2a4fc6fe6.webp?v=1775021626"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad_323e0ff1-f14f-4621-9965-47f2a4fc6fe6.webp?v=1775021626","width":2000},{"alt":null,"id":27108109582435,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280_f3427924-bee0-4595-bc4d-5d2b88b3ded3.webp?v=1775021627"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280_f3427924-bee0-4595-bc4d-5d2b88b3ded3.webp?v=1775021627","width":2000},{"alt":null,"id":27113258614883,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_00ea4cbb-55de-4cc8-a0bb-c503be5abaf9.webp?v=1775100296"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_00ea4cbb-55de-4cc8-a0bb-c503be5abaf9.webp?v=1775100296","width":2000},{"alt":null,"id":27113258811491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad_12dba678-4ee8-4d12-b1d2-bd004ba5d7a8.webp?v=1775100297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad_12dba678-4ee8-4d12-b1d2-bd004ba5d7a8.webp?v=1775100297","width":2000},{"alt":null,"id":27113259106403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280_e4f24ad1-fb13-4740-82aa-c5c48a05ea55.webp?v=1775100297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280_e4f24ad1-fb13-4740-82aa-c5c48a05ea55.webp?v=1775100297","width":2000},{"alt":null,"id":27113259368547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc_9abfe576-b34a-4eef-8246-e23b224e6a90.webp?v=1775100298"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc_9abfe576-b34a-4eef-8246-e23b224e6a90.webp?v=1775100298","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44092215558243,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012950J-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580637053027,"product_id":7988596801635,"position":9,"created_at":"2026-04-02T11:24:54+08:00","updated_at":"2026-04-02T11:24:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_00ea4cbb-55de-4cc8-a0bb-c503be5abaf9.webp?v=1775100296","variant_ids":[44092215558243]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 Amandier en fleurs - Transparent - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950J-VR09","featured_media":{"alt":null,"id":27113258614883,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_00ea4cbb-55de-4cc8-a0bb-c503be5abaf9.webp?v=1775100296"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092216541283,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012950G-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580637806691,"product_id":7988596801635,"position":12,"created_at":"2026-04-02T11:24:56+08:00","updated_at":"2026-04-02T11:24:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc_9abfe576-b34a-4eef-8246-e23b224e6a90.webp?v=1775100298","variant_ids":[44092216541283]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 Amandier en fleurs - Transparent - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950G-VR09","featured_media":{"alt":null,"id":27113259368547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd13caa42a80becb3d11fc942c61f75f2b1f54cc_9abfe576-b34a-4eef-8246-e23b224e6a90.webp?v=1775100298"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092216574051,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012950H-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580637544547,"product_id":7988596801635,"position":11,"created_at":"2026-04-02T11:24:55+08:00","updated_at":"2026-04-02T11:24:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280_e4f24ad1-fb13-4740-82aa-c5c48a05ea55.webp?v=1775100297","variant_ids":[44092216574051]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 Amandier en fleurs - Transparent - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950H-VR09","featured_media":{"alt":null,"id":27113259106403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70413203b405191781010938b4c65f208196280_e4f24ad1-fb13-4740-82aa-c5c48a05ea55.webp?v=1775100297"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092216606819,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012950I-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580637249635,"product_id":7988596801635,"position":10,"created_at":"2026-04-02T11:24:55+08:00","updated_at":"2026-04-02T11:24:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad_12dba678-4ee8-4d12-b1d2-bd004ba5d7a8.webp?v=1775100297","variant_ids":[44092216606819]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 Amandier en fleurs - Transparent - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950I-VR09","featured_media":{"alt":null,"id":27113258811491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cc613016796c11ac5ae9d191c9139b4025234ad_12dba678-4ee8-4d12-b1d2-bd004ba5d7a8.webp?v=1775100297"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44092215558243,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012950J-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580637053027,"product_id":7988596801635,"position":9,"created_at":"2026-04-02T11:24:54+08:00","updated_at":"2026-04-02T11:24:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_00ea4cbb-55de-4cc8-a0bb-c503be5abaf9.webp?v=1775100296","variant_ids":[44092215558243]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 Amandier en fleurs - Transparent - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950J-VR09","featured_media":{"alt":null,"id":27113258614883,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14236c9387f49fc99fc65e4935be3efd9037a452_00ea4cbb-55de-4cc8-a0bb-c503be5abaf9.webp?v=1775100296"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }