$product = {"id":7595282661475,"title":"iPhone 16 Pro Mod NX","handle":"iphone-16-pro-mod-nx-bumper-clearplate","description":null,"published_at":"2024-08-02T10:31:51+08:00","created_at":"2024-08-01T16:31:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"ModNX","tags":["20%","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","bumper-clearplate","device-iPhone 16 Pro","discountable-item","dropdownDevice-Apple iPhone 16 Pro","featured-product","iphone-16-products","member","quickbuy","reseller","reseller-asus","reseller-modnx","Top50"],"price":80000,"price_min":80000,"price_max":80000,"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":42617173114979,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NPB01327J5","requires_shipping":true,"taxable":true,"featured_image":{"id":32394364518499,"product_id":7595282661475,"position":3,"created_at":"2024-09-09T14:13:31+08:00","updated_at":"2024-09-09T14:13:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbcff2175e93ac2a278416c232419cb96c252546_511b733c-4698-4327-9acf-af6973270a54.webp?v=1725862411","variant_ids":[42617173114979]},"available":true,"name":"iPhone 16 Pro Mod NX - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999471,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654368","featured_media":{"alt":null,"id":24646795559011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbcff2175e93ac2a278416c232419cb96c252546_511b733c-4698-4327-9acf-af6973270a54.webp?v=1725862411"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173278819,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NPB01327C0","requires_shipping":true,"taxable":true,"featured_image":{"id":32394367172707,"product_id":7595282661475,"position":6,"created_at":"2024-09-09T14:13:37+08:00","updated_at":"2024-09-09T14:13:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d064ba1305930d9484a5369d168ba0f8b7b20ba_6a807882-cc53-46f6-913d-d253095b4cb1.webp?v=1725862417","variant_ids":[42617173278819]},"available":true,"name":"iPhone 16 Pro Mod NX - 淺灰","public_title":"淺灰","options":["淺灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999369,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654344","featured_media":{"alt":null,"id":24646797131875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d064ba1305930d9484a5369d168ba0f8b7b20ba_6a807882-cc53-46f6-913d-d253095b4cb1.webp?v=1725862417"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173344355,"title":"白","option1":"白","option2":null,"option3":null,"sku":"NPB0132704","requires_shipping":true,"taxable":true,"featured_image":{"id":32394362781795,"product_id":7595282661475,"position":1,"created_at":"2024-09-09T14:13:26+08:00","updated_at":"2024-09-09T14:13:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea784fa89e1761d524c7fc17bbb20927e16828e_4c7c89ef-f75a-43f1-b9dc-cb597fafd370.webp?v=1725862406","variant_ids":[42617173344355]},"available":true,"name":"iPhone 16 Pro Mod NX - 白","public_title":"白","options":["白"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999540,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654306","featured_media":{"alt":null,"id":24646794608739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea784fa89e1761d524c7fc17bbb20927e16828e_4c7c89ef-f75a-43f1-b9dc-cb597fafd370.webp?v=1725862406"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173475427,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NPB0132769","requires_shipping":true,"taxable":true,"featured_image":{"id":32394365206627,"product_id":7595282661475,"position":4,"created_at":"2024-09-09T14:13:33+08:00","updated_at":"2024-09-09T14:13:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3fad87f66ee6764768788a56e786403b3565bff_f5256774-15ad-4c85-bf56-615421010403.webp?v=1725862413","variant_ids":[42617173475427]},"available":true,"name":"iPhone 16 Pro Mod NX - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999540,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654337","featured_media":{"alt":null,"id":24646795984995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3fad87f66ee6764768788a56e786403b3565bff_f5256774-15ad-4c85-bf56-615421010403.webp?v=1725862413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173540963,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"NPB01327C1","requires_shipping":true,"taxable":true,"featured_image":{"id":32394366386275,"product_id":7595282661475,"position":5,"created_at":"2024-09-09T14:13:35+08:00","updated_at":"2024-09-09T14:13:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89a7543d3d289321e6b40c4754573f374e7a6c4_15d987f3-9237-4aa9-bcc0-0720f38bcdcd.webp?v=1725862415","variant_ids":[42617173540963]},"available":true,"name":"iPhone 16 Pro Mod NX - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999505,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654351","featured_media":{"alt":null,"id":24646796705891,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89a7543d3d289321e6b40c4754573f374e7a6c4_15d987f3-9237-4aa9-bcc0-0720f38bcdcd.webp?v=1725862415"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173606499,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"NPB0132724","requires_shipping":true,"taxable":true,"featured_image":{"id":32394363666531,"product_id":7595282661475,"position":2,"created_at":"2024-09-09T14:13:28+08:00","updated_at":"2024-09-09T14:13:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33da6d0c4ae1ade20dd4f69616c1c10c43de9030_36fdad35-f337-4d3e-96b9-035570485f6c.webp?v=1725862408","variant_ids":[42617173606499]},"available":true,"name":"iPhone 16 Pro Mod NX - 黑","public_title":"黑","options":["黑"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999998803,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654313","featured_media":{"alt":null,"id":24646795133027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33da6d0c4ae1ade20dd4f69616c1c10c43de9030_36fdad35-f337-4d3e-96b9-035570485f6c.webp?v=1725862408"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173639267,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"NPB0132757","requires_shipping":true,"taxable":true,"featured_image":{"id":32394368188515,"product_id":7595282661475,"position":7,"created_at":"2024-09-09T14:13:39+08:00","updated_at":"2024-09-09T14:13:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102b058aab02c6c3cb0645fbef44c413cee4d879_ce3854d9-a013-454c-93e3-f2b2f56b2c46.webp?v=1725862419","variant_ids":[42617173639267]},"available":true,"name":"iPhone 16 Pro Mod NX - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999453,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654320","featured_media":{"alt":null,"id":24646797688931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102b058aab02c6c3cb0645fbef44c413cee4d879_ce3854d9-a013-454c-93e3-f2b2f56b2c46.webp?v=1725862419"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea784fa89e1761d524c7fc17bbb20927e16828e_4c7c89ef-f75a-43f1-b9dc-cb597fafd370.webp?v=1725862406","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33da6d0c4ae1ade20dd4f69616c1c10c43de9030_36fdad35-f337-4d3e-96b9-035570485f6c.webp?v=1725862408","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbcff2175e93ac2a278416c232419cb96c252546_511b733c-4698-4327-9acf-af6973270a54.webp?v=1725862411","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3fad87f66ee6764768788a56e786403b3565bff_f5256774-15ad-4c85-bf56-615421010403.webp?v=1725862413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89a7543d3d289321e6b40c4754573f374e7a6c4_15d987f3-9237-4aa9-bcc0-0720f38bcdcd.webp?v=1725862415","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d064ba1305930d9484a5369d168ba0f8b7b20ba_6a807882-cc53-46f6-913d-d253095b4cb1.webp?v=1725862417","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102b058aab02c6c3cb0645fbef44c413cee4d879_ce3854d9-a013-454c-93e3-f2b2f56b2c46.webp?v=1725862419"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea784fa89e1761d524c7fc17bbb20927e16828e_4c7c89ef-f75a-43f1-b9dc-cb597fafd370.webp?v=1725862406","options":["color"],"media":[{"alt":null,"id":24646794608739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea784fa89e1761d524c7fc17bbb20927e16828e_4c7c89ef-f75a-43f1-b9dc-cb597fafd370.webp?v=1725862406"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea784fa89e1761d524c7fc17bbb20927e16828e_4c7c89ef-f75a-43f1-b9dc-cb597fafd370.webp?v=1725862406","width":2000},{"alt":null,"id":24646795133027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33da6d0c4ae1ade20dd4f69616c1c10c43de9030_36fdad35-f337-4d3e-96b9-035570485f6c.webp?v=1725862408"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33da6d0c4ae1ade20dd4f69616c1c10c43de9030_36fdad35-f337-4d3e-96b9-035570485f6c.webp?v=1725862408","width":2000},{"alt":null,"id":24646795559011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbcff2175e93ac2a278416c232419cb96c252546_511b733c-4698-4327-9acf-af6973270a54.webp?v=1725862411"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbcff2175e93ac2a278416c232419cb96c252546_511b733c-4698-4327-9acf-af6973270a54.webp?v=1725862411","width":2000},{"alt":null,"id":24646795984995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3fad87f66ee6764768788a56e786403b3565bff_f5256774-15ad-4c85-bf56-615421010403.webp?v=1725862413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3fad87f66ee6764768788a56e786403b3565bff_f5256774-15ad-4c85-bf56-615421010403.webp?v=1725862413","width":2000},{"alt":null,"id":24646796705891,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89a7543d3d289321e6b40c4754573f374e7a6c4_15d987f3-9237-4aa9-bcc0-0720f38bcdcd.webp?v=1725862415"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89a7543d3d289321e6b40c4754573f374e7a6c4_15d987f3-9237-4aa9-bcc0-0720f38bcdcd.webp?v=1725862415","width":2000},{"alt":null,"id":24646797131875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d064ba1305930d9484a5369d168ba0f8b7b20ba_6a807882-cc53-46f6-913d-d253095b4cb1.webp?v=1725862417"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d064ba1305930d9484a5369d168ba0f8b7b20ba_6a807882-cc53-46f6-913d-d253095b4cb1.webp?v=1725862417","width":2000},{"alt":null,"id":24646797688931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102b058aab02c6c3cb0645fbef44c413cee4d879_ce3854d9-a013-454c-93e3-f2b2f56b2c46.webp?v=1725862419"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102b058aab02c6c3cb0645fbef44c413cee4d879_ce3854d9-a013-454c-93e3-f2b2f56b2c46.webp?v=1725862419","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":42617173114979,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NPB01327J5","requires_shipping":true,"taxable":true,"featured_image":{"id":32394364518499,"product_id":7595282661475,"position":3,"created_at":"2024-09-09T14:13:31+08:00","updated_at":"2024-09-09T14:13:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbcff2175e93ac2a278416c232419cb96c252546_511b733c-4698-4327-9acf-af6973270a54.webp?v=1725862411","variant_ids":[42617173114979]},"available":true,"name":"iPhone 16 Pro Mod NX - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999471,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654368","featured_media":{"alt":null,"id":24646795559011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbcff2175e93ac2a278416c232419cb96c252546_511b733c-4698-4327-9acf-af6973270a54.webp?v=1725862411"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173278819,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NPB01327C0","requires_shipping":true,"taxable":true,"featured_image":{"id":32394367172707,"product_id":7595282661475,"position":6,"created_at":"2024-09-09T14:13:37+08:00","updated_at":"2024-09-09T14:13:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d064ba1305930d9484a5369d168ba0f8b7b20ba_6a807882-cc53-46f6-913d-d253095b4cb1.webp?v=1725862417","variant_ids":[42617173278819]},"available":true,"name":"iPhone 16 Pro Mod NX - 淺灰","public_title":"淺灰","options":["淺灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999369,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654344","featured_media":{"alt":null,"id":24646797131875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d064ba1305930d9484a5369d168ba0f8b7b20ba_6a807882-cc53-46f6-913d-d253095b4cb1.webp?v=1725862417"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173344355,"title":"白","option1":"白","option2":null,"option3":null,"sku":"NPB0132704","requires_shipping":true,"taxable":true,"featured_image":{"id":32394362781795,"product_id":7595282661475,"position":1,"created_at":"2024-09-09T14:13:26+08:00","updated_at":"2024-09-09T14:13:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea784fa89e1761d524c7fc17bbb20927e16828e_4c7c89ef-f75a-43f1-b9dc-cb597fafd370.webp?v=1725862406","variant_ids":[42617173344355]},"available":true,"name":"iPhone 16 Pro Mod NX - 白","public_title":"白","options":["白"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999540,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654306","featured_media":{"alt":null,"id":24646794608739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eea784fa89e1761d524c7fc17bbb20927e16828e_4c7c89ef-f75a-43f1-b9dc-cb597fafd370.webp?v=1725862406"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173475427,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NPB0132769","requires_shipping":true,"taxable":true,"featured_image":{"id":32394365206627,"product_id":7595282661475,"position":4,"created_at":"2024-09-09T14:13:33+08:00","updated_at":"2024-09-09T14:13:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3fad87f66ee6764768788a56e786403b3565bff_f5256774-15ad-4c85-bf56-615421010403.webp?v=1725862413","variant_ids":[42617173475427]},"available":true,"name":"iPhone 16 Pro Mod NX - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999540,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654337","featured_media":{"alt":null,"id":24646795984995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3fad87f66ee6764768788a56e786403b3565bff_f5256774-15ad-4c85-bf56-615421010403.webp?v=1725862413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173540963,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"NPB01327C1","requires_shipping":true,"taxable":true,"featured_image":{"id":32394366386275,"product_id":7595282661475,"position":5,"created_at":"2024-09-09T14:13:35+08:00","updated_at":"2024-09-09T14:13:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89a7543d3d289321e6b40c4754573f374e7a6c4_15d987f3-9237-4aa9-bcc0-0720f38bcdcd.webp?v=1725862415","variant_ids":[42617173540963]},"available":true,"name":"iPhone 16 Pro Mod NX - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999505,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654351","featured_media":{"alt":null,"id":24646796705891,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89a7543d3d289321e6b40c4754573f374e7a6c4_15d987f3-9237-4aa9-bcc0-0720f38bcdcd.webp?v=1725862415"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173606499,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"NPB0132724","requires_shipping":true,"taxable":true,"featured_image":{"id":32394363666531,"product_id":7595282661475,"position":2,"created_at":"2024-09-09T14:13:28+08:00","updated_at":"2024-09-09T14:13:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33da6d0c4ae1ade20dd4f69616c1c10c43de9030_36fdad35-f337-4d3e-96b9-035570485f6c.webp?v=1725862408","variant_ids":[42617173606499]},"available":true,"name":"iPhone 16 Pro Mod NX - 黑","public_title":"黑","options":["黑"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999998803,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654313","featured_media":{"alt":null,"id":24646795133027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33da6d0c4ae1ade20dd4f69616c1c10c43de9030_36fdad35-f337-4d3e-96b9-035570485f6c.webp?v=1725862408"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617173639267,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"NPB0132757","requires_shipping":true,"taxable":true,"featured_image":{"id":32394368188515,"product_id":7595282661475,"position":7,"created_at":"2024-09-09T14:13:39+08:00","updated_at":"2024-09-09T14:13:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102b058aab02c6c3cb0645fbef44c413cee4d879_ce3854d9-a013-454c-93e3-f2b2f56b2c46.webp?v=1725862419","variant_ids":[42617173639267]},"available":true,"name":"iPhone 16 Pro Mod NX - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999453,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654320","featured_media":{"alt":null,"id":24646797688931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/102b058aab02c6c3cb0645fbef44c413cee4d879_ce3854d9-a013-454c-93e3-f2b2f56b2c46.webp?v=1725862419"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":42617173114979,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NPB01327J5","requires_shipping":true,"taxable":true,"featured_image":{"id":32394364518499,"product_id":7595282661475,"position":3,"created_at":"2024-09-09T14:13:31+08:00","updated_at":"2024-09-09T14:13:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbcff2175e93ac2a278416c232419cb96c252546_511b733c-4698-4327-9acf-af6973270a54.webp?v=1725862411","variant_ids":[42617173114979]},"available":true,"name":"iPhone 16 Pro Mod NX - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999471,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654368","featured_media":{"alt":null,"id":24646795559011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbcff2175e93ac2a278416c232419cb96c252546_511b733c-4698-4327-9acf-af6973270a54.webp?v=1725862411"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
var sellingStatus;
$device_handle = null
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages([productImg, bumperColors[currentVariant]],{
crossOrigin: 'anonymous'
})
.then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages([bumperColors[currentVariant], productImg],{
crossOrigin: 'anonymous'
})
.then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
}
});
};
var storedData = sessionStorage.getItem('sellingStatusData');
try {
sellingStatusData = JSON.parse(storedData)
} catch (error) {
console.error('JSON.parse Error', error)
sellingStatusData = null
}
$(document).ready(function() {
handleSellingStatus($defaultVariant.sku, sellingStatusData);
});
function handleSellingStatus(currentSku, sellingStatusData) {
const sellingStatusElement = document.getElementById('selling-status')
const addToCartButton = document.getElementById('AddToCart-product-template')
const currentProductSku = currentSku.replace(/-(.*)$/, '-')
if ($variants) {
const matchSellingStatusProduct = sellingStatusData.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, sellingStatusData)
});
});
// 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: "停產"
}