$product = {"id":7951968960611,"title":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 貓兒歷險記 - 愛心瑪麗","handle":"iphone-15-plus-solidx-oy72","description":null,"published_at":"2026-01-13T16:24:35+08:00","created_at":"2026-01-13T15:50:17+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-disney-classics","device-iPhone 15 Plus","merge","reseller-disney-classics"],"price":125000,"price_min":125000,"price_max":125000,"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":43949571145827,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-OY72","requires_shipping":true,"taxable":true,"featured_image":{"id":35185705844835,"product_id":7951968960611,"position":11,"created_at":"2026-02-04T10:36:27+08:00","updated_at":"2026-02-04T10:36:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf_a4be0bd7-6fcb-4be3-9758-f400038abf55.webp?v=1770172589","variant_ids":[43949571145827]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 貓兒歷險記 - 愛心瑪麗 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01296O8-OY72","featured_media":{"alt":null,"id":26738041651299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf_a4be0bd7-6fcb-4be3-9758-f400038abf55.webp?v=1770172589"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43949579763811,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-OY72","requires_shipping":true,"taxable":true,"featured_image":{"id":35185706303587,"product_id":7951968960611,"position":12,"created_at":"2026-02-04T10:36:27+08:00","updated_at":"2026-02-04T10:36:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677_360d1dea-628f-4d1f-aec4-af92739716c2.webp?v=1770172589","variant_ids":[43949579763811]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 貓兒歷險記 - 愛心瑪麗 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-OY72","featured_media":{"alt":null,"id":26738042110051,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677_360d1dea-628f-4d1f-aec4-af92739716c2.webp?v=1770172589"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43949582778467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-OY72","requires_shipping":true,"taxable":true,"featured_image":{"id":35185708138595,"product_id":7951968960611,"position":16,"created_at":"2026-02-04T10:36:30+08:00","updated_at":"2026-02-04T10:36:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b166e4d0d212b46417b1de02fda27c4474c52_028d18b2-6955-4422-bf28-be60ba92c471.webp?v=1770172592","variant_ids":[43949582778467]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 貓兒歷險記 - 愛心瑪麗 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-OY72","featured_media":{"alt":null,"id":26738043977827,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b166e4d0d212b46417b1de02fda27c4474c52_028d18b2-6955-4422-bf28-be60ba92c471.webp?v=1770172592"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677.webp?v=1768290644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf.webp?v=1768290645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b166e4d0d212b46417b1de02fda27c4474c52.webp?v=1768290645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689118b57508204e7f001e7228157c971b79b482.webp?v=1768290646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9272d6aab8e16ab8fc2e9aa2b8061f344097bb4c.webp?v=1768290646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d043b2be275b57e5ff21a2b12679c60457d5cb3.webp?v=1768290647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbdf1265c7529b49e2524a74bad887f3db0816e.webp?v=1768290648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e51063d9e177c71f45c885de81aee773dfc81c8.webp?v=1768290649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbdf1265c7529b49e2524a74bad887f3db0816e_69de0bfb-2206-4148-86fe-025c70769ed3.webp?v=1770172587","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e51063d9e177c71f45c885de81aee773dfc81c8_020842fc-95df-4f48-a774-aa0b2fbe5a55.webp?v=1770172588","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf_a4be0bd7-6fcb-4be3-9758-f400038abf55.webp?v=1770172589","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677_360d1dea-628f-4d1f-aec4-af92739716c2.webp?v=1770172589","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d043b2be275b57e5ff21a2b12679c60457d5cb3_e616367d-2126-4c3c-af0a-a2ca34c18998.webp?v=1770172590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689118b57508204e7f001e7228157c971b79b482_f6fdcc1d-26b9-48af-962e-5422cc821604.webp?v=1770172590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9272d6aab8e16ab8fc2e9aa2b8061f344097bb4c_bb00805c-72d8-41c1-a042-147b63b15399.webp?v=1770172591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b166e4d0d212b46417b1de02fda27c4474c52_028d18b2-6955-4422-bf28-be60ba92c471.webp?v=1770172592"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677.webp?v=1768290644","options":["color"],"media":[{"alt":null,"id":26655553814627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677.webp?v=1768290644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677.webp?v=1768290644","width":2000},{"alt":null,"id":26655554338915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf.webp?v=1768290645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf.webp?v=1768290645","width":2000},{"alt":null,"id":26655554961507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b166e4d0d212b46417b1de02fda27c4474c52.webp?v=1768290645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b166e4d0d212b46417b1de02fda27c4474c52.webp?v=1768290645","width":2000},{"alt":null,"id":26655555387491,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689118b57508204e7f001e7228157c971b79b482.webp?v=1768290646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689118b57508204e7f001e7228157c971b79b482.webp?v=1768290646","width":2000},{"alt":null,"id":26655555715171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9272d6aab8e16ab8fc2e9aa2b8061f344097bb4c.webp?v=1768290646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9272d6aab8e16ab8fc2e9aa2b8061f344097bb4c.webp?v=1768290646","width":2000},{"alt":null,"id":26655556108387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d043b2be275b57e5ff21a2b12679c60457d5cb3.webp?v=1768290647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d043b2be275b57e5ff21a2b12679c60457d5cb3.webp?v=1768290647","width":2000},{"alt":null,"id":26655556436067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbdf1265c7529b49e2524a74bad887f3db0816e.webp?v=1768290648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbdf1265c7529b49e2524a74bad887f3db0816e.webp?v=1768290648","width":2000},{"alt":null,"id":26655556894819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e51063d9e177c71f45c885de81aee773dfc81c8.webp?v=1768290649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e51063d9e177c71f45c885de81aee773dfc81c8.webp?v=1768290649","width":2000},{"alt":null,"id":26738040569955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbdf1265c7529b49e2524a74bad887f3db0816e_69de0bfb-2206-4148-86fe-025c70769ed3.webp?v=1770172587"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bbdf1265c7529b49e2524a74bad887f3db0816e_69de0bfb-2206-4148-86fe-025c70769ed3.webp?v=1770172587","width":2000},{"alt":null,"id":26738041094243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e51063d9e177c71f45c885de81aee773dfc81c8_020842fc-95df-4f48-a774-aa0b2fbe5a55.webp?v=1770172588"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e51063d9e177c71f45c885de81aee773dfc81c8_020842fc-95df-4f48-a774-aa0b2fbe5a55.webp?v=1770172588","width":2000},{"alt":null,"id":26738041651299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf_a4be0bd7-6fcb-4be3-9758-f400038abf55.webp?v=1770172589"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf_a4be0bd7-6fcb-4be3-9758-f400038abf55.webp?v=1770172589","width":2000},{"alt":null,"id":26738042110051,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677_360d1dea-628f-4d1f-aec4-af92739716c2.webp?v=1770172589"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677_360d1dea-628f-4d1f-aec4-af92739716c2.webp?v=1770172589","width":2000},{"alt":null,"id":26738042568803,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d043b2be275b57e5ff21a2b12679c60457d5cb3_e616367d-2126-4c3c-af0a-a2ca34c18998.webp?v=1770172590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d043b2be275b57e5ff21a2b12679c60457d5cb3_e616367d-2126-4c3c-af0a-a2ca34c18998.webp?v=1770172590","width":2000},{"alt":null,"id":26738042929251,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689118b57508204e7f001e7228157c971b79b482_f6fdcc1d-26b9-48af-962e-5422cc821604.webp?v=1770172590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689118b57508204e7f001e7228157c971b79b482_f6fdcc1d-26b9-48af-962e-5422cc821604.webp?v=1770172590","width":2000},{"alt":null,"id":26738043388003,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9272d6aab8e16ab8fc2e9aa2b8061f344097bb4c_bb00805c-72d8-41c1-a042-147b63b15399.webp?v=1770172591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9272d6aab8e16ab8fc2e9aa2b8061f344097bb4c_bb00805c-72d8-41c1-a042-147b63b15399.webp?v=1770172591","width":2000},{"alt":null,"id":26738043977827,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b166e4d0d212b46417b1de02fda27c4474c52_028d18b2-6955-4422-bf28-be60ba92c471.webp?v=1770172592"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b166e4d0d212b46417b1de02fda27c4474c52_028d18b2-6955-4422-bf28-be60ba92c471.webp?v=1770172592","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43949571145827,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-OY72","requires_shipping":true,"taxable":true,"featured_image":{"id":35185705844835,"product_id":7951968960611,"position":11,"created_at":"2026-02-04T10:36:27+08:00","updated_at":"2026-02-04T10:36:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf_a4be0bd7-6fcb-4be3-9758-f400038abf55.webp?v=1770172589","variant_ids":[43949571145827]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 貓兒歷險記 - 愛心瑪麗 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01296O8-OY72","featured_media":{"alt":null,"id":26738041651299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf_a4be0bd7-6fcb-4be3-9758-f400038abf55.webp?v=1770172589"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43949579763811,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-OY72","requires_shipping":true,"taxable":true,"featured_image":{"id":35185706303587,"product_id":7951968960611,"position":12,"created_at":"2026-02-04T10:36:27+08:00","updated_at":"2026-02-04T10:36:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677_360d1dea-628f-4d1f-aec4-af92739716c2.webp?v=1770172589","variant_ids":[43949579763811]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 貓兒歷險記 - 愛心瑪麗 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-OY72","featured_media":{"alt":null,"id":26738042110051,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d477c7a53e902586791c531cb3fdcf27080c677_360d1dea-628f-4d1f-aec4-af92739716c2.webp?v=1770172589"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43949582778467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-OY72","requires_shipping":true,"taxable":true,"featured_image":{"id":35185708138595,"product_id":7951968960611,"position":16,"created_at":"2026-02-04T10:36:30+08:00","updated_at":"2026-02-04T10:36:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b166e4d0d212b46417b1de02fda27c4474c52_028d18b2-6955-4422-bf28-be60ba92c471.webp?v=1770172592","variant_ids":[43949582778467]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 貓兒歷險記 - 愛心瑪麗 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-OY72","featured_media":{"alt":null,"id":26738043977827,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7b166e4d0d212b46417b1de02fda27c4474c52_028d18b2-6955-4422-bf28-be60ba92c471.webp?v=1770172592"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43949571145827,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-OY72","requires_shipping":true,"taxable":true,"featured_image":{"id":35185705844835,"product_id":7951968960611,"position":11,"created_at":"2026-02-04T10:36:27+08:00","updated_at":"2026-02-04T10:36:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf_a4be0bd7-6fcb-4be3-9758-f400038abf55.webp?v=1770172589","variant_ids":[43949571145827]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 貓兒歷險記 - 愛心瑪麗 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01296O8-OY72","featured_media":{"alt":null,"id":26738041651299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf1628c4e5375a3928d18a5c0d5591c1f41ba8cf_a4be0bd7-6fcb-4be3-9758-f400038abf55.webp?v=1770172589"}},"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: "停產" }