$product = {"id":8056944787555,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna","handle":"iphone-17-pro-max-solidx-magsafe-xq14","description":null,"published_at":"2026-07-08T14:24:56+08:00","created_at":"2026-07-08T09:28:47+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-vinne","device-iPhone 17 Pro Max","merge","reseller-vinne"],"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":44330256105571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205192511587,"product_id":8056944787555,"position":9,"created_at":"2026-07-08T09:29:38+08:00","updated_at":"2026-07-08T09:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e7ff1ab75c64ef54695feb2e36d479aed4e953.webp?v=1783474181","variant_ids":[44330256105571]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709992534115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e7ff1ab75c64ef54695feb2e36d479aed4e953.webp?v=1783474181"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264526947,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191561315,"product_id":8056944787555,"position":1,"created_at":"2026-07-08T09:29:33+08:00","updated_at":"2026-07-08T09:29:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55bf6520b765a2621f0bd12d4514bbfc2387af.webp?v=1783474175","variant_ids":[44330264526947]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991583843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55bf6520b765a2621f0bd12d4514bbfc2387af.webp?v=1783474175"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264723555,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191823459,"product_id":8056944787555,"position":7,"created_at":"2026-07-08T09:29:37+08:00","updated_at":"2026-07-08T09:29:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76bdf63cfc9d44689d52b3f7fa7ecce996b6a90e.webp?v=1783474179","variant_ids":[44330264723555]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991845987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76bdf63cfc9d44689d52b3f7fa7ecce996b6a90e.webp?v=1783474179"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264756323,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191659619,"product_id":8056944787555,"position":3,"created_at":"2026-07-08T09:29:34+08:00","updated_at":"2026-07-08T09:29:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df96de8acb40d57a2d565f921cebbdc3c3a01268.webp?v=1783474176","variant_ids":[44330264756323]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991682147,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df96de8acb40d57a2d565f921cebbdc3c3a01268.webp?v=1783474176"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264789091,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205193625699,"product_id":8056944787555,"position":13,"created_at":"2026-07-08T09:29:41+08:00","updated_at":"2026-07-08T09:29:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab5ea9d58670a568866848064c5c465374c4ad9.webp?v=1783474183","variant_ids":[44330264789091]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709993648227,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab5ea9d58670a568866848064c5c465374c4ad9.webp?v=1783474183"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264821859,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191692387,"product_id":8056944787555,"position":4,"created_at":"2026-07-08T09:29:34+08:00","updated_at":"2026-07-08T09:29:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e943928a3c8bca7c94be06bb964222ad690a0bf7.webp?v=1783474177","variant_ids":[44330264821859]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991714915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e943928a3c8bca7c94be06bb964222ad690a0bf7.webp?v=1783474177"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264887395,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191626851,"product_id":8056944787555,"position":2,"created_at":"2026-07-08T09:29:33+08:00","updated_at":"2026-07-08T09:29:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edfc918970983c460694534b7d2c29bef619ff67.webp?v=1783474175","variant_ids":[44330264887395]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991649379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edfc918970983c460694534b7d2c29bef619ff67.webp?v=1783474175"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330265018467,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205192249443,"product_id":8056944787555,"position":8,"created_at":"2026-07-08T09:29:38+08:00","updated_at":"2026-07-08T09:29:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b2eaa1cf61db40515bd7d80d6720990822840bf.webp?v=1783474180","variant_ids":[44330265018467]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709992271971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b2eaa1cf61db40515bd7d80d6720990822840bf.webp?v=1783474180"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330265280611,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191725155,"product_id":8056944787555,"position":5,"created_at":"2026-07-08T09:29:35+08:00","updated_at":"2026-07-08T09:29:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d9f5d80b8f14ee066f006ad9a23a52f2f0e187.webp?v=1783474177","variant_ids":[44330265280611]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991747683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d9f5d80b8f14ee066f006ad9a23a52f2f0e187.webp?v=1783474177"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330265477219,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205193429091,"product_id":8056944787555,"position":12,"created_at":"2026-07-08T09:29:40+08:00","updated_at":"2026-07-08T09:29:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc2c247532809bdc378874655178d6f0c07f2503.webp?v=1783474182","variant_ids":[44330265477219]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709993451619,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc2c247532809bdc378874655178d6f0c07f2503.webp?v=1783474182"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330265706595,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205192904803,"product_id":8056944787555,"position":10,"created_at":"2026-07-08T09:29:39+08:00","updated_at":"2026-07-08T09:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20091bf8ca7884dadfa8bb6ddd11e34be28b95f4.webp?v=1783474181","variant_ids":[44330265706595]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709992927331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20091bf8ca7884dadfa8bb6ddd11e34be28b95f4.webp?v=1783474181"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330265968739,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205193166947,"product_id":8056944787555,"position":11,"created_at":"2026-07-08T09:29:39+08:00","updated_at":"2026-07-08T09:29:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29841e0ce8d2003fcc387a8c2f720e47a25303b4.webp?v=1783474182","variant_ids":[44330265968739]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709993156707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29841e0ce8d2003fcc387a8c2f720e47a25303b4.webp?v=1783474182"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330266263651,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191757923,"product_id":8056944787555,"position":6,"created_at":"2026-07-08T09:29:36+08:00","updated_at":"2026-07-08T09:29:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a9b215620adfdee8ca5eef7ab1d0ca562d79a2d.webp?v=1783474178","variant_ids":[44330266263651]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991780451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a9b215620adfdee8ca5eef7ab1d0ca562d79a2d.webp?v=1783474178"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55bf6520b765a2621f0bd12d4514bbfc2387af.webp?v=1783474175","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edfc918970983c460694534b7d2c29bef619ff67.webp?v=1783474175","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df96de8acb40d57a2d565f921cebbdc3c3a01268.webp?v=1783474176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e943928a3c8bca7c94be06bb964222ad690a0bf7.webp?v=1783474177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d9f5d80b8f14ee066f006ad9a23a52f2f0e187.webp?v=1783474177","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a9b215620adfdee8ca5eef7ab1d0ca562d79a2d.webp?v=1783474178","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76bdf63cfc9d44689d52b3f7fa7ecce996b6a90e.webp?v=1783474179","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b2eaa1cf61db40515bd7d80d6720990822840bf.webp?v=1783474180","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e7ff1ab75c64ef54695feb2e36d479aed4e953.webp?v=1783474181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20091bf8ca7884dadfa8bb6ddd11e34be28b95f4.webp?v=1783474181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29841e0ce8d2003fcc387a8c2f720e47a25303b4.webp?v=1783474182","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc2c247532809bdc378874655178d6f0c07f2503.webp?v=1783474182","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab5ea9d58670a568866848064c5c465374c4ad9.webp?v=1783474183"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55bf6520b765a2621f0bd12d4514bbfc2387af.webp?v=1783474175","options":["color"],"media":[{"alt":null,"id":27709991583843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55bf6520b765a2621f0bd12d4514bbfc2387af.webp?v=1783474175"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55bf6520b765a2621f0bd12d4514bbfc2387af.webp?v=1783474175","width":2000},{"alt":null,"id":27709991649379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edfc918970983c460694534b7d2c29bef619ff67.webp?v=1783474175"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edfc918970983c460694534b7d2c29bef619ff67.webp?v=1783474175","width":2000},{"alt":null,"id":27709991682147,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df96de8acb40d57a2d565f921cebbdc3c3a01268.webp?v=1783474176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df96de8acb40d57a2d565f921cebbdc3c3a01268.webp?v=1783474176","width":2000},{"alt":null,"id":27709991714915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e943928a3c8bca7c94be06bb964222ad690a0bf7.webp?v=1783474177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e943928a3c8bca7c94be06bb964222ad690a0bf7.webp?v=1783474177","width":2000},{"alt":null,"id":27709991747683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d9f5d80b8f14ee066f006ad9a23a52f2f0e187.webp?v=1783474177"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d9f5d80b8f14ee066f006ad9a23a52f2f0e187.webp?v=1783474177","width":2000},{"alt":null,"id":27709991780451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a9b215620adfdee8ca5eef7ab1d0ca562d79a2d.webp?v=1783474178"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a9b215620adfdee8ca5eef7ab1d0ca562d79a2d.webp?v=1783474178","width":2000},{"alt":null,"id":27709991845987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76bdf63cfc9d44689d52b3f7fa7ecce996b6a90e.webp?v=1783474179"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76bdf63cfc9d44689d52b3f7fa7ecce996b6a90e.webp?v=1783474179","width":2000},{"alt":null,"id":27709992271971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b2eaa1cf61db40515bd7d80d6720990822840bf.webp?v=1783474180"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b2eaa1cf61db40515bd7d80d6720990822840bf.webp?v=1783474180","width":2000},{"alt":null,"id":27709992534115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e7ff1ab75c64ef54695feb2e36d479aed4e953.webp?v=1783474181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e7ff1ab75c64ef54695feb2e36d479aed4e953.webp?v=1783474181","width":2000},{"alt":null,"id":27709992927331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20091bf8ca7884dadfa8bb6ddd11e34be28b95f4.webp?v=1783474181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20091bf8ca7884dadfa8bb6ddd11e34be28b95f4.webp?v=1783474181","width":2000},{"alt":null,"id":27709993156707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29841e0ce8d2003fcc387a8c2f720e47a25303b4.webp?v=1783474182"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29841e0ce8d2003fcc387a8c2f720e47a25303b4.webp?v=1783474182","width":2000},{"alt":null,"id":27709993451619,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc2c247532809bdc378874655178d6f0c07f2503.webp?v=1783474182"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc2c247532809bdc378874655178d6f0c07f2503.webp?v=1783474182","width":2000},{"alt":null,"id":27709993648227,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab5ea9d58670a568866848064c5c465374c4ad9.webp?v=1783474183"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab5ea9d58670a568866848064c5c465374c4ad9.webp?v=1783474183","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44330256105571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205192511587,"product_id":8056944787555,"position":9,"created_at":"2026-07-08T09:29:38+08:00","updated_at":"2026-07-08T09:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e7ff1ab75c64ef54695feb2e36d479aed4e953.webp?v=1783474181","variant_ids":[44330256105571]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709992534115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e7ff1ab75c64ef54695feb2e36d479aed4e953.webp?v=1783474181"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264526947,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191561315,"product_id":8056944787555,"position":1,"created_at":"2026-07-08T09:29:33+08:00","updated_at":"2026-07-08T09:29:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55bf6520b765a2621f0bd12d4514bbfc2387af.webp?v=1783474175","variant_ids":[44330264526947]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991583843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55bf6520b765a2621f0bd12d4514bbfc2387af.webp?v=1783474175"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264723555,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191823459,"product_id":8056944787555,"position":7,"created_at":"2026-07-08T09:29:37+08:00","updated_at":"2026-07-08T09:29:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76bdf63cfc9d44689d52b3f7fa7ecce996b6a90e.webp?v=1783474179","variant_ids":[44330264723555]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991845987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76bdf63cfc9d44689d52b3f7fa7ecce996b6a90e.webp?v=1783474179"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264756323,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191659619,"product_id":8056944787555,"position":3,"created_at":"2026-07-08T09:29:34+08:00","updated_at":"2026-07-08T09:29:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df96de8acb40d57a2d565f921cebbdc3c3a01268.webp?v=1783474176","variant_ids":[44330264756323]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991682147,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df96de8acb40d57a2d565f921cebbdc3c3a01268.webp?v=1783474176"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264789091,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205193625699,"product_id":8056944787555,"position":13,"created_at":"2026-07-08T09:29:41+08:00","updated_at":"2026-07-08T09:29:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab5ea9d58670a568866848064c5c465374c4ad9.webp?v=1783474183","variant_ids":[44330264789091]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709993648227,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab5ea9d58670a568866848064c5c465374c4ad9.webp?v=1783474183"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264821859,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191692387,"product_id":8056944787555,"position":4,"created_at":"2026-07-08T09:29:34+08:00","updated_at":"2026-07-08T09:29:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e943928a3c8bca7c94be06bb964222ad690a0bf7.webp?v=1783474177","variant_ids":[44330264821859]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991714915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e943928a3c8bca7c94be06bb964222ad690a0bf7.webp?v=1783474177"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330264887395,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191626851,"product_id":8056944787555,"position":2,"created_at":"2026-07-08T09:29:33+08:00","updated_at":"2026-07-08T09:29:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edfc918970983c460694534b7d2c29bef619ff67.webp?v=1783474175","variant_ids":[44330264887395]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991649379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edfc918970983c460694534b7d2c29bef619ff67.webp?v=1783474175"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330265018467,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205192249443,"product_id":8056944787555,"position":8,"created_at":"2026-07-08T09:29:38+08:00","updated_at":"2026-07-08T09:29:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b2eaa1cf61db40515bd7d80d6720990822840bf.webp?v=1783474180","variant_ids":[44330265018467]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709992271971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b2eaa1cf61db40515bd7d80d6720990822840bf.webp?v=1783474180"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330265280611,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191725155,"product_id":8056944787555,"position":5,"created_at":"2026-07-08T09:29:35+08:00","updated_at":"2026-07-08T09:29:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d9f5d80b8f14ee066f006ad9a23a52f2f0e187.webp?v=1783474177","variant_ids":[44330265280611]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991747683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74d9f5d80b8f14ee066f006ad9a23a52f2f0e187.webp?v=1783474177"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330265477219,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205193429091,"product_id":8056944787555,"position":12,"created_at":"2026-07-08T09:29:40+08:00","updated_at":"2026-07-08T09:29:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc2c247532809bdc378874655178d6f0c07f2503.webp?v=1783474182","variant_ids":[44330265477219]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709993451619,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc2c247532809bdc378874655178d6f0c07f2503.webp?v=1783474182"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330265706595,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205192904803,"product_id":8056944787555,"position":10,"created_at":"2026-07-08T09:29:39+08:00","updated_at":"2026-07-08T09:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20091bf8ca7884dadfa8bb6ddd11e34be28b95f4.webp?v=1783474181","variant_ids":[44330265706595]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709992927331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20091bf8ca7884dadfa8bb6ddd11e34be28b95f4.webp?v=1783474181"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330265968739,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205193166947,"product_id":8056944787555,"position":11,"created_at":"2026-07-08T09:29:39+08:00","updated_at":"2026-07-08T09:29:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29841e0ce8d2003fcc387a8c2f720e47a25303b4.webp?v=1783474182","variant_ids":[44330265968739]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709993156707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29841e0ce8d2003fcc387a8c2f720e47a25303b4.webp?v=1783474182"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44330266263651,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205191757923,"product_id":8056944787555,"position":6,"created_at":"2026-07-08T09:29:36+08:00","updated_at":"2026-07-08T09:29:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a9b215620adfdee8ca5eef7ab1d0ca562d79a2d.webp?v=1783474178","variant_ids":[44330266263651]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709991780451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a9b215620adfdee8ca5eef7ab1d0ca562d79a2d.webp?v=1783474178"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44330256105571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-XQ14","requires_shipping":true,"taxable":true,"featured_image":{"id":36205192511587,"product_id":8056944787555,"position":9,"created_at":"2026-07-08T09:29:38+08:00","updated_at":"2026-07-08T09:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e7ff1ab75c64ef54695feb2e36d479aed4e953.webp?v=1783474181","variant_ids":[44330256105571]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) Vinne Eterna - 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-XQ14","featured_media":{"alt":null,"id":27709992534115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8e7ff1ab75c64ef54695feb2e36d479aed4e953.webp?v=1783474181"}},"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: "停產"
}