$product = {"id":8091454308451,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive","handle":"iphone-17-pro-solidx-magsafe-kk26","description":null,"published_at":"2026-08-06T16:45:27+08:00","created_at":"2026-07-30T11:39:51+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":145000,"price_min":145000,"price_max":145000,"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":44422930661475,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434762760291,"product_id":8091454308451,"position":5,"created_at":"2026-07-30T11:40:49+08:00","updated_at":"2026-07-30T11:40:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b6d8225d3703bb8e202b4cc943c7a5365560305.webp?v=1785382851","variant_ids":[44422930661475]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-KK26","featured_media":{"alt":null,"id":27938238595171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b6d8225d3703bb8e202b4cc943c7a5365560305.webp?v=1785382851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422947995747,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434764267619,"product_id":8091454308451,"position":8,"created_at":"2026-07-30T11:40:52+08:00","updated_at":"2026-07-30T11:40:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f8a4b9ffe8d053b980d5c083e1a2feff1d52699.webp?v=1785382854","variant_ids":[44422947995747]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-KK26","featured_media":{"alt":null,"id":27938240233571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f8a4b9ffe8d053b980d5c083e1a2feff1d52699.webp?v=1785382854"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422948323427,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434766626915,"product_id":8091454308451,"position":12,"created_at":"2026-07-30T11:40:56+08:00","updated_at":"2026-07-30T11:40:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47be1005113a1af774f340fba54e94b7b30941fa.webp?v=1785382858","variant_ids":[44422948323427]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-KK26","featured_media":{"alt":null,"id":27938242494563,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47be1005113a1af774f340fba54e94b7b30941fa.webp?v=1785382858"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422948651107,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434763186275,"product_id":8091454308451,"position":6,"created_at":"2026-07-30T11:40:50+08:00","updated_at":"2026-07-30T11:40:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e83db2e3d187a5cf69c8010108ae6d74ba8ff96.webp?v=1785382852","variant_ids":[44422948651107]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-KK26","featured_media":{"alt":null,"id":27938239021155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e83db2e3d187a5cf69c8010108ae6d74ba8ff96.webp?v=1785382852"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422949011555,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434764791907,"product_id":8091454308451,"position":9,"created_at":"2026-07-30T11:40:53+08:00","updated_at":"2026-07-30T11:40:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882bc487b41b1d77055c5a67b291bfa1a22a0466.webp?v=1785382856","variant_ids":[44422949011555]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-KK26","featured_media":{"alt":null,"id":27938240626787,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882bc487b41b1d77055c5a67b291bfa1a22a0466.webp?v=1785382856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422949666915,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434761416803,"product_id":8091454308451,"position":1,"created_at":"2026-07-30T11:40:47+08:00","updated_at":"2026-07-30T11:40:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fdcf63d92b5e12043190993761d2a0ba7d78055.webp?v=1785382849","variant_ids":[44422949666915]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-KK26","featured_media":{"alt":null,"id":27938237251683,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fdcf63d92b5e12043190993761d2a0ba7d78055.webp?v=1785382849"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422950092899,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434767249507,"product_id":8091454308451,"position":13,"created_at":"2026-07-30T11:40:58+08:00","updated_at":"2026-07-30T11:41:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6f96f310b7ea53225ad3bf86c7af39712b474fc.webp?v=1785382860","variant_ids":[44422950092899]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-KK26","featured_media":{"alt":null,"id":27938243084387,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6f96f310b7ea53225ad3bf86c7af39712b474fc.webp?v=1785382860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422950387811,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434762563683,"product_id":8091454308451,"position":4,"created_at":"2026-07-30T11:40:49+08:00","updated_at":"2026-07-30T11:40:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1206d65541c569c34909e7c630e32093c74509d.webp?v=1785382851","variant_ids":[44422950387811]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-KK26","featured_media":{"alt":null,"id":27938238365795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1206d65541c569c34909e7c630e32093c74509d.webp?v=1785382851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422951141475,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434762203235,"product_id":8091454308451,"position":3,"created_at":"2026-07-30T11:40:48+08:00","updated_at":"2026-07-30T11:40:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4419b0991b7ff0fb44200d0082964eb01295c434.webp?v=1785382850","variant_ids":[44422951141475]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-KK26","featured_media":{"alt":null,"id":27938238038115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4419b0991b7ff0fb44200d0082964eb01295c434.webp?v=1785382850"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422951370851,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434766135395,"product_id":8091454308451,"position":11,"created_at":"2026-07-30T11:40:55+08:00","updated_at":"2026-07-30T11:40:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da880081b89c09097386a6fa07ce868ef6e8bfe.webp?v=1785382857","variant_ids":[44422951370851]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-KK26","featured_media":{"alt":null,"id":27938241970275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da880081b89c09097386a6fa07ce868ef6e8bfe.webp?v=1785382857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952190051,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434761875555,"product_id":8091454308451,"position":2,"created_at":"2026-07-30T11:40:47+08:00","updated_at":"2026-07-30T11:40:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d4d4cde23494a49887954a3677a4d28bbb50ec.webp?v=1785382849","variant_ids":[44422952190051]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-KK26","featured_media":{"alt":null,"id":27938237677667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d4d4cde23494a49887954a3677a4d28bbb50ec.webp?v=1785382849"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952878179,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434763415651,"product_id":8091454308451,"position":7,"created_at":"2026-07-30T11:40:51+08:00","updated_at":"2026-07-30T11:40:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a350c5f9e978cd17f658b2a2dda8ea2203906d.webp?v=1785382853","variant_ids":[44422952878179]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-KK26","featured_media":{"alt":null,"id":27938239217763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a350c5f9e978cd17f658b2a2dda8ea2203906d.webp?v=1785382853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952976483,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434765709411,"product_id":8091454308451,"position":10,"created_at":"2026-07-30T11:40:55+08:00","updated_at":"2026-07-30T11:40:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00ca1f0bc32110edba31cae1ba8008603b1e5aa5.webp?v=1785382857","variant_ids":[44422952976483]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-KK26","featured_media":{"alt":null,"id":27938241478755,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00ca1f0bc32110edba31cae1ba8008603b1e5aa5.webp?v=1785382857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fdcf63d92b5e12043190993761d2a0ba7d78055.webp?v=1785382849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d4d4cde23494a49887954a3677a4d28bbb50ec.webp?v=1785382849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4419b0991b7ff0fb44200d0082964eb01295c434.webp?v=1785382850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1206d65541c569c34909e7c630e32093c74509d.webp?v=1785382851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b6d8225d3703bb8e202b4cc943c7a5365560305.webp?v=1785382851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e83db2e3d187a5cf69c8010108ae6d74ba8ff96.webp?v=1785382852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a350c5f9e978cd17f658b2a2dda8ea2203906d.webp?v=1785382853","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f8a4b9ffe8d053b980d5c083e1a2feff1d52699.webp?v=1785382854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882bc487b41b1d77055c5a67b291bfa1a22a0466.webp?v=1785382856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00ca1f0bc32110edba31cae1ba8008603b1e5aa5.webp?v=1785382857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da880081b89c09097386a6fa07ce868ef6e8bfe.webp?v=1785382857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47be1005113a1af774f340fba54e94b7b30941fa.webp?v=1785382858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6f96f310b7ea53225ad3bf86c7af39712b474fc.webp?v=1785382860"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fdcf63d92b5e12043190993761d2a0ba7d78055.webp?v=1785382849","options":["color"],"media":[{"alt":null,"id":27938237251683,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fdcf63d92b5e12043190993761d2a0ba7d78055.webp?v=1785382849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fdcf63d92b5e12043190993761d2a0ba7d78055.webp?v=1785382849","width":2000},{"alt":null,"id":27938237677667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d4d4cde23494a49887954a3677a4d28bbb50ec.webp?v=1785382849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d4d4cde23494a49887954a3677a4d28bbb50ec.webp?v=1785382849","width":2000},{"alt":null,"id":27938238038115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4419b0991b7ff0fb44200d0082964eb01295c434.webp?v=1785382850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4419b0991b7ff0fb44200d0082964eb01295c434.webp?v=1785382850","width":2000},{"alt":null,"id":27938238365795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1206d65541c569c34909e7c630e32093c74509d.webp?v=1785382851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1206d65541c569c34909e7c630e32093c74509d.webp?v=1785382851","width":2000},{"alt":null,"id":27938238595171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b6d8225d3703bb8e202b4cc943c7a5365560305.webp?v=1785382851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b6d8225d3703bb8e202b4cc943c7a5365560305.webp?v=1785382851","width":2000},{"alt":null,"id":27938239021155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e83db2e3d187a5cf69c8010108ae6d74ba8ff96.webp?v=1785382852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e83db2e3d187a5cf69c8010108ae6d74ba8ff96.webp?v=1785382852","width":2000},{"alt":null,"id":27938239217763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a350c5f9e978cd17f658b2a2dda8ea2203906d.webp?v=1785382853"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a350c5f9e978cd17f658b2a2dda8ea2203906d.webp?v=1785382853","width":2000},{"alt":null,"id":27938240233571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f8a4b9ffe8d053b980d5c083e1a2feff1d52699.webp?v=1785382854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f8a4b9ffe8d053b980d5c083e1a2feff1d52699.webp?v=1785382854","width":2000},{"alt":null,"id":27938240626787,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882bc487b41b1d77055c5a67b291bfa1a22a0466.webp?v=1785382856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882bc487b41b1d77055c5a67b291bfa1a22a0466.webp?v=1785382856","width":2000},{"alt":null,"id":27938241478755,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00ca1f0bc32110edba31cae1ba8008603b1e5aa5.webp?v=1785382857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00ca1f0bc32110edba31cae1ba8008603b1e5aa5.webp?v=1785382857","width":2000},{"alt":null,"id":27938241970275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da880081b89c09097386a6fa07ce868ef6e8bfe.webp?v=1785382857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da880081b89c09097386a6fa07ce868ef6e8bfe.webp?v=1785382857","width":2000},{"alt":null,"id":27938242494563,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47be1005113a1af774f340fba54e94b7b30941fa.webp?v=1785382858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47be1005113a1af774f340fba54e94b7b30941fa.webp?v=1785382858","width":2000},{"alt":null,"id":27938243084387,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6f96f310b7ea53225ad3bf86c7af39712b474fc.webp?v=1785382860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6f96f310b7ea53225ad3bf86c7af39712b474fc.webp?v=1785382860","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44422930661475,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434762760291,"product_id":8091454308451,"position":5,"created_at":"2026-07-30T11:40:49+08:00","updated_at":"2026-07-30T11:40:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b6d8225d3703bb8e202b4cc943c7a5365560305.webp?v=1785382851","variant_ids":[44422930661475]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-KK26","featured_media":{"alt":null,"id":27938238595171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b6d8225d3703bb8e202b4cc943c7a5365560305.webp?v=1785382851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422947995747,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434764267619,"product_id":8091454308451,"position":8,"created_at":"2026-07-30T11:40:52+08:00","updated_at":"2026-07-30T11:40:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f8a4b9ffe8d053b980d5c083e1a2feff1d52699.webp?v=1785382854","variant_ids":[44422947995747]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-KK26","featured_media":{"alt":null,"id":27938240233571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f8a4b9ffe8d053b980d5c083e1a2feff1d52699.webp?v=1785382854"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422948323427,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434766626915,"product_id":8091454308451,"position":12,"created_at":"2026-07-30T11:40:56+08:00","updated_at":"2026-07-30T11:40:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47be1005113a1af774f340fba54e94b7b30941fa.webp?v=1785382858","variant_ids":[44422948323427]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-KK26","featured_media":{"alt":null,"id":27938242494563,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47be1005113a1af774f340fba54e94b7b30941fa.webp?v=1785382858"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422948651107,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434763186275,"product_id":8091454308451,"position":6,"created_at":"2026-07-30T11:40:50+08:00","updated_at":"2026-07-30T11:40:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e83db2e3d187a5cf69c8010108ae6d74ba8ff96.webp?v=1785382852","variant_ids":[44422948651107]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-KK26","featured_media":{"alt":null,"id":27938239021155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e83db2e3d187a5cf69c8010108ae6d74ba8ff96.webp?v=1785382852"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422949011555,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434764791907,"product_id":8091454308451,"position":9,"created_at":"2026-07-30T11:40:53+08:00","updated_at":"2026-07-30T11:40:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882bc487b41b1d77055c5a67b291bfa1a22a0466.webp?v=1785382856","variant_ids":[44422949011555]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-KK26","featured_media":{"alt":null,"id":27938240626787,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882bc487b41b1d77055c5a67b291bfa1a22a0466.webp?v=1785382856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422949666915,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434761416803,"product_id":8091454308451,"position":1,"created_at":"2026-07-30T11:40:47+08:00","updated_at":"2026-07-30T11:40:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fdcf63d92b5e12043190993761d2a0ba7d78055.webp?v=1785382849","variant_ids":[44422949666915]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-KK26","featured_media":{"alt":null,"id":27938237251683,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fdcf63d92b5e12043190993761d2a0ba7d78055.webp?v=1785382849"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422950092899,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434767249507,"product_id":8091454308451,"position":13,"created_at":"2026-07-30T11:40:58+08:00","updated_at":"2026-07-30T11:41:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6f96f310b7ea53225ad3bf86c7af39712b474fc.webp?v=1785382860","variant_ids":[44422950092899]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-KK26","featured_media":{"alt":null,"id":27938243084387,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6f96f310b7ea53225ad3bf86c7af39712b474fc.webp?v=1785382860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422950387811,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434762563683,"product_id":8091454308451,"position":4,"created_at":"2026-07-30T11:40:49+08:00","updated_at":"2026-07-30T11:40:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1206d65541c569c34909e7c630e32093c74509d.webp?v=1785382851","variant_ids":[44422950387811]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-KK26","featured_media":{"alt":null,"id":27938238365795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1206d65541c569c34909e7c630e32093c74509d.webp?v=1785382851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422951141475,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434762203235,"product_id":8091454308451,"position":3,"created_at":"2026-07-30T11:40:48+08:00","updated_at":"2026-07-30T11:40:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4419b0991b7ff0fb44200d0082964eb01295c434.webp?v=1785382850","variant_ids":[44422951141475]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-KK26","featured_media":{"alt":null,"id":27938238038115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4419b0991b7ff0fb44200d0082964eb01295c434.webp?v=1785382850"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422951370851,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434766135395,"product_id":8091454308451,"position":11,"created_at":"2026-07-30T11:40:55+08:00","updated_at":"2026-07-30T11:40:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da880081b89c09097386a6fa07ce868ef6e8bfe.webp?v=1785382857","variant_ids":[44422951370851]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-KK26","featured_media":{"alt":null,"id":27938241970275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da880081b89c09097386a6fa07ce868ef6e8bfe.webp?v=1785382857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952190051,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434761875555,"product_id":8091454308451,"position":2,"created_at":"2026-07-30T11:40:47+08:00","updated_at":"2026-07-30T11:40:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d4d4cde23494a49887954a3677a4d28bbb50ec.webp?v=1785382849","variant_ids":[44422952190051]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-KK26","featured_media":{"alt":null,"id":27938237677667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d4d4cde23494a49887954a3677a4d28bbb50ec.webp?v=1785382849"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952878179,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434763415651,"product_id":8091454308451,"position":7,"created_at":"2026-07-30T11:40:51+08:00","updated_at":"2026-07-30T11:40:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a350c5f9e978cd17f658b2a2dda8ea2203906d.webp?v=1785382853","variant_ids":[44422952878179]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-KK26","featured_media":{"alt":null,"id":27938239217763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a350c5f9e978cd17f658b2a2dda8ea2203906d.webp?v=1785382853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952976483,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434765709411,"product_id":8091454308451,"position":10,"created_at":"2026-07-30T11:40:55+08:00","updated_at":"2026-07-30T11:40:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00ca1f0bc32110edba31cae1ba8008603b1e5aa5.webp?v=1785382857","variant_ids":[44422952976483]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-KK26","featured_media":{"alt":null,"id":27938241478755,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00ca1f0bc32110edba31cae1ba8008603b1e5aa5.webp?v=1785382857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44422930661475,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KK26","requires_shipping":true,"taxable":true,"featured_image":{"id":36434762760291,"product_id":8091454308451,"position":5,"created_at":"2026-07-30T11:40:49+08:00","updated_at":"2026-07-30T11:40:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b6d8225d3703bb8e202b4cc943c7a5365560305.webp?v=1785382851","variant_ids":[44422930661475]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 stay pawsitive - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-KK26","featured_media":{"alt":null,"id":27938238595171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b6d8225d3703bb8e202b4cc943c7a5365560305.webp?v=1785382851"}},"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: "停產" }