$product = {"id":7868608938083,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩","handle":"iphone-17-pro-max-solidx-magsafe-ym07","description":null,"published_at":"2025-09-10T00:37:07+08:00","created_at":"2025-08-26T17:04:13+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-discovery","device-iPhone 17 Pro Max","merge","reseller-discovery"],"price":145000,"price_min":145000,"price_max":145000,"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":43636088569955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144049651811,"product_id":7868608938083,"position":13,"created_at":"2026-07-01T14:13:13+08:00","updated_at":"2026-07-01T14:13:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f18587bcab950e1b7586715c725892f84c20c70b.webp?v=1782886395","variant_ids":[43636088569955]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-YM07","featured_media":{"alt":null,"id":27648936935523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f18587bcab950e1b7586715c725892f84c20c70b.webp?v=1782886395"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43636090372195,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144049061987,"product_id":7868608938083,"position":11,"created_at":"2026-07-01T14:13:12+08:00","updated_at":"2026-07-01T14:13:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8a469540370051b1ea2a9b17d50b2a2c177c55.webp?v=1782886394","variant_ids":[43636090372195]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534H-YM07","featured_media":{"alt":null,"id":27648936280163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8a469540370051b1ea2a9b17d50b2a2c177c55.webp?v=1782886394"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43636090404963,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144048308323,"product_id":7868608938083,"position":9,"created_at":"2026-07-01T14:13:09+08:00","updated_at":"2026-07-01T14:13:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d38d9004b6ecf593ff6500cde6a997af13a441.webp?v=1782886392","variant_ids":[43636090404963]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530B-YM07","featured_media":{"alt":null,"id":27648935559267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d38d9004b6ecf593ff6500cde6a997af13a441.webp?v=1782886392"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43636090437731,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144049324131,"product_id":7868608938083,"position":12,"created_at":"2026-07-01T14:13:12+08:00","updated_at":"2026-07-01T14:13:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/179a59d63716a3573574c0d455ff4d0d9346718a.webp?v=1782886395","variant_ids":[43636090437731]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534I-YM07","featured_media":{"alt":null,"id":27648936444003,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/179a59d63716a3573574c0d455ff4d0d9346718a.webp?v=1782886395"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43636090470499,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144048701539,"product_id":7868608938083,"position":10,"created_at":"2026-07-01T14:13:11+08:00","updated_at":"2026-07-01T14:13:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06b8a7b8db95c43cfc147dfff7808866785d65ad.webp?v=1782886393","variant_ids":[43636090470499]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135353-YM07","featured_media":{"alt":null,"id":27648935985251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06b8a7b8db95c43cfc147dfff7808866785d65ad.webp?v=1782886393"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43636090503267,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144049848419,"product_id":7868608938083,"position":14,"created_at":"2026-07-01T14:13:14+08:00","updated_at":"2026-07-01T14:13:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1fd3fa1b49cfee5a380a51a79ad2ea11693164.webp?v=1782886396","variant_ids":[43636090503267]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01353O8-YM07","featured_media":{"alt":null,"id":27648937033827,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1fd3fa1b49cfee5a380a51a79ad2ea11693164.webp?v=1782886396"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799594336355,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144046833763,"product_id":7868608938083,"position":4,"created_at":"2026-07-01T14:13:06+08:00","updated_at":"2026-07-01T14:13:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806de65b52bb1af479424e7059f6c82eff3aba73.webp?v=1782886389","variant_ids":[43799594336355]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530F-YM07","featured_media":{"alt":null,"id":27648934084707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806de65b52bb1af479424e7059f6c82eff3aba73.webp?v=1782886389"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799594369123,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144047685731,"product_id":7868608938083,"position":6,"created_at":"2026-07-01T14:13:08+08:00","updated_at":"2026-07-01T14:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81092ae11f0c439d1ee26743cedefabb7cc6011e.webp?v=1782886390","variant_ids":[43799594369123]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013533O-YM07","featured_media":{"alt":null,"id":27648934936675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81092ae11f0c439d1ee26743cedefabb7cc6011e.webp?v=1782886390"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201064071267,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-YM07","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013536A-YM07","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201065119843,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144050307171,"product_id":7868608938083,"position":15,"created_at":"2026-07-01T14:13:14+08:00","updated_at":"2026-07-01T14:13:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c2c649babcc0cfc61fffdf8a9d37c4fbe93afb.webp?v=1782886396","variant_ids":[44201065119843]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535X-YM07","featured_media":{"alt":null,"id":27648937558115,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c2c649babcc0cfc61fffdf8a9d37c4fbe93afb.webp?v=1782886396"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201066365027,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144047194211,"product_id":7868608938083,"position":5,"created_at":"2026-07-01T14:13:07+08:00","updated_at":"2026-07-01T14:13:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bbb644eda09bf4559c0ea7f46b58eeb3d1e53a6.webp?v=1782886389","variant_ids":[44201066365027]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Y-YM07","featured_media":{"alt":null,"id":27648934445155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bbb644eda09bf4559c0ea7f46b58eeb3d1e53a6.webp?v=1782886389"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201067446371,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144047849571,"product_id":7868608938083,"position":7,"created_at":"2026-07-01T14:13:08+08:00","updated_at":"2026-07-01T14:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c57f559725a3c255ddd21c12affe60740e107e45.webp?v=1782886390","variant_ids":[44201067446371]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Z-YM07","featured_media":{"alt":null,"id":27648935100515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c57f559725a3c255ddd21c12affe60740e107e45.webp?v=1782886390"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263962411107,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144048046179,"product_id":7868608938083,"position":8,"created_at":"2026-07-01T14:13:09+08:00","updated_at":"2026-07-01T14:13:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f639f2b43b406736e86325d5730f1180658a141c.webp?v=1782886391","variant_ids":[44263962411107]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535H-YM07","featured_media":{"alt":null,"id":27648935297123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f639f2b43b406736e86325d5730f1180658a141c.webp?v=1782886391"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-YM07_fe5aeb18-017d-4402-ba55-9deb17560400.png?v=1756199056","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-YM07_957d82e0-7da3-4b2d-bbd8-0428a5b89aba.png?v=1779428411","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-YM07_614bfac7-f3f5-4da3-b42e-bb0e98ccf5e2.png?v=1781666710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806de65b52bb1af479424e7059f6c82eff3aba73.webp?v=1782886389","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bbb644eda09bf4559c0ea7f46b58eeb3d1e53a6.webp?v=1782886389","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81092ae11f0c439d1ee26743cedefabb7cc6011e.webp?v=1782886390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c57f559725a3c255ddd21c12affe60740e107e45.webp?v=1782886390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f639f2b43b406736e86325d5730f1180658a141c.webp?v=1782886391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d38d9004b6ecf593ff6500cde6a997af13a441.webp?v=1782886392","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06b8a7b8db95c43cfc147dfff7808866785d65ad.webp?v=1782886393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8a469540370051b1ea2a9b17d50b2a2c177c55.webp?v=1782886394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/179a59d63716a3573574c0d455ff4d0d9346718a.webp?v=1782886395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f18587bcab950e1b7586715c725892f84c20c70b.webp?v=1782886395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1fd3fa1b49cfee5a380a51a79ad2ea11693164.webp?v=1782886396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c2c649babcc0cfc61fffdf8a9d37c4fbe93afb.webp?v=1782886396"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-YM07_fe5aeb18-017d-4402-ba55-9deb17560400.png?v=1756199056","options":["color"],"media":[{"alt":null,"id":25961486483555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-YM07_fe5aeb18-017d-4402-ba55-9deb17560400.png?v=1756199056"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-YM07_fe5aeb18-017d-4402-ba55-9deb17560400.png?v=1756199056","width":2000},{"alt":null,"id":27382250242147,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-YM07_957d82e0-7da3-4b2d-bbd8-0428a5b89aba.png?v=1779428411"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-YM07_957d82e0-7da3-4b2d-bbd8-0428a5b89aba.png?v=1779428411","width":2000},{"alt":null,"id":27529043673187,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-YM07_614bfac7-f3f5-4da3-b42e-bb0e98ccf5e2.png?v=1781666710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-YM07_614bfac7-f3f5-4da3-b42e-bb0e98ccf5e2.png?v=1781666710","width":2000},{"alt":null,"id":27648934084707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806de65b52bb1af479424e7059f6c82eff3aba73.webp?v=1782886389"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806de65b52bb1af479424e7059f6c82eff3aba73.webp?v=1782886389","width":2000},{"alt":null,"id":27648934445155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bbb644eda09bf4559c0ea7f46b58eeb3d1e53a6.webp?v=1782886389"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bbb644eda09bf4559c0ea7f46b58eeb3d1e53a6.webp?v=1782886389","width":2000},{"alt":null,"id":27648934936675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81092ae11f0c439d1ee26743cedefabb7cc6011e.webp?v=1782886390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81092ae11f0c439d1ee26743cedefabb7cc6011e.webp?v=1782886390","width":2000},{"alt":null,"id":27648935100515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c57f559725a3c255ddd21c12affe60740e107e45.webp?v=1782886390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c57f559725a3c255ddd21c12affe60740e107e45.webp?v=1782886390","width":2000},{"alt":null,"id":27648935297123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f639f2b43b406736e86325d5730f1180658a141c.webp?v=1782886391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f639f2b43b406736e86325d5730f1180658a141c.webp?v=1782886391","width":2000},{"alt":null,"id":27648935559267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d38d9004b6ecf593ff6500cde6a997af13a441.webp?v=1782886392"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d38d9004b6ecf593ff6500cde6a997af13a441.webp?v=1782886392","width":2000},{"alt":null,"id":27648935985251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06b8a7b8db95c43cfc147dfff7808866785d65ad.webp?v=1782886393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06b8a7b8db95c43cfc147dfff7808866785d65ad.webp?v=1782886393","width":2000},{"alt":null,"id":27648936280163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8a469540370051b1ea2a9b17d50b2a2c177c55.webp?v=1782886394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8a469540370051b1ea2a9b17d50b2a2c177c55.webp?v=1782886394","width":2000},{"alt":null,"id":27648936444003,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/179a59d63716a3573574c0d455ff4d0d9346718a.webp?v=1782886395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/179a59d63716a3573574c0d455ff4d0d9346718a.webp?v=1782886395","width":2000},{"alt":null,"id":27648936935523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f18587bcab950e1b7586715c725892f84c20c70b.webp?v=1782886395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f18587bcab950e1b7586715c725892f84c20c70b.webp?v=1782886395","width":2000},{"alt":null,"id":27648937033827,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1fd3fa1b49cfee5a380a51a79ad2ea11693164.webp?v=1782886396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1fd3fa1b49cfee5a380a51a79ad2ea11693164.webp?v=1782886396","width":2000},{"alt":null,"id":27648937558115,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c2c649babcc0cfc61fffdf8a9d37c4fbe93afb.webp?v=1782886396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c2c649babcc0cfc61fffdf8a9d37c4fbe93afb.webp?v=1782886396","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43636088569955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144049651811,"product_id":7868608938083,"position":13,"created_at":"2026-07-01T14:13:13+08:00","updated_at":"2026-07-01T14:13:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f18587bcab950e1b7586715c725892f84c20c70b.webp?v=1782886395","variant_ids":[43636088569955]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-YM07","featured_media":{"alt":null,"id":27648936935523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f18587bcab950e1b7586715c725892f84c20c70b.webp?v=1782886395"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43636090372195,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144049061987,"product_id":7868608938083,"position":11,"created_at":"2026-07-01T14:13:12+08:00","updated_at":"2026-07-01T14:13:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8a469540370051b1ea2a9b17d50b2a2c177c55.webp?v=1782886394","variant_ids":[43636090372195]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534H-YM07","featured_media":{"alt":null,"id":27648936280163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8a469540370051b1ea2a9b17d50b2a2c177c55.webp?v=1782886394"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43636090404963,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144048308323,"product_id":7868608938083,"position":9,"created_at":"2026-07-01T14:13:09+08:00","updated_at":"2026-07-01T14:13:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d38d9004b6ecf593ff6500cde6a997af13a441.webp?v=1782886392","variant_ids":[43636090404963]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530B-YM07","featured_media":{"alt":null,"id":27648935559267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d38d9004b6ecf593ff6500cde6a997af13a441.webp?v=1782886392"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43636090437731,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144049324131,"product_id":7868608938083,"position":12,"created_at":"2026-07-01T14:13:12+08:00","updated_at":"2026-07-01T14:13:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/179a59d63716a3573574c0d455ff4d0d9346718a.webp?v=1782886395","variant_ids":[43636090437731]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534I-YM07","featured_media":{"alt":null,"id":27648936444003,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/179a59d63716a3573574c0d455ff4d0d9346718a.webp?v=1782886395"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43636090470499,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144048701539,"product_id":7868608938083,"position":10,"created_at":"2026-07-01T14:13:11+08:00","updated_at":"2026-07-01T14:13:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06b8a7b8db95c43cfc147dfff7808866785d65ad.webp?v=1782886393","variant_ids":[43636090470499]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135353-YM07","featured_media":{"alt":null,"id":27648935985251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06b8a7b8db95c43cfc147dfff7808866785d65ad.webp?v=1782886393"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43636090503267,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144049848419,"product_id":7868608938083,"position":14,"created_at":"2026-07-01T14:13:14+08:00","updated_at":"2026-07-01T14:13:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1fd3fa1b49cfee5a380a51a79ad2ea11693164.webp?v=1782886396","variant_ids":[43636090503267]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01353O8-YM07","featured_media":{"alt":null,"id":27648937033827,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1fd3fa1b49cfee5a380a51a79ad2ea11693164.webp?v=1782886396"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799594336355,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144046833763,"product_id":7868608938083,"position":4,"created_at":"2026-07-01T14:13:06+08:00","updated_at":"2026-07-01T14:13:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806de65b52bb1af479424e7059f6c82eff3aba73.webp?v=1782886389","variant_ids":[43799594336355]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530F-YM07","featured_media":{"alt":null,"id":27648934084707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/806de65b52bb1af479424e7059f6c82eff3aba73.webp?v=1782886389"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799594369123,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144047685731,"product_id":7868608938083,"position":6,"created_at":"2026-07-01T14:13:08+08:00","updated_at":"2026-07-01T14:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81092ae11f0c439d1ee26743cedefabb7cc6011e.webp?v=1782886390","variant_ids":[43799594369123]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013533O-YM07","featured_media":{"alt":null,"id":27648934936675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81092ae11f0c439d1ee26743cedefabb7cc6011e.webp?v=1782886390"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201064071267,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-YM07","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013536A-YM07","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201065119843,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144050307171,"product_id":7868608938083,"position":15,"created_at":"2026-07-01T14:13:14+08:00","updated_at":"2026-07-01T14:13:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c2c649babcc0cfc61fffdf8a9d37c4fbe93afb.webp?v=1782886396","variant_ids":[44201065119843]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535X-YM07","featured_media":{"alt":null,"id":27648937558115,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c2c649babcc0cfc61fffdf8a9d37c4fbe93afb.webp?v=1782886396"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201066365027,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144047194211,"product_id":7868608938083,"position":5,"created_at":"2026-07-01T14:13:07+08:00","updated_at":"2026-07-01T14:13:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bbb644eda09bf4559c0ea7f46b58eeb3d1e53a6.webp?v=1782886389","variant_ids":[44201066365027]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Y-YM07","featured_media":{"alt":null,"id":27648934445155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bbb644eda09bf4559c0ea7f46b58eeb3d1e53a6.webp?v=1782886389"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201067446371,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144047849571,"product_id":7868608938083,"position":7,"created_at":"2026-07-01T14:13:08+08:00","updated_at":"2026-07-01T14:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c57f559725a3c255ddd21c12affe60740e107e45.webp?v=1782886390","variant_ids":[44201067446371]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Z-YM07","featured_media":{"alt":null,"id":27648935100515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c57f559725a3c255ddd21c12affe60740e107e45.webp?v=1782886390"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263962411107,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144048046179,"product_id":7868608938083,"position":8,"created_at":"2026-07-01T14:13:09+08:00","updated_at":"2026-07-01T14:13:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f639f2b43b406736e86325d5730f1180658a141c.webp?v=1782886391","variant_ids":[44263962411107]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535H-YM07","featured_media":{"alt":null,"id":27648935297123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f639f2b43b406736e86325d5730f1180658a141c.webp?v=1782886391"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43636088569955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-YM07","requires_shipping":true,"taxable":true,"featured_image":{"id":36144049651811,"product_id":7868608938083,"position":13,"created_at":"2026-07-01T14:13:13+08:00","updated_at":"2026-07-01T14:13:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f18587bcab950e1b7586715c725892f84c20c70b.webp?v=1782886395","variant_ids":[43636088569955]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Discovery 變質岩 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-YM07","featured_media":{"alt":null,"id":27648936935523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f18587bcab950e1b7586715c725892f84c20c70b.webp?v=1782886395"}},"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: "停產" }