$product = {"id":7868347711587,"title":"iPhone 17 Pro SolidX NBA Hardwood classics Logos","handle":"iphone-17-pro-solidx-pm136","description":null,"published_at":"2025-09-10T01:41:29+08:00","created_at":"2025-08-26T16:19:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nba","device-iPhone 17 Pro","merge","reseller-nba"],"price":125000,"price_min":125000,"price_max":125000,"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":43634534187107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066119647331,"product_id":7868347711587,"position":3,"created_at":"2026-06-23T19:33:24+08:00","updated_at":"2026-06-23T19:33:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50f34f34e93e92b4a2b2e6e96b7ddeedf4946a03.webp?v=1782214406","variant_ids":[43634534187107]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135252-PM136","featured_media":{"alt":null,"id":27578961133667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50f34f34e93e92b4a2b2e6e96b7ddeedf4946a03.webp?v=1782214406"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634535858275,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066180169827,"product_id":7868347711587,"position":14,"created_at":"2026-06-23T19:33:32+08:00","updated_at":"2026-06-23T19:33:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68f904ddc5bc74569bdccb09ce1c26f4e1f3d10.webp?v=1782214414","variant_ids":[43634535858275]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01352O8-PM136","featured_media":{"alt":null,"id":27579024801891,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68f904ddc5bc74569bdccb09ce1c26f4e1f3d10.webp?v=1782214414"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634535891043,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066172698723,"product_id":7868347711587,"position":13,"created_at":"2026-06-23T19:33:31+08:00","updated_at":"2026-06-23T19:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6dcfedc4dfc764d34a06b47358caf8ee3faf1ea.webp?v=1782214413","variant_ids":[43634535891043]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520B-PM136","featured_media":{"alt":null,"id":27579017330787,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6dcfedc4dfc764d34a06b47358caf8ee3faf1ea.webp?v=1782214413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634535923811,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066160246883,"product_id":7868347711587,"position":11,"created_at":"2026-06-23T19:33:30+08:00","updated_at":"2026-06-23T19:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47ac8a4ebec3892b498dc82857b13276ed25b23b.webp?v=1782214413","variant_ids":[43634535923811]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524I-PM136","featured_media":{"alt":null,"id":27579005337699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47ac8a4ebec3892b498dc82857b13276ed25b23b.webp?v=1782214413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634535956579,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066126725219,"product_id":7868347711587,"position":6,"created_at":"2026-06-23T19:33:26+08:00","updated_at":"2026-06-23T19:33:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0639be1da65417246144497e508877fa0c104718.webp?v=1782214408","variant_ids":[43634535956579]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524H-PM136","featured_media":{"alt":null,"id":27578970472547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0639be1da65417246144497e508877fa0c104718.webp?v=1782214408"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634535989347,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066120433763,"product_id":7868347711587,"position":5,"created_at":"2026-06-23T19:33:25+08:00","updated_at":"2026-06-23T19:33:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1047437d106373d0e3fddf9d5997683e5d5e13b3.webp?v=1782214407","variant_ids":[43634535989347]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135253-PM136","featured_media":{"alt":null,"id":27578965753955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1047437d106373d0e3fddf9d5997683e5d5e13b3.webp?v=1782214407"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798279454819,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066120269923,"product_id":7868347711587,"position":4,"created_at":"2026-06-23T19:33:24+08:00","updated_at":"2026-06-23T19:33:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac59f7fe307dc7b9c663bb223fa934adc1a078fa.webp?v=1782214407","variant_ids":[43798279454819]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013523O-PM136","featured_media":{"alt":null,"id":27578965590115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac59f7fe307dc7b9c663bb223fa934adc1a078fa.webp?v=1782214407"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798279487587,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066112766051,"product_id":7868347711587,"position":2,"created_at":"2026-06-23T19:33:23+08:00","updated_at":"2026-06-23T19:33:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a423ba8d0fec8fbc4350f8517bf360161a4fd8d3.webp?v=1782214405","variant_ids":[43798279487587]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520F-PM136","featured_media":{"alt":null,"id":27578958086243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a423ba8d0fec8fbc4350f8517bf360161a4fd8d3.webp?v=1782214405"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200482996323,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066129805411,"product_id":7868347711587,"position":7,"created_at":"2026-06-23T19:33:26+08:00","updated_at":"2026-06-23T19:33:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb97ffac7468ea26378777b789d1b02631f56d.webp?v=1782214409","variant_ids":[44200482996323]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013526A-PM136","featured_media":{"alt":null,"id":27578975191139,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb97ffac7468ea26378777b789d1b02631f56d.webp?v=1782214409"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200483684451,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066151530595,"product_id":7868347711587,"position":10,"created_at":"2026-06-23T19:33:29+08:00","updated_at":"2026-06-23T19:33:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0421c1a2de2e43df758a7a97061f849fe07ab5b2.webp?v=1782214411","variant_ids":[44200483684451]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525X-PM136","featured_media":{"alt":null,"id":27578996555875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0421c1a2de2e43df758a7a97061f849fe07ab5b2.webp?v=1782214411"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200484470883,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066142945379,"product_id":7868347711587,"position":9,"created_at":"2026-06-23T19:33:28+08:00","updated_at":"2026-06-23T19:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc3bfe4d68303b72ec099cce0d78e65acb070703.webp?v=1782214410","variant_ids":[44200484470883]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Y-PM136","featured_media":{"alt":null,"id":27578987708515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc3bfe4d68303b72ec099cce0d78e65acb070703.webp?v=1782214410"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200485388387,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066137604195,"product_id":7868347711587,"position":8,"created_at":"2026-06-23T19:33:27+08:00","updated_at":"2026-06-23T19:33:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f897efec49e8ddb8d15787743ffc4f85212f9bf6.webp?v=1782214409","variant_ids":[44200485388387]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Z-PM136","featured_media":{"alt":null,"id":27578982105187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f897efec49e8ddb8d15787743ffc4f85212f9bf6.webp?v=1782214409"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264274395235,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066166046819,"product_id":7868347711587,"position":12,"created_at":"2026-06-23T19:33:31+08:00","updated_at":"2026-06-23T19:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea7748d67dc792d2d5042bb8e75aac3f7bc480ca.webp?v=1782214413","variant_ids":[44264274395235]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525H-PM136","featured_media":{"alt":null,"id":27579010023523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea7748d67dc792d2d5042bb8e75aac3f7bc480ca.webp?v=1782214413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PM136.png?v=1756196352","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a423ba8d0fec8fbc4350f8517bf360161a4fd8d3.webp?v=1782214405","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50f34f34e93e92b4a2b2e6e96b7ddeedf4946a03.webp?v=1782214406","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac59f7fe307dc7b9c663bb223fa934adc1a078fa.webp?v=1782214407","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1047437d106373d0e3fddf9d5997683e5d5e13b3.webp?v=1782214407","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0639be1da65417246144497e508877fa0c104718.webp?v=1782214408","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb97ffac7468ea26378777b789d1b02631f56d.webp?v=1782214409","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f897efec49e8ddb8d15787743ffc4f85212f9bf6.webp?v=1782214409","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc3bfe4d68303b72ec099cce0d78e65acb070703.webp?v=1782214410","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0421c1a2de2e43df758a7a97061f849fe07ab5b2.webp?v=1782214411","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47ac8a4ebec3892b498dc82857b13276ed25b23b.webp?v=1782214413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea7748d67dc792d2d5042bb8e75aac3f7bc480ca.webp?v=1782214413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6dcfedc4dfc764d34a06b47358caf8ee3faf1ea.webp?v=1782214413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68f904ddc5bc74569bdccb09ce1c26f4e1f3d10.webp?v=1782214414"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PM136.png?v=1756196352","options":["color"],"media":[{"alt":null,"id":25961147170915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PM136.png?v=1756196352"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PM136.png?v=1756196352","width":2000},{"alt":null,"id":27578958086243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a423ba8d0fec8fbc4350f8517bf360161a4fd8d3.webp?v=1782214405"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a423ba8d0fec8fbc4350f8517bf360161a4fd8d3.webp?v=1782214405","width":2000},{"alt":null,"id":27578961133667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50f34f34e93e92b4a2b2e6e96b7ddeedf4946a03.webp?v=1782214406"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50f34f34e93e92b4a2b2e6e96b7ddeedf4946a03.webp?v=1782214406","width":2000},{"alt":null,"id":27578965590115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac59f7fe307dc7b9c663bb223fa934adc1a078fa.webp?v=1782214407"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac59f7fe307dc7b9c663bb223fa934adc1a078fa.webp?v=1782214407","width":2000},{"alt":null,"id":27578965753955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1047437d106373d0e3fddf9d5997683e5d5e13b3.webp?v=1782214407"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1047437d106373d0e3fddf9d5997683e5d5e13b3.webp?v=1782214407","width":2000},{"alt":null,"id":27578970472547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0639be1da65417246144497e508877fa0c104718.webp?v=1782214408"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0639be1da65417246144497e508877fa0c104718.webp?v=1782214408","width":2000},{"alt":null,"id":27578975191139,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb97ffac7468ea26378777b789d1b02631f56d.webp?v=1782214409"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb97ffac7468ea26378777b789d1b02631f56d.webp?v=1782214409","width":2000},{"alt":null,"id":27578982105187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f897efec49e8ddb8d15787743ffc4f85212f9bf6.webp?v=1782214409"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f897efec49e8ddb8d15787743ffc4f85212f9bf6.webp?v=1782214409","width":2000},{"alt":null,"id":27578987708515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc3bfe4d68303b72ec099cce0d78e65acb070703.webp?v=1782214410"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc3bfe4d68303b72ec099cce0d78e65acb070703.webp?v=1782214410","width":2000},{"alt":null,"id":27578996555875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0421c1a2de2e43df758a7a97061f849fe07ab5b2.webp?v=1782214411"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0421c1a2de2e43df758a7a97061f849fe07ab5b2.webp?v=1782214411","width":2000},{"alt":null,"id":27579005337699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47ac8a4ebec3892b498dc82857b13276ed25b23b.webp?v=1782214413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47ac8a4ebec3892b498dc82857b13276ed25b23b.webp?v=1782214413","width":2000},{"alt":null,"id":27579010023523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea7748d67dc792d2d5042bb8e75aac3f7bc480ca.webp?v=1782214413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea7748d67dc792d2d5042bb8e75aac3f7bc480ca.webp?v=1782214413","width":2000},{"alt":null,"id":27579017330787,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6dcfedc4dfc764d34a06b47358caf8ee3faf1ea.webp?v=1782214413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6dcfedc4dfc764d34a06b47358caf8ee3faf1ea.webp?v=1782214413","width":2000},{"alt":null,"id":27579024801891,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68f904ddc5bc74569bdccb09ce1c26f4e1f3d10.webp?v=1782214414"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68f904ddc5bc74569bdccb09ce1c26f4e1f3d10.webp?v=1782214414","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43634534187107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066119647331,"product_id":7868347711587,"position":3,"created_at":"2026-06-23T19:33:24+08:00","updated_at":"2026-06-23T19:33:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50f34f34e93e92b4a2b2e6e96b7ddeedf4946a03.webp?v=1782214406","variant_ids":[43634534187107]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135252-PM136","featured_media":{"alt":null,"id":27578961133667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50f34f34e93e92b4a2b2e6e96b7ddeedf4946a03.webp?v=1782214406"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634535858275,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066180169827,"product_id":7868347711587,"position":14,"created_at":"2026-06-23T19:33:32+08:00","updated_at":"2026-06-23T19:33:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68f904ddc5bc74569bdccb09ce1c26f4e1f3d10.webp?v=1782214414","variant_ids":[43634535858275]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01352O8-PM136","featured_media":{"alt":null,"id":27579024801891,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68f904ddc5bc74569bdccb09ce1c26f4e1f3d10.webp?v=1782214414"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634535891043,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066172698723,"product_id":7868347711587,"position":13,"created_at":"2026-06-23T19:33:31+08:00","updated_at":"2026-06-23T19:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6dcfedc4dfc764d34a06b47358caf8ee3faf1ea.webp?v=1782214413","variant_ids":[43634535891043]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520B-PM136","featured_media":{"alt":null,"id":27579017330787,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6dcfedc4dfc764d34a06b47358caf8ee3faf1ea.webp?v=1782214413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634535923811,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066160246883,"product_id":7868347711587,"position":11,"created_at":"2026-06-23T19:33:30+08:00","updated_at":"2026-06-23T19:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47ac8a4ebec3892b498dc82857b13276ed25b23b.webp?v=1782214413","variant_ids":[43634535923811]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524I-PM136","featured_media":{"alt":null,"id":27579005337699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47ac8a4ebec3892b498dc82857b13276ed25b23b.webp?v=1782214413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634535956579,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066126725219,"product_id":7868347711587,"position":6,"created_at":"2026-06-23T19:33:26+08:00","updated_at":"2026-06-23T19:33:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0639be1da65417246144497e508877fa0c104718.webp?v=1782214408","variant_ids":[43634535956579]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013524H-PM136","featured_media":{"alt":null,"id":27578970472547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0639be1da65417246144497e508877fa0c104718.webp?v=1782214408"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634535989347,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066120433763,"product_id":7868347711587,"position":5,"created_at":"2026-06-23T19:33:25+08:00","updated_at":"2026-06-23T19:33:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1047437d106373d0e3fddf9d5997683e5d5e13b3.webp?v=1782214407","variant_ids":[43634535989347]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135253-PM136","featured_media":{"alt":null,"id":27578965753955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1047437d106373d0e3fddf9d5997683e5d5e13b3.webp?v=1782214407"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798279454819,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066120269923,"product_id":7868347711587,"position":4,"created_at":"2026-06-23T19:33:24+08:00","updated_at":"2026-06-23T19:33:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac59f7fe307dc7b9c663bb223fa934adc1a078fa.webp?v=1782214407","variant_ids":[43798279454819]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013523O-PM136","featured_media":{"alt":null,"id":27578965590115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac59f7fe307dc7b9c663bb223fa934adc1a078fa.webp?v=1782214407"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798279487587,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066112766051,"product_id":7868347711587,"position":2,"created_at":"2026-06-23T19:33:23+08:00","updated_at":"2026-06-23T19:33:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a423ba8d0fec8fbc4350f8517bf360161a4fd8d3.webp?v=1782214405","variant_ids":[43798279487587]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013520F-PM136","featured_media":{"alt":null,"id":27578958086243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a423ba8d0fec8fbc4350f8517bf360161a4fd8d3.webp?v=1782214405"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200482996323,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066129805411,"product_id":7868347711587,"position":7,"created_at":"2026-06-23T19:33:26+08:00","updated_at":"2026-06-23T19:33:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb97ffac7468ea26378777b789d1b02631f56d.webp?v=1782214409","variant_ids":[44200482996323]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013526A-PM136","featured_media":{"alt":null,"id":27578975191139,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb97ffac7468ea26378777b789d1b02631f56d.webp?v=1782214409"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200483684451,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066151530595,"product_id":7868347711587,"position":10,"created_at":"2026-06-23T19:33:29+08:00","updated_at":"2026-06-23T19:33:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0421c1a2de2e43df758a7a97061f849fe07ab5b2.webp?v=1782214411","variant_ids":[44200483684451]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525X-PM136","featured_media":{"alt":null,"id":27578996555875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0421c1a2de2e43df758a7a97061f849fe07ab5b2.webp?v=1782214411"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200484470883,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066142945379,"product_id":7868347711587,"position":9,"created_at":"2026-06-23T19:33:28+08:00","updated_at":"2026-06-23T19:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc3bfe4d68303b72ec099cce0d78e65acb070703.webp?v=1782214410","variant_ids":[44200484470883]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Y-PM136","featured_media":{"alt":null,"id":27578987708515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc3bfe4d68303b72ec099cce0d78e65acb070703.webp?v=1782214410"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200485388387,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066137604195,"product_id":7868347711587,"position":8,"created_at":"2026-06-23T19:33:27+08:00","updated_at":"2026-06-23T19:33:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f897efec49e8ddb8d15787743ffc4f85212f9bf6.webp?v=1782214409","variant_ids":[44200485388387]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525Z-PM136","featured_media":{"alt":null,"id":27578982105187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f897efec49e8ddb8d15787743ffc4f85212f9bf6.webp?v=1782214409"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264274395235,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066166046819,"product_id":7868347711587,"position":12,"created_at":"2026-06-23T19:33:31+08:00","updated_at":"2026-06-23T19:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea7748d67dc792d2d5042bb8e75aac3f7bc480ca.webp?v=1782214413","variant_ids":[44264274395235]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013525H-PM136","featured_media":{"alt":null,"id":27579010023523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea7748d67dc792d2d5042bb8e75aac3f7bc480ca.webp?v=1782214413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43634534187107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-PM136","requires_shipping":true,"taxable":true,"featured_image":{"id":36066119647331,"product_id":7868347711587,"position":3,"created_at":"2026-06-23T19:33:24+08:00","updated_at":"2026-06-23T19:33:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50f34f34e93e92b4a2b2e6e96b7ddeedf4946a03.webp?v=1782214406","variant_ids":[43634534187107]},"available":true,"name":"iPhone 17 Pro SolidX NBA Hardwood classics Logos - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135252-PM136","featured_media":{"alt":null,"id":27578961133667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50f34f34e93e92b4a2b2e6e96b7ddeedf4946a03.webp?v=1782214406"}},"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: "停產"
}