$product = {"id":7988657586275,"title":"iPhone 15 Clear 梵谷博物館 頭","handle":"iphone-15-jellytint-vr06","description":null,"published_at":"2026-04-02T14:57:09+08:00","created_at":"2026-03-31T15:03:20+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":44092505882723,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012950J-VR06","requires_shipping":true,"taxable":true,"featured_image":{"id":35580611821667,"product_id":7988657586275,"position":12,"created_at":"2026-04-02T11:23:50+08:00","updated_at":"2026-04-02T11:23:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_dcf265ab-3bc9-4d5e-b901-fec56f925b5a.webp?v=1775100232","variant_ids":[44092505882723]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 頭 - 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-VR06","featured_media":{"alt":null,"id":27113233416291,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_dcf265ab-3bc9-4d5e-b901-fec56f925b5a.webp?v=1775100232"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092506505315,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012950G-VR06","requires_shipping":true,"taxable":true,"featured_image":{"id":35580611100771,"product_id":7988657586275,"position":9,"created_at":"2026-04-02T11:23:48+08:00","updated_at":"2026-04-02T11:23:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8_b53fcb7a-0be3-4874-9432-12c2e272b2fc.webp?v=1775100230","variant_ids":[44092506505315]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 頭 - 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-VR06","featured_media":{"alt":null,"id":27113232695395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8_b53fcb7a-0be3-4874-9432-12c2e272b2fc.webp?v=1775100230"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092506538083,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012950H-VR06","requires_shipping":true,"taxable":true,"featured_image":{"id":35580611559523,"product_id":7988657586275,"position":11,"created_at":"2026-04-02T11:23:49+08:00","updated_at":"2026-04-02T11:23:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0_fea0b0c2-3698-4a84-8ef0-63dda129aae8.webp?v=1775100231","variant_ids":[44092506538083]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 頭 - 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-VR06","featured_media":{"alt":null,"id":27113233154147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0_fea0b0c2-3698-4a84-8ef0-63dda129aae8.webp?v=1775100231"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092506570851,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012950I-VR06","requires_shipping":true,"taxable":true,"featured_image":{"id":35580611297379,"product_id":7988657586275,"position":10,"created_at":"2026-04-02T11:23:49+08:00","updated_at":"2026-04-02T11:23:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd_fc98ad36-e9b8-4007-9a2f-5b81f15ae049.webp?v=1775100231","variant_ids":[44092506570851]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 頭 - 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-VR06","featured_media":{"alt":null,"id":27113232892003,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd_fc98ad36-e9b8-4007-9a2f-5b81f15ae049.webp?v=1775100231"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0.webp?v=1774940607","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc.webp?v=1774940607","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd.webp?v=1774940608","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8.webp?v=1774940609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd_ad7b7394-096a-4afb-8a10-32df805b41ff.webp?v=1775020321","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8_96990146-421a-43a8-b98a-28bec0023efb.webp?v=1775020322","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_05cb8ab4-5d56-4cca-a96a-d5d22ff8f115.webp?v=1775020322","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0_3ad02369-bd52-4cbe-93b8-2e3ba54a6681.webp?v=1775020323","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8_b53fcb7a-0be3-4874-9432-12c2e272b2fc.webp?v=1775100230","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd_fc98ad36-e9b8-4007-9a2f-5b81f15ae049.webp?v=1775100231","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0_fea0b0c2-3698-4a84-8ef0-63dda129aae8.webp?v=1775100231","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_dcf265ab-3bc9-4d5e-b901-fec56f925b5a.webp?v=1775100232"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0.webp?v=1774940607","options":["color"],"media":[{"alt":null,"id":27102569857123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0.webp?v=1774940607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0.webp?v=1774940607","width":2000},{"alt":null,"id":27102569955427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc.webp?v=1774940607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc.webp?v=1774940607","width":2000},{"alt":null,"id":27102570119267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd.webp?v=1774940608"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd.webp?v=1774940608","width":2000},{"alt":null,"id":27102570283107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8.webp?v=1774940609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8.webp?v=1774940609","width":2000},{"alt":null,"id":27107750477923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd_ad7b7394-096a-4afb-8a10-32df805b41ff.webp?v=1775020321"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd_ad7b7394-096a-4afb-8a10-32df805b41ff.webp?v=1775020321","width":2000},{"alt":null,"id":27107750510691,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8_96990146-421a-43a8-b98a-28bec0023efb.webp?v=1775020322"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8_96990146-421a-43a8-b98a-28bec0023efb.webp?v=1775020322","width":2000},{"alt":null,"id":27107750608995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_05cb8ab4-5d56-4cca-a96a-d5d22ff8f115.webp?v=1775020322"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_05cb8ab4-5d56-4cca-a96a-d5d22ff8f115.webp?v=1775020322","width":2000},{"alt":null,"id":27107750641763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0_3ad02369-bd52-4cbe-93b8-2e3ba54a6681.webp?v=1775020323"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0_3ad02369-bd52-4cbe-93b8-2e3ba54a6681.webp?v=1775020323","width":2000},{"alt":null,"id":27113232695395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8_b53fcb7a-0be3-4874-9432-12c2e272b2fc.webp?v=1775100230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8_b53fcb7a-0be3-4874-9432-12c2e272b2fc.webp?v=1775100230","width":2000},{"alt":null,"id":27113232892003,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd_fc98ad36-e9b8-4007-9a2f-5b81f15ae049.webp?v=1775100231"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd_fc98ad36-e9b8-4007-9a2f-5b81f15ae049.webp?v=1775100231","width":2000},{"alt":null,"id":27113233154147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0_fea0b0c2-3698-4a84-8ef0-63dda129aae8.webp?v=1775100231"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0_fea0b0c2-3698-4a84-8ef0-63dda129aae8.webp?v=1775100231","width":2000},{"alt":null,"id":27113233416291,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_dcf265ab-3bc9-4d5e-b901-fec56f925b5a.webp?v=1775100232"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_dcf265ab-3bc9-4d5e-b901-fec56f925b5a.webp?v=1775100232","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44092505882723,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012950J-VR06","requires_shipping":true,"taxable":true,"featured_image":{"id":35580611821667,"product_id":7988657586275,"position":12,"created_at":"2026-04-02T11:23:50+08:00","updated_at":"2026-04-02T11:23:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_dcf265ab-3bc9-4d5e-b901-fec56f925b5a.webp?v=1775100232","variant_ids":[44092505882723]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 頭 - 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-VR06","featured_media":{"alt":null,"id":27113233416291,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_dcf265ab-3bc9-4d5e-b901-fec56f925b5a.webp?v=1775100232"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092506505315,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012950G-VR06","requires_shipping":true,"taxable":true,"featured_image":{"id":35580611100771,"product_id":7988657586275,"position":9,"created_at":"2026-04-02T11:23:48+08:00","updated_at":"2026-04-02T11:23:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8_b53fcb7a-0be3-4874-9432-12c2e272b2fc.webp?v=1775100230","variant_ids":[44092506505315]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 頭 - 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-VR06","featured_media":{"alt":null,"id":27113232695395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e11f87708d67714907a961e0260132d768564b8_b53fcb7a-0be3-4874-9432-12c2e272b2fc.webp?v=1775100230"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092506538083,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012950H-VR06","requires_shipping":true,"taxable":true,"featured_image":{"id":35580611559523,"product_id":7988657586275,"position":11,"created_at":"2026-04-02T11:23:49+08:00","updated_at":"2026-04-02T11:23:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0_fea0b0c2-3698-4a84-8ef0-63dda129aae8.webp?v=1775100231","variant_ids":[44092506538083]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 頭 - 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-VR06","featured_media":{"alt":null,"id":27113233154147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/107ebcab69bf4c9096a2d64b6b9943f5a3aa5df0_fea0b0c2-3698-4a84-8ef0-63dda129aae8.webp?v=1775100231"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092506570851,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012950I-VR06","requires_shipping":true,"taxable":true,"featured_image":{"id":35580611297379,"product_id":7988657586275,"position":10,"created_at":"2026-04-02T11:23:49+08:00","updated_at":"2026-04-02T11:23:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd_fc98ad36-e9b8-4007-9a2f-5b81f15ae049.webp?v=1775100231","variant_ids":[44092506570851]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 頭 - 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-VR06","featured_media":{"alt":null,"id":27113232892003,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edfe23b9153d42d70ba4be0210e8894cc0402bd_fc98ad36-e9b8-4007-9a2f-5b81f15ae049.webp?v=1775100231"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44092505882723,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012950J-VR06","requires_shipping":true,"taxable":true,"featured_image":{"id":35580611821667,"product_id":7988657586275,"position":12,"created_at":"2026-04-02T11:23:50+08:00","updated_at":"2026-04-02T11:23:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_dcf265ab-3bc9-4d5e-b901-fec56f925b5a.webp?v=1775100232","variant_ids":[44092505882723]},"available":true,"name":"iPhone 15 Clear 梵谷博物館 頭 - 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-VR06","featured_media":{"alt":null,"id":27113233416291,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91000174678c01bfa4c4d254ea4906e3b48152cc_dcf265ab-3bc9-4d5e-b901-fec56f925b5a.webp?v=1775100232"}},"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: "停產" }