$product = {"id":8048404627555,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ","handle":"iphone-17-pro-solidx-magsafe-rj06","description":null,"published_at":"2026-06-29T10:15:27+08:00","created_at":"2026-06-29T09:46:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-rj","device-iPhone 17 Pro","merge","reseller-rj"],"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":44300171837539,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122761691235,"product_id":8048404627555,"position":4,"created_at":"2026-06-29T09:47:29+08:00","updated_at":"2026-06-29T09:47:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610356ad0f9f4bd24c37140ca9df91605cf17613.webp?v=1782697651","variant_ids":[44300171837539]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013520F-RJ06","featured_media":{"alt":null,"id":27628006146147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610356ad0f9f4bd24c37140ca9df91605cf17613.webp?v=1782697651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300179996771,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122762018915,"product_id":8048404627555,"position":5,"created_at":"2026-06-29T09:47:29+08:00","updated_at":"2026-06-29T09:47:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5840b7774964820ec41af6bf8464a910ab252bf7.webp?v=1782697651","variant_ids":[44300179996771]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013526A-RJ06","featured_media":{"alt":null,"id":27628006473827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5840b7774964820ec41af6bf8464a910ab252bf7.webp?v=1782697651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300180258915,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122761527395,"product_id":8048404627555,"position":3,"created_at":"2026-06-29T09:47:28+08:00","updated_at":"2026-06-29T09:47:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e60441a9994d31f15111fe8ceccc29952719f1c2.webp?v=1782697650","variant_ids":[44300180258915]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013525Z-RJ06","featured_media":{"alt":null,"id":27628005982307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e60441a9994d31f15111fe8ceccc29952719f1c2.webp?v=1782697650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300180684899,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122764345443,"product_id":8048404627555,"position":13,"created_at":"2026-06-29T09:47:34+08:00","updated_at":"2026-06-29T09:47:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eca2d62a4c1be7763f0c78c21a48019ff652d02.webp?v=1782697656","variant_ids":[44300180684899]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013525Y-RJ06","featured_media":{"alt":null,"id":27628008800355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eca2d62a4c1be7763f0c78c21a48019ff652d02.webp?v=1782697656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300180947043,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122762281059,"product_id":8048404627555,"position":6,"created_at":"2026-06-29T09:47:30+08:00","updated_at":"2026-06-29T09:47:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf9d89a327b6ac4b4cf4f85ecebc422fd619887f.webp?v=1782697652","variant_ids":[44300180947043]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013525X-RJ06","featured_media":{"alt":null,"id":27628006735971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf9d89a327b6ac4b4cf4f85ecebc422fd619887f.webp?v=1782697652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300181340259,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763296867,"product_id":8048404627555,"position":10,"created_at":"2026-06-29T09:47:32+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed260003fd7e1937a1c079946d03f8276e45809.webp?v=1782697654","variant_ids":[44300181340259]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013525H-RJ06","featured_media":{"alt":null,"id":27628007751779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed260003fd7e1937a1c079946d03f8276e45809.webp?v=1782697654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300181733475,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122761068643,"product_id":8048404627555,"position":1,"created_at":"2026-06-29T09:47:27+08:00","updated_at":"2026-06-29T09:47:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04bdd7663897462de5e6d06e9cfcbfc1896f73fb.webp?v=1782697649","variant_ids":[44300181733475]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013524I-RJ06","featured_media":{"alt":null,"id":27628005523555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04bdd7663897462de5e6d06e9cfcbfc1896f73fb.webp?v=1782697649"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300181930083,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763034723,"product_id":8048404627555,"position":9,"created_at":"2026-06-29T09:47:31+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cced72d2e74d57d878c5f3315c3c5b430832006.webp?v=1782697654","variant_ids":[44300181930083]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013524H-RJ06","featured_media":{"alt":null,"id":27628007522403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cced72d2e74d57d878c5f3315c3c5b430832006.webp?v=1782697654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300182323299,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122764017763,"product_id":8048404627555,"position":12,"created_at":"2026-06-29T09:47:33+08:00","updated_at":"2026-06-29T09:47:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/726450e89c7f00d31b364d7c759efacd04829574.webp?v=1782697655","variant_ids":[44300182323299]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013523O-RJ06","featured_media":{"alt":null,"id":27628008472675,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/726450e89c7f00d31b364d7c759efacd04829574.webp?v=1782697655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300182519907,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763690083,"product_id":8048404627555,"position":11,"created_at":"2026-06-29T09:47:33+08:00","updated_at":"2026-06-29T09:47:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6456cb6747952d39efc428ca624cb3610819f527.webp?v=1782697655","variant_ids":[44300182519907]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013520B-RJ06","featured_media":{"alt":null,"id":27628008144995,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6456cb6747952d39efc428ca624cb3610819f527.webp?v=1782697655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300182978659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122761330787,"product_id":8048404627555,"position":2,"created_at":"2026-06-29T09:47:28+08:00","updated_at":"2026-06-29T09:47:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f42acbff3152e52b471c2f75529ee1bf92a3bc4.webp?v=1782697650","variant_ids":[44300182978659]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-RJ06","featured_media":{"alt":null,"id":27628005785699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f42acbff3152e52b471c2f75529ee1bf92a3bc4.webp?v=1782697650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300183732323,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122762608739,"product_id":8048404627555,"position":7,"created_at":"2026-06-29T09:47:30+08:00","updated_at":"2026-06-29T09:47:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ce3ea99ec0be4d4ec61fa76d86ad6b961110667.webp?v=1782697652","variant_ids":[44300183732323]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS01352O8-RJ06","featured_media":{"alt":null,"id":27628007030883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ce3ea99ec0be4d4ec61fa76d86ad6b961110667.webp?v=1782697652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300184027235,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122762903651,"product_id":8048404627555,"position":8,"created_at":"2026-06-29T09:47:31+08:00","updated_at":"2026-06-29T09:47:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a72e6b61c1b9abb36082889b1d2982f8bae61d00.webp?v=1782697653","variant_ids":[44300184027235]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-RJ06","featured_media":{"alt":null,"id":27628007325795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a72e6b61c1b9abb36082889b1d2982f8bae61d00.webp?v=1782697653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04bdd7663897462de5e6d06e9cfcbfc1896f73fb.webp?v=1782697649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f42acbff3152e52b471c2f75529ee1bf92a3bc4.webp?v=1782697650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e60441a9994d31f15111fe8ceccc29952719f1c2.webp?v=1782697650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610356ad0f9f4bd24c37140ca9df91605cf17613.webp?v=1782697651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5840b7774964820ec41af6bf8464a910ab252bf7.webp?v=1782697651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf9d89a327b6ac4b4cf4f85ecebc422fd619887f.webp?v=1782697652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ce3ea99ec0be4d4ec61fa76d86ad6b961110667.webp?v=1782697652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a72e6b61c1b9abb36082889b1d2982f8bae61d00.webp?v=1782697653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cced72d2e74d57d878c5f3315c3c5b430832006.webp?v=1782697654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed260003fd7e1937a1c079946d03f8276e45809.webp?v=1782697654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6456cb6747952d39efc428ca624cb3610819f527.webp?v=1782697655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/726450e89c7f00d31b364d7c759efacd04829574.webp?v=1782697655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eca2d62a4c1be7763f0c78c21a48019ff652d02.webp?v=1782697656"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04bdd7663897462de5e6d06e9cfcbfc1896f73fb.webp?v=1782697649","options":["color"],"media":[{"alt":null,"id":27628005523555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04bdd7663897462de5e6d06e9cfcbfc1896f73fb.webp?v=1782697649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04bdd7663897462de5e6d06e9cfcbfc1896f73fb.webp?v=1782697649","width":2000},{"alt":null,"id":27628005785699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f42acbff3152e52b471c2f75529ee1bf92a3bc4.webp?v=1782697650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f42acbff3152e52b471c2f75529ee1bf92a3bc4.webp?v=1782697650","width":2000},{"alt":null,"id":27628005982307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e60441a9994d31f15111fe8ceccc29952719f1c2.webp?v=1782697650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e60441a9994d31f15111fe8ceccc29952719f1c2.webp?v=1782697650","width":2000},{"alt":null,"id":27628006146147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610356ad0f9f4bd24c37140ca9df91605cf17613.webp?v=1782697651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610356ad0f9f4bd24c37140ca9df91605cf17613.webp?v=1782697651","width":2000},{"alt":null,"id":27628006473827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5840b7774964820ec41af6bf8464a910ab252bf7.webp?v=1782697651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5840b7774964820ec41af6bf8464a910ab252bf7.webp?v=1782697651","width":2000},{"alt":null,"id":27628006735971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf9d89a327b6ac4b4cf4f85ecebc422fd619887f.webp?v=1782697652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf9d89a327b6ac4b4cf4f85ecebc422fd619887f.webp?v=1782697652","width":2000},{"alt":null,"id":27628007030883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ce3ea99ec0be4d4ec61fa76d86ad6b961110667.webp?v=1782697652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ce3ea99ec0be4d4ec61fa76d86ad6b961110667.webp?v=1782697652","width":2000},{"alt":null,"id":27628007325795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a72e6b61c1b9abb36082889b1d2982f8bae61d00.webp?v=1782697653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a72e6b61c1b9abb36082889b1d2982f8bae61d00.webp?v=1782697653","width":2000},{"alt":null,"id":27628007522403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cced72d2e74d57d878c5f3315c3c5b430832006.webp?v=1782697654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cced72d2e74d57d878c5f3315c3c5b430832006.webp?v=1782697654","width":2000},{"alt":null,"id":27628007751779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed260003fd7e1937a1c079946d03f8276e45809.webp?v=1782697654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed260003fd7e1937a1c079946d03f8276e45809.webp?v=1782697654","width":2000},{"alt":null,"id":27628008144995,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6456cb6747952d39efc428ca624cb3610819f527.webp?v=1782697655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6456cb6747952d39efc428ca624cb3610819f527.webp?v=1782697655","width":2000},{"alt":null,"id":27628008472675,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/726450e89c7f00d31b364d7c759efacd04829574.webp?v=1782697655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/726450e89c7f00d31b364d7c759efacd04829574.webp?v=1782697655","width":2000},{"alt":null,"id":27628008800355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eca2d62a4c1be7763f0c78c21a48019ff652d02.webp?v=1782697656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eca2d62a4c1be7763f0c78c21a48019ff652d02.webp?v=1782697656","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44300171837539,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122761691235,"product_id":8048404627555,"position":4,"created_at":"2026-06-29T09:47:29+08:00","updated_at":"2026-06-29T09:47:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610356ad0f9f4bd24c37140ca9df91605cf17613.webp?v=1782697651","variant_ids":[44300171837539]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013520F-RJ06","featured_media":{"alt":null,"id":27628006146147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610356ad0f9f4bd24c37140ca9df91605cf17613.webp?v=1782697651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300179996771,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122762018915,"product_id":8048404627555,"position":5,"created_at":"2026-06-29T09:47:29+08:00","updated_at":"2026-06-29T09:47:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5840b7774964820ec41af6bf8464a910ab252bf7.webp?v=1782697651","variant_ids":[44300179996771]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013526A-RJ06","featured_media":{"alt":null,"id":27628006473827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5840b7774964820ec41af6bf8464a910ab252bf7.webp?v=1782697651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300180258915,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122761527395,"product_id":8048404627555,"position":3,"created_at":"2026-06-29T09:47:28+08:00","updated_at":"2026-06-29T09:47:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e60441a9994d31f15111fe8ceccc29952719f1c2.webp?v=1782697650","variant_ids":[44300180258915]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013525Z-RJ06","featured_media":{"alt":null,"id":27628005982307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e60441a9994d31f15111fe8ceccc29952719f1c2.webp?v=1782697650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300180684899,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122764345443,"product_id":8048404627555,"position":13,"created_at":"2026-06-29T09:47:34+08:00","updated_at":"2026-06-29T09:47:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eca2d62a4c1be7763f0c78c21a48019ff652d02.webp?v=1782697656","variant_ids":[44300180684899]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013525Y-RJ06","featured_media":{"alt":null,"id":27628008800355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eca2d62a4c1be7763f0c78c21a48019ff652d02.webp?v=1782697656"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300180947043,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122762281059,"product_id":8048404627555,"position":6,"created_at":"2026-06-29T09:47:30+08:00","updated_at":"2026-06-29T09:47:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf9d89a327b6ac4b4cf4f85ecebc422fd619887f.webp?v=1782697652","variant_ids":[44300180947043]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013525X-RJ06","featured_media":{"alt":null,"id":27628006735971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf9d89a327b6ac4b4cf4f85ecebc422fd619887f.webp?v=1782697652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300181340259,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763296867,"product_id":8048404627555,"position":10,"created_at":"2026-06-29T09:47:32+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed260003fd7e1937a1c079946d03f8276e45809.webp?v=1782697654","variant_ids":[44300181340259]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013525H-RJ06","featured_media":{"alt":null,"id":27628007751779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bed260003fd7e1937a1c079946d03f8276e45809.webp?v=1782697654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300181733475,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122761068643,"product_id":8048404627555,"position":1,"created_at":"2026-06-29T09:47:27+08:00","updated_at":"2026-06-29T09:47:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04bdd7663897462de5e6d06e9cfcbfc1896f73fb.webp?v=1782697649","variant_ids":[44300181733475]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013524I-RJ06","featured_media":{"alt":null,"id":27628005523555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04bdd7663897462de5e6d06e9cfcbfc1896f73fb.webp?v=1782697649"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300181930083,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763034723,"product_id":8048404627555,"position":9,"created_at":"2026-06-29T09:47:31+08:00","updated_at":"2026-06-29T09:47:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cced72d2e74d57d878c5f3315c3c5b430832006.webp?v=1782697654","variant_ids":[44300181930083]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013524H-RJ06","featured_media":{"alt":null,"id":27628007522403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cced72d2e74d57d878c5f3315c3c5b430832006.webp?v=1782697654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300182323299,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122764017763,"product_id":8048404627555,"position":12,"created_at":"2026-06-29T09:47:33+08:00","updated_at":"2026-06-29T09:47:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/726450e89c7f00d31b364d7c759efacd04829574.webp?v=1782697655","variant_ids":[44300182323299]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013523O-RJ06","featured_media":{"alt":null,"id":27628008472675,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/726450e89c7f00d31b364d7c759efacd04829574.webp?v=1782697655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300182519907,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122763690083,"product_id":8048404627555,"position":11,"created_at":"2026-06-29T09:47:33+08:00","updated_at":"2026-06-29T09:47:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6456cb6747952d39efc428ca624cb3610819f527.webp?v=1782697655","variant_ids":[44300182519907]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013520B-RJ06","featured_media":{"alt":null,"id":27628008144995,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6456cb6747952d39efc428ca624cb3610819f527.webp?v=1782697655"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300182978659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122761330787,"product_id":8048404627555,"position":2,"created_at":"2026-06-29T09:47:28+08:00","updated_at":"2026-06-29T09:47:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f42acbff3152e52b471c2f75529ee1bf92a3bc4.webp?v=1782697650","variant_ids":[44300182978659]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-RJ06","featured_media":{"alt":null,"id":27628005785699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f42acbff3152e52b471c2f75529ee1bf92a3bc4.webp?v=1782697650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300183732323,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122762608739,"product_id":8048404627555,"position":7,"created_at":"2026-06-29T09:47:30+08:00","updated_at":"2026-06-29T09:47:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ce3ea99ec0be4d4ec61fa76d86ad6b961110667.webp?v=1782697652","variant_ids":[44300183732323]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS01352O8-RJ06","featured_media":{"alt":null,"id":27628007030883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ce3ea99ec0be4d4ec61fa76d86ad6b961110667.webp?v=1782697652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300184027235,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122762903651,"product_id":8048404627555,"position":8,"created_at":"2026-06-29T09:47:31+08:00","updated_at":"2026-06-29T09:47:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a72e6b61c1b9abb36082889b1d2982f8bae61d00.webp?v=1782697653","variant_ids":[44300184027235]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-RJ06","featured_media":{"alt":null,"id":27628007325795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a72e6b61c1b9abb36082889b1d2982f8bae61d00.webp?v=1782697653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44300171837539,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122761691235,"product_id":8048404627555,"position":4,"created_at":"2026-06-29T09:47:29+08:00","updated_at":"2026-06-29T09:47:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610356ad0f9f4bd24c37140ca9df91605cf17613.webp?v=1782697651","variant_ids":[44300171837539]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 於是日常了 高調閃光彈-比心RJ - 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":"MNS013520F-RJ06","featured_media":{"alt":null,"id":27628006146147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610356ad0f9f4bd24c37140ca9df91605cf17613.webp?v=1782697651"}},"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: "停產" }