$product = {"id":7951968927843,"title":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 貓兒歷險記 - 可愛瑪麗","handle":"iphone-15-plus-solidx-oy71","description":null,"published_at":"2026-01-13T16:24:36+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":43949571113059,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-OY71","requires_shipping":true,"taxable":true,"featured_image":{"id":35185709252707,"product_id":7951968927843,"position":15,"created_at":"2026-02-04T10:36:32+08:00","updated_at":"2026-02-04T10:36:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020_801337d6-0c72-412e-a5fd-23aa76a1c134.webp?v=1770172594","variant_ids":[43949571113059]},"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-OY71","featured_media":{"alt":null,"id":26738045059171,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020_801337d6-0c72-412e-a5fd-23aa76a1c134.webp?v=1770172594"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43949581566051,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-OY71","requires_shipping":true,"taxable":true,"featured_image":{"id":35185708367971,"product_id":7951968927843,"position":13,"created_at":"2026-02-04T10:36:31+08:00","updated_at":"2026-02-04T10:36:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f29f43da730fc2172affa26d04b23670a5c030b0_01f331bb-9c12-4695-8491-c7dbaa68d8d1.webp?v=1770172593","variant_ids":[43949581566051]},"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-OY71","featured_media":{"alt":null,"id":26738044141667,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f29f43da730fc2172affa26d04b23670a5c030b0_01f331bb-9c12-4695-8491-c7dbaa68d8d1.webp?v=1770172593"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43949584089187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-OY71","requires_shipping":true,"taxable":true,"featured_image":{"id":35185706893411,"product_id":7951968927843,"position":10,"created_at":"2026-02-04T10:36:28+08:00","updated_at":"2026-02-04T10:36:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b76dae925caf6c2b1db00fb722f353d21a9c1d7_cff12247-6946-42f1-98dd-1d203fb16bb6.webp?v=1770172590","variant_ids":[43949584089187]},"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-OY71","featured_media":{"alt":null,"id":26738042699875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b76dae925caf6c2b1db00fb722f353d21a9c1d7_cff12247-6946-42f1-98dd-1d203fb16bb6.webp?v=1770172590"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27714ef8db0f704803c891c712e9da3a206e03e5.webp?v=1768290646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c5132802743999b78ef66e78d2e0e79d1b74c9d.webp?v=1768290646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58351730f36410676ea21e264445f72b38d5590.webp?v=1768290648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b76dae925caf6c2b1db00fb722f353d21a9c1d7.webp?v=1768290649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f29f43da730fc2172affa26d04b23670a5c030b0.webp?v=1768290650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a8132f8b1387b933b06718cb49eb63c445bfc10.webp?v=1768290650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020.webp?v=1768290651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5a3a4cbc7cbf55f817fe155396b52251073992.webp?v=1768290651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a8132f8b1387b933b06718cb49eb63c445bfc10_d8a3140f-ba45-4cdd-b25d-004b482be83c.webp?v=1770172590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b76dae925caf6c2b1db00fb722f353d21a9c1d7_cff12247-6946-42f1-98dd-1d203fb16bb6.webp?v=1770172590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5a3a4cbc7cbf55f817fe155396b52251073992_8be51bf3-89fa-4db9-91db-884d22d7c6d5.webp?v=1770172591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c5132802743999b78ef66e78d2e0e79d1b74c9d_ecee452e-f2ad-416d-87c3-cabab35d0765.webp?v=1770172591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f29f43da730fc2172affa26d04b23670a5c030b0_01f331bb-9c12-4695-8491-c7dbaa68d8d1.webp?v=1770172593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27714ef8db0f704803c891c712e9da3a206e03e5_a87aad9f-72b0-42a1-9390-adfbe81a792a.webp?v=1770172593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020_801337d6-0c72-412e-a5fd-23aa76a1c134.webp?v=1770172594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58351730f36410676ea21e264445f72b38d5590_f8128a3b-8e6c-4079-b1f2-c27454d4bf2f.webp?v=1770172595"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27714ef8db0f704803c891c712e9da3a206e03e5.webp?v=1768290646","options":["color"],"media":[{"alt":null,"id":26655555584099,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27714ef8db0f704803c891c712e9da3a206e03e5.webp?v=1768290646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27714ef8db0f704803c891c712e9da3a206e03e5.webp?v=1768290646","width":2000},{"alt":null,"id":26655555911779,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c5132802743999b78ef66e78d2e0e79d1b74c9d.webp?v=1768290646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c5132802743999b78ef66e78d2e0e79d1b74c9d.webp?v=1768290646","width":2000},{"alt":null,"id":26655556337763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58351730f36410676ea21e264445f72b38d5590.webp?v=1768290648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58351730f36410676ea21e264445f72b38d5590.webp?v=1768290648","width":2000},{"alt":null,"id":26655557058659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b76dae925caf6c2b1db00fb722f353d21a9c1d7.webp?v=1768290649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b76dae925caf6c2b1db00fb722f353d21a9c1d7.webp?v=1768290649","width":2000},{"alt":null,"id":26655557484643,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f29f43da730fc2172affa26d04b23670a5c030b0.webp?v=1768290650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f29f43da730fc2172affa26d04b23670a5c030b0.webp?v=1768290650","width":2000},{"alt":null,"id":26655557681251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a8132f8b1387b933b06718cb49eb63c445bfc10.webp?v=1768290650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a8132f8b1387b933b06718cb49eb63c445bfc10.webp?v=1768290650","width":2000},{"alt":null,"id":26655557845091,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020.webp?v=1768290651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020.webp?v=1768290651","width":2000},{"alt":null,"id":26655558074467,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5a3a4cbc7cbf55f817fe155396b52251073992.webp?v=1768290651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5a3a4cbc7cbf55f817fe155396b52251073992.webp?v=1768290651","width":2000},{"alt":null,"id":26738042372195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a8132f8b1387b933b06718cb49eb63c445bfc10_d8a3140f-ba45-4cdd-b25d-004b482be83c.webp?v=1770172590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a8132f8b1387b933b06718cb49eb63c445bfc10_d8a3140f-ba45-4cdd-b25d-004b482be83c.webp?v=1770172590","width":2000},{"alt":null,"id":26738042699875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b76dae925caf6c2b1db00fb722f353d21a9c1d7_cff12247-6946-42f1-98dd-1d203fb16bb6.webp?v=1770172590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b76dae925caf6c2b1db00fb722f353d21a9c1d7_cff12247-6946-42f1-98dd-1d203fb16bb6.webp?v=1770172590","width":2000},{"alt":null,"id":26738043158627,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5a3a4cbc7cbf55f817fe155396b52251073992_8be51bf3-89fa-4db9-91db-884d22d7c6d5.webp?v=1770172591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a5a3a4cbc7cbf55f817fe155396b52251073992_8be51bf3-89fa-4db9-91db-884d22d7c6d5.webp?v=1770172591","width":2000},{"alt":null,"id":26738043715683,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c5132802743999b78ef66e78d2e0e79d1b74c9d_ecee452e-f2ad-416d-87c3-cabab35d0765.webp?v=1770172591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c5132802743999b78ef66e78d2e0e79d1b74c9d_ecee452e-f2ad-416d-87c3-cabab35d0765.webp?v=1770172591","width":2000},{"alt":null,"id":26738044141667,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f29f43da730fc2172affa26d04b23670a5c030b0_01f331bb-9c12-4695-8491-c7dbaa68d8d1.webp?v=1770172593"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f29f43da730fc2172affa26d04b23670a5c030b0_01f331bb-9c12-4695-8491-c7dbaa68d8d1.webp?v=1770172593","width":2000},{"alt":null,"id":26738044698723,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27714ef8db0f704803c891c712e9da3a206e03e5_a87aad9f-72b0-42a1-9390-adfbe81a792a.webp?v=1770172593"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27714ef8db0f704803c891c712e9da3a206e03e5_a87aad9f-72b0-42a1-9390-adfbe81a792a.webp?v=1770172593","width":2000},{"alt":null,"id":26738045059171,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020_801337d6-0c72-412e-a5fd-23aa76a1c134.webp?v=1770172594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020_801337d6-0c72-412e-a5fd-23aa76a1c134.webp?v=1770172594","width":2000},{"alt":null,"id":26738045223011,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58351730f36410676ea21e264445f72b38d5590_f8128a3b-8e6c-4079-b1f2-c27454d4bf2f.webp?v=1770172595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a58351730f36410676ea21e264445f72b38d5590_f8128a3b-8e6c-4079-b1f2-c27454d4bf2f.webp?v=1770172595","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43949571113059,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-OY71","requires_shipping":true,"taxable":true,"featured_image":{"id":35185709252707,"product_id":7951968927843,"position":15,"created_at":"2026-02-04T10:36:32+08:00","updated_at":"2026-02-04T10:36:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020_801337d6-0c72-412e-a5fd-23aa76a1c134.webp?v=1770172594","variant_ids":[43949571113059]},"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-OY71","featured_media":{"alt":null,"id":26738045059171,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020_801337d6-0c72-412e-a5fd-23aa76a1c134.webp?v=1770172594"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43949581566051,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-OY71","requires_shipping":true,"taxable":true,"featured_image":{"id":35185708367971,"product_id":7951968927843,"position":13,"created_at":"2026-02-04T10:36:31+08:00","updated_at":"2026-02-04T10:36:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f29f43da730fc2172affa26d04b23670a5c030b0_01f331bb-9c12-4695-8491-c7dbaa68d8d1.webp?v=1770172593","variant_ids":[43949581566051]},"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-OY71","featured_media":{"alt":null,"id":26738044141667,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f29f43da730fc2172affa26d04b23670a5c030b0_01f331bb-9c12-4695-8491-c7dbaa68d8d1.webp?v=1770172593"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43949584089187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-OY71","requires_shipping":true,"taxable":true,"featured_image":{"id":35185706893411,"product_id":7951968927843,"position":10,"created_at":"2026-02-04T10:36:28+08:00","updated_at":"2026-02-04T10:36:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b76dae925caf6c2b1db00fb722f353d21a9c1d7_cff12247-6946-42f1-98dd-1d203fb16bb6.webp?v=1770172590","variant_ids":[43949584089187]},"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-OY71","featured_media":{"alt":null,"id":26738042699875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b76dae925caf6c2b1db00fb722f353d21a9c1d7_cff12247-6946-42f1-98dd-1d203fb16bb6.webp?v=1770172590"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43949571113059,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-OY71","requires_shipping":true,"taxable":true,"featured_image":{"id":35185709252707,"product_id":7951968927843,"position":15,"created_at":"2026-02-04T10:36:32+08:00","updated_at":"2026-02-04T10:36:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020_801337d6-0c72-412e-a5fd-23aa76a1c134.webp?v=1770172594","variant_ids":[43949571113059]},"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-OY71","featured_media":{"alt":null,"id":26738045059171,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e22fcf9a760cacc61ce8aa82f2848db751bf020_801337d6-0c72-412e-a5fd-23aa76a1c134.webp?v=1770172594"}},"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: "停產" }