$product = {"id":7595283710051,"title":"iPhone 16 Plus Mod NX","handle":"iphone-16-plus-mod-nx-bumper-clearplate","description":null,"published_at":"2024-08-02T10:32:56+08:00","created_at":"2024-08-01T16:32:23+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"ModNX","tags":["20%","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","bumper-clearplate","device-iPhone 16 Plus","discountable-item","dropdownDevice-Apple iPhone 16 Plus","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":42617181831267,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NPB0132669","requires_shipping":true,"taxable":true,"featured_image":{"id":32394362552419,"product_id":7595283710051,"position":1,"created_at":"2024-09-09T14:13:25+08:00","updated_at":"2024-09-09T14:13:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5fc70f10db2831d4c8ca3cf3d18b10e761d18e5_1b06fed6-39a2-457d-9ce7-39de6f1ffa5b.webp?v=1725862405","variant_ids":[42617181831267]},"available":true,"name":"iPhone 16 Plus Mod NX - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999751,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654269","featured_media":{"alt":null,"id":24646794444899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5fc70f10db2831d4c8ca3cf3d18b10e761d18e5_1b06fed6-39a2-457d-9ce7-39de6f1ffa5b.webp?v=1725862405"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617181864035,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"NPB01326C1","requires_shipping":true,"taxable":true,"featured_image":{"id":32394366812259,"product_id":7595283710051,"position":6,"created_at":"2024-09-09T14:13:36+08:00","updated_at":"2024-09-09T14:13:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/830cdbba798be74e9868b54128947403dc15771e_fdfbad24-8d03-4b31-b71b-99e4689afae8.webp?v=1725862416","variant_ids":[42617181864035]},"available":true,"name":"iPhone 16 Plus Mod NX - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999716,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654283","featured_media":{"alt":null,"id":24646796935267,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/830cdbba798be74e9868b54128947403dc15771e_fdfbad24-8d03-4b31-b71b-99e4689afae8.webp?v=1725862416"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617181962339,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"NPB0132624","requires_shipping":true,"taxable":true,"featured_image":{"id":32394367762531,"product_id":7595283710051,"position":7,"created_at":"2024-09-09T14:13:38+08:00","updated_at":"2024-09-09T14:13:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bea277454d6c18dded82c4246f11a1bf77a0b50_ed42eb30-85b1-4fad-ad0a-91604ed0f44d.webp?v=1725862418","variant_ids":[42617181962339]},"available":true,"name":"iPhone 16 Plus Mod NX - 黑","public_title":"黑","options":["黑"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999263,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654245","featured_media":{"alt":null,"id":24646797426787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bea277454d6c18dded82c4246f11a1bf77a0b50_ed42eb30-85b1-4fad-ad0a-91604ed0f44d.webp?v=1725862418"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617182027875,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"NPB0132657","requires_shipping":true,"taxable":true,"featured_image":{"id":32394365665379,"product_id":7595283710051,"position":5,"created_at":"2024-09-09T14:13:34+08:00","updated_at":"2024-09-09T14:13:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e38d56b887b6717d0900a496937c9673caa9c1_35281a5e-0d27-4346-bb28-462343c560db.webp?v=1725862414","variant_ids":[42617182027875]},"available":true,"name":"iPhone 16 Plus Mod NX - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999529,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654252","featured_media":{"alt":null,"id":24646796214371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e38d56b887b6717d0900a496937c9673caa9c1_35281a5e-0d27-4346-bb28-462343c560db.webp?v=1725862414"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617182158947,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NPB01326J5","requires_shipping":true,"taxable":true,"featured_image":{"id":32394364747875,"product_id":7595283710051,"position":4,"created_at":"2024-09-09T14:13:32+08:00","updated_at":"2024-09-09T14:13:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbfdcc04020bba73bd1076404b4436de8df1d016_7c01e8da-56a6-42d2-91c7-d328dfbe844d.webp?v=1725862412","variant_ids":[42617182158947]},"available":true,"name":"iPhone 16 Plus Mod NX - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999649,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654290","featured_media":{"alt":null,"id":24646795690083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbfdcc04020bba73bd1076404b4436de8df1d016_7c01e8da-56a6-42d2-91c7-d328dfbe844d.webp?v=1725862412"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617182257251,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NPB01326C0","requires_shipping":true,"taxable":true,"featured_image":{"id":32394364092515,"product_id":7595283710051,"position":3,"created_at":"2024-09-09T14:13:30+08:00","updated_at":"2024-09-09T14:13:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc388d08c12d7a0f03781d262bfab8c4e64af71d_5f98f954-4939-4734-8207-396f1bfd7b60.webp?v=1725862410","variant_ids":[42617182257251]},"available":true,"name":"iPhone 16 Plus Mod NX - 淺灰","public_title":"淺灰","options":["淺灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999714,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654276","featured_media":{"alt":null,"id":24646795329635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc388d08c12d7a0f03781d262bfab8c4e64af71d_5f98f954-4939-4734-8207-396f1bfd7b60.webp?v=1725862410"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5fc70f10db2831d4c8ca3cf3d18b10e761d18e5_1b06fed6-39a2-457d-9ce7-39de6f1ffa5b.webp?v=1725862405","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f5da3f6bf6fad44bd4be8eef2f35bf010bad8b0_cb682181-75d5-4122-bd27-36531d517fa7.webp?v=1725862407","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc388d08c12d7a0f03781d262bfab8c4e64af71d_5f98f954-4939-4734-8207-396f1bfd7b60.webp?v=1725862410","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbfdcc04020bba73bd1076404b4436de8df1d016_7c01e8da-56a6-42d2-91c7-d328dfbe844d.webp?v=1725862412","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e38d56b887b6717d0900a496937c9673caa9c1_35281a5e-0d27-4346-bb28-462343c560db.webp?v=1725862414","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/830cdbba798be74e9868b54128947403dc15771e_fdfbad24-8d03-4b31-b71b-99e4689afae8.webp?v=1725862416","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bea277454d6c18dded82c4246f11a1bf77a0b50_ed42eb30-85b1-4fad-ad0a-91604ed0f44d.webp?v=1725862418"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5fc70f10db2831d4c8ca3cf3d18b10e761d18e5_1b06fed6-39a2-457d-9ce7-39de6f1ffa5b.webp?v=1725862405","options":["color"],"media":[{"alt":null,"id":24646794444899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5fc70f10db2831d4c8ca3cf3d18b10e761d18e5_1b06fed6-39a2-457d-9ce7-39de6f1ffa5b.webp?v=1725862405"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5fc70f10db2831d4c8ca3cf3d18b10e761d18e5_1b06fed6-39a2-457d-9ce7-39de6f1ffa5b.webp?v=1725862405","width":2000},{"alt":null,"id":24646794772579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f5da3f6bf6fad44bd4be8eef2f35bf010bad8b0_cb682181-75d5-4122-bd27-36531d517fa7.webp?v=1725862407"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f5da3f6bf6fad44bd4be8eef2f35bf010bad8b0_cb682181-75d5-4122-bd27-36531d517fa7.webp?v=1725862407","width":2000},{"alt":null,"id":24646795329635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc388d08c12d7a0f03781d262bfab8c4e64af71d_5f98f954-4939-4734-8207-396f1bfd7b60.webp?v=1725862410"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc388d08c12d7a0f03781d262bfab8c4e64af71d_5f98f954-4939-4734-8207-396f1bfd7b60.webp?v=1725862410","width":2000},{"alt":null,"id":24646795690083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbfdcc04020bba73bd1076404b4436de8df1d016_7c01e8da-56a6-42d2-91c7-d328dfbe844d.webp?v=1725862412"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbfdcc04020bba73bd1076404b4436de8df1d016_7c01e8da-56a6-42d2-91c7-d328dfbe844d.webp?v=1725862412","width":2000},{"alt":null,"id":24646796214371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e38d56b887b6717d0900a496937c9673caa9c1_35281a5e-0d27-4346-bb28-462343c560db.webp?v=1725862414"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e38d56b887b6717d0900a496937c9673caa9c1_35281a5e-0d27-4346-bb28-462343c560db.webp?v=1725862414","width":2000},{"alt":null,"id":24646796935267,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/830cdbba798be74e9868b54128947403dc15771e_fdfbad24-8d03-4b31-b71b-99e4689afae8.webp?v=1725862416"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/830cdbba798be74e9868b54128947403dc15771e_fdfbad24-8d03-4b31-b71b-99e4689afae8.webp?v=1725862416","width":2000},{"alt":null,"id":24646797426787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bea277454d6c18dded82c4246f11a1bf77a0b50_ed42eb30-85b1-4fad-ad0a-91604ed0f44d.webp?v=1725862418"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bea277454d6c18dded82c4246f11a1bf77a0b50_ed42eb30-85b1-4fad-ad0a-91604ed0f44d.webp?v=1725862418","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":42617181831267,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NPB0132669","requires_shipping":true,"taxable":true,"featured_image":{"id":32394362552419,"product_id":7595283710051,"position":1,"created_at":"2024-09-09T14:13:25+08:00","updated_at":"2024-09-09T14:13:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5fc70f10db2831d4c8ca3cf3d18b10e761d18e5_1b06fed6-39a2-457d-9ce7-39de6f1ffa5b.webp?v=1725862405","variant_ids":[42617181831267]},"available":true,"name":"iPhone 16 Plus Mod NX - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999751,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654269","featured_media":{"alt":null,"id":24646794444899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5fc70f10db2831d4c8ca3cf3d18b10e761d18e5_1b06fed6-39a2-457d-9ce7-39de6f1ffa5b.webp?v=1725862405"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617181864035,"title":"薰衣紫","option1":"薰衣紫","option2":null,"option3":null,"sku":"NPB01326C1","requires_shipping":true,"taxable":true,"featured_image":{"id":32394366812259,"product_id":7595283710051,"position":6,"created_at":"2024-09-09T14:13:36+08:00","updated_at":"2024-09-09T14:13:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/830cdbba798be74e9868b54128947403dc15771e_fdfbad24-8d03-4b31-b71b-99e4689afae8.webp?v=1725862416","variant_ids":[42617181864035]},"available":true,"name":"iPhone 16 Plus Mod NX - 薰衣紫","public_title":"薰衣紫","options":["薰衣紫"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999716,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654283","featured_media":{"alt":null,"id":24646796935267,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/830cdbba798be74e9868b54128947403dc15771e_fdfbad24-8d03-4b31-b71b-99e4689afae8.webp?v=1725862416"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617181962339,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"NPB0132624","requires_shipping":true,"taxable":true,"featured_image":{"id":32394367762531,"product_id":7595283710051,"position":7,"created_at":"2024-09-09T14:13:38+08:00","updated_at":"2024-09-09T14:13:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bea277454d6c18dded82c4246f11a1bf77a0b50_ed42eb30-85b1-4fad-ad0a-91604ed0f44d.webp?v=1725862418","variant_ids":[42617181962339]},"available":true,"name":"iPhone 16 Plus Mod NX - 黑","public_title":"黑","options":["黑"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999263,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654245","featured_media":{"alt":null,"id":24646797426787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bea277454d6c18dded82c4246f11a1bf77a0b50_ed42eb30-85b1-4fad-ad0a-91604ed0f44d.webp?v=1725862418"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617182027875,"title":"櫻花粉","option1":"櫻花粉","option2":null,"option3":null,"sku":"NPB0132657","requires_shipping":true,"taxable":true,"featured_image":{"id":32394365665379,"product_id":7595283710051,"position":5,"created_at":"2024-09-09T14:13:34+08:00","updated_at":"2024-09-09T14:13:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e38d56b887b6717d0900a496937c9673caa9c1_35281a5e-0d27-4346-bb28-462343c560db.webp?v=1725862414","variant_ids":[42617182027875]},"available":true,"name":"iPhone 16 Plus Mod NX - 櫻花粉","public_title":"櫻花粉","options":["櫻花粉"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999529,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654252","featured_media":{"alt":null,"id":24646796214371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e38d56b887b6717d0900a496937c9673caa9c1_35281a5e-0d27-4346-bb28-462343c560db.webp?v=1725862414"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617182158947,"title":"海軍藍","option1":"海軍藍","option2":null,"option3":null,"sku":"NPB01326J5","requires_shipping":true,"taxable":true,"featured_image":{"id":32394364747875,"product_id":7595283710051,"position":4,"created_at":"2024-09-09T14:13:32+08:00","updated_at":"2024-09-09T14:13:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbfdcc04020bba73bd1076404b4436de8df1d016_7c01e8da-56a6-42d2-91c7-d328dfbe844d.webp?v=1725862412","variant_ids":[42617182158947]},"available":true,"name":"iPhone 16 Plus Mod NX - 海軍藍","public_title":"海軍藍","options":["海軍藍"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999649,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654290","featured_media":{"alt":null,"id":24646795690083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbfdcc04020bba73bd1076404b4436de8df1d016_7c01e8da-56a6-42d2-91c7-d328dfbe844d.webp?v=1725862412"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42617182257251,"title":"淺灰","option1":"淺灰","option2":null,"option3":null,"sku":"NPB01326C0","requires_shipping":true,"taxable":true,"featured_image":{"id":32394364092515,"product_id":7595283710051,"position":3,"created_at":"2024-09-09T14:13:30+08:00","updated_at":"2024-09-09T14:13:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc388d08c12d7a0f03781d262bfab8c4e64af71d_5f98f954-4939-4734-8207-396f1bfd7b60.webp?v=1725862410","variant_ids":[42617182257251]},"available":true,"name":"iPhone 16 Plus Mod NX - 淺灰","public_title":"淺灰","options":["淺灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999714,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654276","featured_media":{"alt":null,"id":24646795329635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc388d08c12d7a0f03781d262bfab8c4e64af71d_5f98f954-4939-4734-8207-396f1bfd7b60.webp?v=1725862410"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42617181831267,"title":"泥灰","option1":"泥灰","option2":null,"option3":null,"sku":"NPB0132669","requires_shipping":true,"taxable":true,"featured_image":{"id":32394362552419,"product_id":7595283710051,"position":1,"created_at":"2024-09-09T14:13:25+08:00","updated_at":"2024-09-09T14:13:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5fc70f10db2831d4c8ca3cf3d18b10e761d18e5_1b06fed6-39a2-457d-9ce7-39de6f1ffa5b.webp?v=1725862405","variant_ids":[42617181831267]},"available":true,"name":"iPhone 16 Plus Mod NX - 泥灰","public_title":"泥灰","options":["泥灰"],"price":80000,"weight":800,"compare_at_price":null,"inventory_quantity":999999751,"inventory_management":null,"inventory_policy":"deny","barcode":"4711502654269","featured_media":{"alt":null,"id":24646794444899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5fc70f10db2831d4c8ca3cf3d18b10e761d18e5_1b06fed6-39a2-457d-9ce7-39de6f1ffa5b.webp?v=1725862405"}},"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: "停產" }