$product = {"id":8091452997731,"title":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy","handle":"iphone-17-pro-solidx-kk22","description":null,"published_at":"2026-08-06T16:45:34+08:00","created_at":"2026-07-30T11:39:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-thelittlek9s","device-iPhone 17 Pro","merge","reseller-thelittlek9s"],"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":44422925877347,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434756632675,"product_id":8091452997731,"position":10,"created_at":"2026-07-30T11:40:24+08:00","updated_at":"2026-07-30T11:40:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6709326e49d11240d423f0f04d91b32d0ef749ae.webp?v=1785382826","variant_ids":[44422925877347]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938232467555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6709326e49d11240d423f0f04d91b32d0ef749ae.webp?v=1785382826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422941278307,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434755387491,"product_id":8091452997731,"position":7,"created_at":"2026-07-30T11:40:22+08:00","updated_at":"2026-07-30T11:40:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edde91fae9240f164460a5b752d1cc2575a3e87.webp?v=1785382824","variant_ids":[44422941278307]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938231222371,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edde91fae9240f164460a5b752d1cc2575a3e87.webp?v=1785382824"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422941474915,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434755059811,"product_id":8091452997731,"position":6,"created_at":"2026-07-30T11:40:21+08:00","updated_at":"2026-07-30T11:40:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52ecdfadfcf823f2eb1714a6987a39cadbb467b.webp?v=1785382823","variant_ids":[44422941474915]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938230894691,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52ecdfadfcf823f2eb1714a6987a39cadbb467b.webp?v=1785382823"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422941737059,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434757648483,"product_id":8091452997731,"position":13,"created_at":"2026-07-30T11:40:26+08:00","updated_at":"2026-07-30T11:40:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ec5e00b96798c0762c5590755093c02e9e214b.webp?v=1785382828","variant_ids":[44422941737059]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938233483363,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ec5e00b96798c0762c5590755093c02e9e214b.webp?v=1785382828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422941933667,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434753650787,"product_id":8091452997731,"position":1,"created_at":"2026-07-30T11:40:18+08:00","updated_at":"2026-07-30T11:40:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26c43b2babc4dca58fee01c5bc2903e5342176b.webp?v=1785382820","variant_ids":[44422941933667]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938229485667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26c43b2babc4dca58fee01c5bc2903e5342176b.webp?v=1785382820"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422942195811,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434754175075,"product_id":8091452997731,"position":3,"created_at":"2026-07-30T11:40:19+08:00","updated_at":"2026-07-30T11:40:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c23e5b9ac3040cd7ed648e538b691b61e4728e13.webp?v=1785382821","variant_ids":[44422942195811]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938230009955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c23e5b9ac3040cd7ed648e538b691b61e4728e13.webp?v=1785382821"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422942556259,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434754666595,"product_id":8091452997731,"position":5,"created_at":"2026-07-30T11:40:20+08:00","updated_at":"2026-07-30T11:40:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07478fe8bd26b3edf45d4697d537f05997e182a0.webp?v=1785382822","variant_ids":[44422942556259]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938230501475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07478fe8bd26b3edf45d4697d537f05997e182a0.webp?v=1785382822"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422943047779,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434756894819,"product_id":8091452997731,"position":11,"created_at":"2026-07-30T11:40:24+08:00","updated_at":"2026-07-30T11:40:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb7b93804037c9256098b4c2dea1050c2c0f5306.webp?v=1785382826","variant_ids":[44422943047779]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938232729699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb7b93804037c9256098b4c2dea1050c2c0f5306.webp?v=1785382826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422943440995,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434757288035,"product_id":8091452997731,"position":12,"created_at":"2026-07-30T11:40:25+08:00","updated_at":"2026-07-30T11:40:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/732520ab20cfc67254afe2a0de40be8344f81b35.webp?v=1785382827","variant_ids":[44422943440995]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938233122915,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/732520ab20cfc67254afe2a0de40be8344f81b35.webp?v=1785382827"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422943801443,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434755780707,"product_id":8091452997731,"position":8,"created_at":"2026-07-30T11:40:23+08:00","updated_at":"2026-07-30T11:40:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f16b87d475e3ccc63d93c1c9f3a26fc8fb9148fc.webp?v=1785382824","variant_ids":[44422943801443]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938231582819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f16b87d475e3ccc63d93c1c9f3a26fc8fb9148fc.webp?v=1785382824"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422944161891,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434753945699,"product_id":8091452997731,"position":2,"created_at":"2026-07-30T11:40:18+08:00","updated_at":"2026-07-30T11:40:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d592659c6af6a9ca602eb4dac41161ee253b3e.webp?v=1785382820","variant_ids":[44422944161891]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938229780579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d592659c6af6a9ca602eb4dac41161ee253b3e.webp?v=1785382820"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422944489571,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434754404451,"product_id":8091452997731,"position":4,"created_at":"2026-07-30T11:40:20+08:00","updated_at":"2026-07-30T11:40:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894d073f856e85fd11fa1540d2f5db8dd9a5c416.webp?v=1785382822","variant_ids":[44422944489571]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938230239331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894d073f856e85fd11fa1540d2f5db8dd9a5c416.webp?v=1785382822"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422944882787,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434756108387,"product_id":8091452997731,"position":9,"created_at":"2026-07-30T11:40:23+08:00","updated_at":"2026-07-30T11:40:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f518f87d95709b586266d8fc10217442e2bddc1.webp?v=1785382825","variant_ids":[44422944882787]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938231943267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f518f87d95709b586266d8fc10217442e2bddc1.webp?v=1785382825"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26c43b2babc4dca58fee01c5bc2903e5342176b.webp?v=1785382820","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d592659c6af6a9ca602eb4dac41161ee253b3e.webp?v=1785382820","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c23e5b9ac3040cd7ed648e538b691b61e4728e13.webp?v=1785382821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894d073f856e85fd11fa1540d2f5db8dd9a5c416.webp?v=1785382822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07478fe8bd26b3edf45d4697d537f05997e182a0.webp?v=1785382822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52ecdfadfcf823f2eb1714a6987a39cadbb467b.webp?v=1785382823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edde91fae9240f164460a5b752d1cc2575a3e87.webp?v=1785382824","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f16b87d475e3ccc63d93c1c9f3a26fc8fb9148fc.webp?v=1785382824","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f518f87d95709b586266d8fc10217442e2bddc1.webp?v=1785382825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6709326e49d11240d423f0f04d91b32d0ef749ae.webp?v=1785382826","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb7b93804037c9256098b4c2dea1050c2c0f5306.webp?v=1785382826","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/732520ab20cfc67254afe2a0de40be8344f81b35.webp?v=1785382827","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ec5e00b96798c0762c5590755093c02e9e214b.webp?v=1785382828"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26c43b2babc4dca58fee01c5bc2903e5342176b.webp?v=1785382820","options":["color"],"media":[{"alt":null,"id":27938229485667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26c43b2babc4dca58fee01c5bc2903e5342176b.webp?v=1785382820"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26c43b2babc4dca58fee01c5bc2903e5342176b.webp?v=1785382820","width":2000},{"alt":null,"id":27938229780579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d592659c6af6a9ca602eb4dac41161ee253b3e.webp?v=1785382820"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d592659c6af6a9ca602eb4dac41161ee253b3e.webp?v=1785382820","width":2000},{"alt":null,"id":27938230009955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c23e5b9ac3040cd7ed648e538b691b61e4728e13.webp?v=1785382821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c23e5b9ac3040cd7ed648e538b691b61e4728e13.webp?v=1785382821","width":2000},{"alt":null,"id":27938230239331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894d073f856e85fd11fa1540d2f5db8dd9a5c416.webp?v=1785382822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894d073f856e85fd11fa1540d2f5db8dd9a5c416.webp?v=1785382822","width":2000},{"alt":null,"id":27938230501475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07478fe8bd26b3edf45d4697d537f05997e182a0.webp?v=1785382822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07478fe8bd26b3edf45d4697d537f05997e182a0.webp?v=1785382822","width":2000},{"alt":null,"id":27938230894691,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52ecdfadfcf823f2eb1714a6987a39cadbb467b.webp?v=1785382823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52ecdfadfcf823f2eb1714a6987a39cadbb467b.webp?v=1785382823","width":2000},{"alt":null,"id":27938231222371,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edde91fae9240f164460a5b752d1cc2575a3e87.webp?v=1785382824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edde91fae9240f164460a5b752d1cc2575a3e87.webp?v=1785382824","width":2000},{"alt":null,"id":27938231582819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f16b87d475e3ccc63d93c1c9f3a26fc8fb9148fc.webp?v=1785382824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f16b87d475e3ccc63d93c1c9f3a26fc8fb9148fc.webp?v=1785382824","width":2000},{"alt":null,"id":27938231943267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f518f87d95709b586266d8fc10217442e2bddc1.webp?v=1785382825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f518f87d95709b586266d8fc10217442e2bddc1.webp?v=1785382825","width":2000},{"alt":null,"id":27938232467555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6709326e49d11240d423f0f04d91b32d0ef749ae.webp?v=1785382826"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6709326e49d11240d423f0f04d91b32d0ef749ae.webp?v=1785382826","width":2000},{"alt":null,"id":27938232729699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb7b93804037c9256098b4c2dea1050c2c0f5306.webp?v=1785382826"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb7b93804037c9256098b4c2dea1050c2c0f5306.webp?v=1785382826","width":2000},{"alt":null,"id":27938233122915,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/732520ab20cfc67254afe2a0de40be8344f81b35.webp?v=1785382827"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/732520ab20cfc67254afe2a0de40be8344f81b35.webp?v=1785382827","width":2000},{"alt":null,"id":27938233483363,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ec5e00b96798c0762c5590755093c02e9e214b.webp?v=1785382828"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ec5e00b96798c0762c5590755093c02e9e214b.webp?v=1785382828","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44422925877347,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434756632675,"product_id":8091452997731,"position":10,"created_at":"2026-07-30T11:40:24+08:00","updated_at":"2026-07-30T11:40:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6709326e49d11240d423f0f04d91b32d0ef749ae.webp?v=1785382826","variant_ids":[44422925877347]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938232467555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6709326e49d11240d423f0f04d91b32d0ef749ae.webp?v=1785382826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422941278307,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434755387491,"product_id":8091452997731,"position":7,"created_at":"2026-07-30T11:40:22+08:00","updated_at":"2026-07-30T11:40:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edde91fae9240f164460a5b752d1cc2575a3e87.webp?v=1785382824","variant_ids":[44422941278307]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938231222371,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2edde91fae9240f164460a5b752d1cc2575a3e87.webp?v=1785382824"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422941474915,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434755059811,"product_id":8091452997731,"position":6,"created_at":"2026-07-30T11:40:21+08:00","updated_at":"2026-07-30T11:40:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52ecdfadfcf823f2eb1714a6987a39cadbb467b.webp?v=1785382823","variant_ids":[44422941474915]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938230894691,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f52ecdfadfcf823f2eb1714a6987a39cadbb467b.webp?v=1785382823"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422941737059,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434757648483,"product_id":8091452997731,"position":13,"created_at":"2026-07-30T11:40:26+08:00","updated_at":"2026-07-30T11:40:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ec5e00b96798c0762c5590755093c02e9e214b.webp?v=1785382828","variant_ids":[44422941737059]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938233483363,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ec5e00b96798c0762c5590755093c02e9e214b.webp?v=1785382828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422941933667,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434753650787,"product_id":8091452997731,"position":1,"created_at":"2026-07-30T11:40:18+08:00","updated_at":"2026-07-30T11:40:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26c43b2babc4dca58fee01c5bc2903e5342176b.webp?v=1785382820","variant_ids":[44422941933667]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938229485667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26c43b2babc4dca58fee01c5bc2903e5342176b.webp?v=1785382820"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422942195811,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434754175075,"product_id":8091452997731,"position":3,"created_at":"2026-07-30T11:40:19+08:00","updated_at":"2026-07-30T11:40:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c23e5b9ac3040cd7ed648e538b691b61e4728e13.webp?v=1785382821","variant_ids":[44422942195811]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938230009955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c23e5b9ac3040cd7ed648e538b691b61e4728e13.webp?v=1785382821"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422942556259,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434754666595,"product_id":8091452997731,"position":5,"created_at":"2026-07-30T11:40:20+08:00","updated_at":"2026-07-30T11:40:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07478fe8bd26b3edf45d4697d537f05997e182a0.webp?v=1785382822","variant_ids":[44422942556259]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938230501475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07478fe8bd26b3edf45d4697d537f05997e182a0.webp?v=1785382822"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422943047779,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434756894819,"product_id":8091452997731,"position":11,"created_at":"2026-07-30T11:40:24+08:00","updated_at":"2026-07-30T11:40:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb7b93804037c9256098b4c2dea1050c2c0f5306.webp?v=1785382826","variant_ids":[44422943047779]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938232729699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb7b93804037c9256098b4c2dea1050c2c0f5306.webp?v=1785382826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422943440995,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434757288035,"product_id":8091452997731,"position":12,"created_at":"2026-07-30T11:40:25+08:00","updated_at":"2026-07-30T11:40:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/732520ab20cfc67254afe2a0de40be8344f81b35.webp?v=1785382827","variant_ids":[44422943440995]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938233122915,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/732520ab20cfc67254afe2a0de40be8344f81b35.webp?v=1785382827"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422943801443,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434755780707,"product_id":8091452997731,"position":8,"created_at":"2026-07-30T11:40:23+08:00","updated_at":"2026-07-30T11:40:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f16b87d475e3ccc63d93c1c9f3a26fc8fb9148fc.webp?v=1785382824","variant_ids":[44422943801443]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938231582819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f16b87d475e3ccc63d93c1c9f3a26fc8fb9148fc.webp?v=1785382824"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422944161891,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434753945699,"product_id":8091452997731,"position":2,"created_at":"2026-07-30T11:40:18+08:00","updated_at":"2026-07-30T11:40:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d592659c6af6a9ca602eb4dac41161ee253b3e.webp?v=1785382820","variant_ids":[44422944161891]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938229780579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d592659c6af6a9ca602eb4dac41161ee253b3e.webp?v=1785382820"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422944489571,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434754404451,"product_id":8091452997731,"position":4,"created_at":"2026-07-30T11:40:20+08:00","updated_at":"2026-07-30T11:40:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894d073f856e85fd11fa1540d2f5db8dd9a5c416.webp?v=1785382822","variant_ids":[44422944489571]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938230239331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894d073f856e85fd11fa1540d2f5db8dd9a5c416.webp?v=1785382822"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422944882787,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434756108387,"product_id":8091452997731,"position":9,"created_at":"2026-07-30T11:40:23+08:00","updated_at":"2026-07-30T11:40:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f518f87d95709b586266d8fc10217442e2bddc1.webp?v=1785382825","variant_ids":[44422944882787]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938231943267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f518f87d95709b586266d8fc10217442e2bddc1.webp?v=1785382825"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44422925877347,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-KK22","requires_shipping":true,"taxable":true,"featured_image":{"id":36434756632675,"product_id":8091452997731,"position":10,"created_at":"2026-07-30T11:40:24+08:00","updated_at":"2026-07-30T11:40:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6709326e49d11240d423f0f04d91b32d0ef749ae.webp?v=1785382826","variant_ids":[44422925877347]},"available":true,"name":"iPhone 17 Pro SolidX 小犬工作室 Boys Matchy-Matchy - 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-KK22","featured_media":{"alt":null,"id":27938232467555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6709326e49d11240d423f0f04d91b32d0ef749ae.webp?v=1785382826"}},"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: "停產" }