$product = {"id":7595283415139,"title":"iPhone 16 Pro Max Mod NX","handle":"iphone-16-pro-max-mod-nx-bumper-clearplate","description":null,"published_at":"2024-08-02T10:32:39+08:00","created_at":"2024-08-01T16:32:14+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 Max","discountable-item","dropdownDevice-Apple iPhone 16 Pro Max","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":42617180422243,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NPB01328J5","requires_shipping":true,"taxable":true,"featured_image":{"id":32394380116067,"product_id":7595283415139,"position":3,"created_at":"2024-09-09T14:14:08+08:00","updated_at":"2024-09-09T14:14:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c39fbf16c75d3acfdfaadad70d8cea457c630fef_c99e677a-0784-42cb-a961-857ca4a3b2a0.webp?v=1725862448","variant_ids":[42617180422243]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999516,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654436","featured_media":{"alt":null,"id":24646804275299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c39fbf16c75d3acfdfaadad70d8cea457c630fef_c99e677a-0784-42cb-a961-857ca4a3b2a0.webp?v=1725862448"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180455011,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NPB0132869","requires_shipping":true,"taxable":true,"featured_image":{"id":32394378936419,"product_id":7595283415139,"position":2,"created_at":"2024-09-09T14:14:04+08:00","updated_at":"2024-09-09T14:14:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856967a7d7f792f38ba57cade266b5ddb646878c_48bbf33e-347e-4f8f-a7c5-9841936a0791.webp?v=1725862444","variant_ids":[42617180455011]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999548,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654405","featured_media":{"alt":null,"id":24646803587171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856967a7d7f792f38ba57cade266b5ddb646878c_48bbf33e-347e-4f8f-a7c5-9841936a0791.webp?v=1725862444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180487779,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NPB01328C0","requires_shipping":true,"taxable":true,"featured_image":{"id":32394383065187,"product_id":7595283415139,"position":7,"created_at":"2024-09-09T14:14:18+08:00","updated_at":"2024-09-09T14:14:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59d1796772ee8062925ce7d488bd6f58260f397b_86e3bbbe-85b9-471c-9a6b-88b2dffef521.webp?v=1725862458","variant_ids":[42617180487779]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 淺灰","public_title":"淺灰","options":["淺灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999446,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654412","featured_media":{"alt":null,"id":24646806175843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59d1796772ee8062925ce7d488bd6f58260f397b_86e3bbbe-85b9-471c-9a6b-88b2dffef521.webp?v=1725862458"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180520547,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"NPB01328C1","requires_shipping":true,"taxable":true,"featured_image":{"id":32394378018915,"product_id":7595283415139,"position":1,"created_at":"2024-09-09T14:14:02+08:00","updated_at":"2024-09-09T14:14:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b20b10e7dcbfa86cb2e90494ea71085cdee0e318_450aba1d-2450-4d99-a752-a7a6659b0731.webp?v=1725862442","variant_ids":[42617180520547]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999525,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654429","featured_media":{"alt":null,"id":24646803128419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b20b10e7dcbfa86cb2e90494ea71085cdee0e318_450aba1d-2450-4d99-a752-a7a6659b0731.webp?v=1725862442"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180553315,"title":"白","option1":"白","option2":null,"option3":null,"sku":"NPB0132804","requires_shipping":true,"taxable":true,"featured_image":{"id":32394382508131,"product_id":7595283415139,"position":6,"created_at":"2024-09-09T14:14:16+08:00","updated_at":"2024-09-09T14:14:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed9c493e2f52b6d92eef7e7157e772ecace9c099_91ec72d4-40d9-4234-8bdb-15399c46250e.webp?v=1725862456","variant_ids":[42617180553315]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 白","public_title":"白","options":["白"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999503,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654375","featured_media":{"alt":null,"id":24646805815395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed9c493e2f52b6d92eef7e7157e772ecace9c099_91ec72d4-40d9-4234-8bdb-15399c46250e.webp?v=1725862456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180586083,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"NPB0132824","requires_shipping":true,"taxable":true,"featured_image":{"id":32394381295715,"product_id":7595283415139,"position":4,"created_at":"2024-09-09T14:14:11+08:00","updated_at":"2024-09-09T14:14:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85bba9083a4700fd9c2c687fb543fc5d683f7c51_88dfe312-69b3-4598-9717-350cba7d8c21.webp?v=1725862451","variant_ids":[42617180586083]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 黑","public_title":"黑","options":["黑"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999998840,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654382","featured_media":{"alt":null,"id":24646805127267,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85bba9083a4700fd9c2c687fb543fc5d683f7c51_88dfe312-69b3-4598-9717-350cba7d8c21.webp?v=1725862451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180618851,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"NPB0132857","requires_shipping":true,"taxable":true,"featured_image":{"id":32394382016611,"product_id":7595283415139,"position":5,"created_at":"2024-09-09T14:14:14+08:00","updated_at":"2024-09-09T14:14:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27e14e561a7b3981bf4833e4496904a3cf137e4_4ad9ef65-8f72-4b46-b839-7e9483a5d101.webp?v=1725862454","variant_ids":[42617180618851]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999474,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654399","featured_media":{"alt":null,"id":24646805520483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27e14e561a7b3981bf4833e4496904a3cf137e4_4ad9ef65-8f72-4b46-b839-7e9483a5d101.webp?v=1725862454"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b20b10e7dcbfa86cb2e90494ea71085cdee0e318_450aba1d-2450-4d99-a752-a7a6659b0731.webp?v=1725862442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856967a7d7f792f38ba57cade266b5ddb646878c_48bbf33e-347e-4f8f-a7c5-9841936a0791.webp?v=1725862444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c39fbf16c75d3acfdfaadad70d8cea457c630fef_c99e677a-0784-42cb-a961-857ca4a3b2a0.webp?v=1725862448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85bba9083a4700fd9c2c687fb543fc5d683f7c51_88dfe312-69b3-4598-9717-350cba7d8c21.webp?v=1725862451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27e14e561a7b3981bf4833e4496904a3cf137e4_4ad9ef65-8f72-4b46-b839-7e9483a5d101.webp?v=1725862454","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed9c493e2f52b6d92eef7e7157e772ecace9c099_91ec72d4-40d9-4234-8bdb-15399c46250e.webp?v=1725862456","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59d1796772ee8062925ce7d488bd6f58260f397b_86e3bbbe-85b9-471c-9a6b-88b2dffef521.webp?v=1725862458"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b20b10e7dcbfa86cb2e90494ea71085cdee0e318_450aba1d-2450-4d99-a752-a7a6659b0731.webp?v=1725862442","options":["color"],"media":[{"alt":null,"id":24646803128419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b20b10e7dcbfa86cb2e90494ea71085cdee0e318_450aba1d-2450-4d99-a752-a7a6659b0731.webp?v=1725862442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b20b10e7dcbfa86cb2e90494ea71085cdee0e318_450aba1d-2450-4d99-a752-a7a6659b0731.webp?v=1725862442","width":2000},{"alt":null,"id":24646803587171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856967a7d7f792f38ba57cade266b5ddb646878c_48bbf33e-347e-4f8f-a7c5-9841936a0791.webp?v=1725862444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856967a7d7f792f38ba57cade266b5ddb646878c_48bbf33e-347e-4f8f-a7c5-9841936a0791.webp?v=1725862444","width":2000},{"alt":null,"id":24646804275299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c39fbf16c75d3acfdfaadad70d8cea457c630fef_c99e677a-0784-42cb-a961-857ca4a3b2a0.webp?v=1725862448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c39fbf16c75d3acfdfaadad70d8cea457c630fef_c99e677a-0784-42cb-a961-857ca4a3b2a0.webp?v=1725862448","width":2000},{"alt":null,"id":24646805127267,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85bba9083a4700fd9c2c687fb543fc5d683f7c51_88dfe312-69b3-4598-9717-350cba7d8c21.webp?v=1725862451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85bba9083a4700fd9c2c687fb543fc5d683f7c51_88dfe312-69b3-4598-9717-350cba7d8c21.webp?v=1725862451","width":2000},{"alt":null,"id":24646805520483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27e14e561a7b3981bf4833e4496904a3cf137e4_4ad9ef65-8f72-4b46-b839-7e9483a5d101.webp?v=1725862454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27e14e561a7b3981bf4833e4496904a3cf137e4_4ad9ef65-8f72-4b46-b839-7e9483a5d101.webp?v=1725862454","width":2000},{"alt":null,"id":24646805815395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed9c493e2f52b6d92eef7e7157e772ecace9c099_91ec72d4-40d9-4234-8bdb-15399c46250e.webp?v=1725862456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed9c493e2f52b6d92eef7e7157e772ecace9c099_91ec72d4-40d9-4234-8bdb-15399c46250e.webp?v=1725862456","width":2000},{"alt":null,"id":24646806175843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59d1796772ee8062925ce7d488bd6f58260f397b_86e3bbbe-85b9-471c-9a6b-88b2dffef521.webp?v=1725862458"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59d1796772ee8062925ce7d488bd6f58260f397b_86e3bbbe-85b9-471c-9a6b-88b2dffef521.webp?v=1725862458","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":42617180422243,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NPB01328J5","requires_shipping":true,"taxable":true,"featured_image":{"id":32394380116067,"product_id":7595283415139,"position":3,"created_at":"2024-09-09T14:14:08+08:00","updated_at":"2024-09-09T14:14:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c39fbf16c75d3acfdfaadad70d8cea457c630fef_c99e677a-0784-42cb-a961-857ca4a3b2a0.webp?v=1725862448","variant_ids":[42617180422243]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999516,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654436","featured_media":{"alt":null,"id":24646804275299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c39fbf16c75d3acfdfaadad70d8cea457c630fef_c99e677a-0784-42cb-a961-857ca4a3b2a0.webp?v=1725862448"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180455011,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NPB0132869","requires_shipping":true,"taxable":true,"featured_image":{"id":32394378936419,"product_id":7595283415139,"position":2,"created_at":"2024-09-09T14:14:04+08:00","updated_at":"2024-09-09T14:14:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856967a7d7f792f38ba57cade266b5ddb646878c_48bbf33e-347e-4f8f-a7c5-9841936a0791.webp?v=1725862444","variant_ids":[42617180455011]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999548,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654405","featured_media":{"alt":null,"id":24646803587171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856967a7d7f792f38ba57cade266b5ddb646878c_48bbf33e-347e-4f8f-a7c5-9841936a0791.webp?v=1725862444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180487779,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NPB01328C0","requires_shipping":true,"taxable":true,"featured_image":{"id":32394383065187,"product_id":7595283415139,"position":7,"created_at":"2024-09-09T14:14:18+08:00","updated_at":"2024-09-09T14:14:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59d1796772ee8062925ce7d488bd6f58260f397b_86e3bbbe-85b9-471c-9a6b-88b2dffef521.webp?v=1725862458","variant_ids":[42617180487779]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 淺灰","public_title":"淺灰","options":["淺灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999446,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654412","featured_media":{"alt":null,"id":24646806175843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59d1796772ee8062925ce7d488bd6f58260f397b_86e3bbbe-85b9-471c-9a6b-88b2dffef521.webp?v=1725862458"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180520547,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"NPB01328C1","requires_shipping":true,"taxable":true,"featured_image":{"id":32394378018915,"product_id":7595283415139,"position":1,"created_at":"2024-09-09T14:14:02+08:00","updated_at":"2024-09-09T14:14:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b20b10e7dcbfa86cb2e90494ea71085cdee0e318_450aba1d-2450-4d99-a752-a7a6659b0731.webp?v=1725862442","variant_ids":[42617180520547]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999525,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654429","featured_media":{"alt":null,"id":24646803128419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b20b10e7dcbfa86cb2e90494ea71085cdee0e318_450aba1d-2450-4d99-a752-a7a6659b0731.webp?v=1725862442"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180553315,"title":"白","option1":"白","option2":null,"option3":null,"sku":"NPB0132804","requires_shipping":true,"taxable":true,"featured_image":{"id":32394382508131,"product_id":7595283415139,"position":6,"created_at":"2024-09-09T14:14:16+08:00","updated_at":"2024-09-09T14:14:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed9c493e2f52b6d92eef7e7157e772ecace9c099_91ec72d4-40d9-4234-8bdb-15399c46250e.webp?v=1725862456","variant_ids":[42617180553315]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 白","public_title":"白","options":["白"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999503,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654375","featured_media":{"alt":null,"id":24646805815395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed9c493e2f52b6d92eef7e7157e772ecace9c099_91ec72d4-40d9-4234-8bdb-15399c46250e.webp?v=1725862456"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180586083,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"NPB0132824","requires_shipping":true,"taxable":true,"featured_image":{"id":32394381295715,"product_id":7595283415139,"position":4,"created_at":"2024-09-09T14:14:11+08:00","updated_at":"2024-09-09T14:14:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85bba9083a4700fd9c2c687fb543fc5d683f7c51_88dfe312-69b3-4598-9717-350cba7d8c21.webp?v=1725862451","variant_ids":[42617180586083]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 黑","public_title":"黑","options":["黑"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999998840,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654382","featured_media":{"alt":null,"id":24646805127267,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85bba9083a4700fd9c2c687fb543fc5d683f7c51_88dfe312-69b3-4598-9717-350cba7d8c21.webp?v=1725862451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617180618851,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"NPB0132857","requires_shipping":true,"taxable":true,"featured_image":{"id":32394382016611,"product_id":7595283415139,"position":5,"created_at":"2024-09-09T14:14:14+08:00","updated_at":"2024-09-09T14:14:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27e14e561a7b3981bf4833e4496904a3cf137e4_4ad9ef65-8f72-4b46-b839-7e9483a5d101.webp?v=1725862454","variant_ids":[42617180618851]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999474,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654399","featured_media":{"alt":null,"id":24646805520483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27e14e561a7b3981bf4833e4496904a3cf137e4_4ad9ef65-8f72-4b46-b839-7e9483a5d101.webp?v=1725862454"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42617180422243,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NPB01328J5","requires_shipping":true,"taxable":true,"featured_image":{"id":32394380116067,"product_id":7595283415139,"position":3,"created_at":"2024-09-09T14:14:08+08:00","updated_at":"2024-09-09T14:14:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c39fbf16c75d3acfdfaadad70d8cea457c630fef_c99e677a-0784-42cb-a961-857ca4a3b2a0.webp?v=1725862448","variant_ids":[42617180422243]},"available":true,"name":"iPhone 16 Pro Max Mod NX - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999516,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654436","featured_media":{"alt":null,"id":24646804275299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c39fbf16c75d3acfdfaadad70d8cea457c630fef_c99e677a-0784-42cb-a961-857ca4a3b2a0.webp?v=1725862448"}},"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: "停產" }