$product = {"id":7934868586595,"title":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單","handle":"iphone-12-mini-solidsuit-classic-magsafe-str19","description":null,"published_at":"2025-12-05T09:44:39+08:00","created_at":"2025-12-04T11:57:23+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-stranger-things","device-iPhone 12 Mini","merge","reseller-stranger-things"],"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":43870406377571,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893822197859,"product_id":7934868586595,"position":6,"created_at":"2025-12-04T11:57:32+08:00","updated_at":"2025-12-04T11:57:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7e347083e233da9a21cf30951b08a27b3dab3f.webp?v=1764820653","variant_ids":[43870406377571]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-STR19","featured_media":{"alt":null,"id":26456394236003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7e347083e233da9a21cf30951b08a27b3dab3f.webp?v=1764820653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43870406410339,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01184Z8-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893821804643,"product_id":7934868586595,"position":3,"created_at":"2025-12-04T11:57:30+08:00","updated_at":"2025-12-04T11:57:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fa18be266c48dcf2fb633ed9b0320f9f0266dfb.webp?v=1764820652","variant_ids":[43870406410339]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z8-STR19","featured_media":{"alt":null,"id":26456393842787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fa18be266c48dcf2fb633ed9b0320f9f0266dfb.webp?v=1764820652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43870406475875,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011840A-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893821935715,"product_id":7934868586595,"position":4,"created_at":"2025-12-04T11:57:31+08:00","updated_at":"2025-12-04T11:57:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dfbf426c395090f2c5af6123907ac6cb480b81a.webp?v=1764820653","variant_ids":[43870406475875]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840A-STR19","featured_media":{"alt":null,"id":26456393941091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dfbf426c395090f2c5af6123907ac6cb480b81a.webp?v=1764820653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43870406508643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893822066787,"product_id":7934868586595,"position":5,"created_at":"2025-12-04T11:57:31+08:00","updated_at":"2025-12-04T11:57:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d8e8927aaba21ea92a6779a03192db887a3b83.webp?v=1764820653","variant_ids":[43870406508643]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-STR19","featured_media":{"alt":null,"id":26456394104931,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d8e8927aaba21ea92a6779a03192db887a3b83.webp?v=1764820653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43870406541411,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011840D-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893822296163,"product_id":7934868586595,"position":7,"created_at":"2025-12-04T11:57:32+08:00","updated_at":"2025-12-04T11:57:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df78722a6f1e385b55dce39f1541f8f427258a44.webp?v=1764820654","variant_ids":[43870406541411]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840D-STR19","featured_media":{"alt":null,"id":26456394334307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df78722a6f1e385b55dce39f1541f8f427258a44.webp?v=1764820654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43870406574179,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011840E-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893821444195,"product_id":7934868586595,"position":2,"created_at":"2025-12-04T11:57:29+08:00","updated_at":"2025-12-04T11:57:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16bcaee68c5403648b2b0b80f8b16f578b97253e.webp?v=1764820651","variant_ids":[43870406574179]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840E-STR19","featured_media":{"alt":null,"id":26456393547875,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16bcaee68c5403648b2b0b80f8b16f578b97253e.webp?v=1764820651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1edfba568a6014d975940fac7de197c4fb187e40.webp?v=1764820650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16bcaee68c5403648b2b0b80f8b16f578b97253e.webp?v=1764820651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fa18be266c48dcf2fb633ed9b0320f9f0266dfb.webp?v=1764820652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dfbf426c395090f2c5af6123907ac6cb480b81a.webp?v=1764820653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d8e8927aaba21ea92a6779a03192db887a3b83.webp?v=1764820653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7e347083e233da9a21cf30951b08a27b3dab3f.webp?v=1764820653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df78722a6f1e385b55dce39f1541f8f427258a44.webp?v=1764820654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/568c74054d5e09f01fc11507d2f1bad57fa6b940.webp?v=1764820654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb5d56f63d9aecc2b12e606664330afdde32234.webp?v=1764820655"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1edfba568a6014d975940fac7de197c4fb187e40.webp?v=1764820650","options":["color"],"media":[{"alt":null,"id":26456393056355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1edfba568a6014d975940fac7de197c4fb187e40.webp?v=1764820650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1edfba568a6014d975940fac7de197c4fb187e40.webp?v=1764820650","width":2000},{"alt":null,"id":26456393547875,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16bcaee68c5403648b2b0b80f8b16f578b97253e.webp?v=1764820651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16bcaee68c5403648b2b0b80f8b16f578b97253e.webp?v=1764820651","width":2000},{"alt":null,"id":26456393842787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fa18be266c48dcf2fb633ed9b0320f9f0266dfb.webp?v=1764820652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fa18be266c48dcf2fb633ed9b0320f9f0266dfb.webp?v=1764820652","width":2000},{"alt":null,"id":26456393941091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dfbf426c395090f2c5af6123907ac6cb480b81a.webp?v=1764820653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dfbf426c395090f2c5af6123907ac6cb480b81a.webp?v=1764820653","width":2000},{"alt":null,"id":26456394104931,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d8e8927aaba21ea92a6779a03192db887a3b83.webp?v=1764820653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d8e8927aaba21ea92a6779a03192db887a3b83.webp?v=1764820653","width":2000},{"alt":null,"id":26456394236003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7e347083e233da9a21cf30951b08a27b3dab3f.webp?v=1764820653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7e347083e233da9a21cf30951b08a27b3dab3f.webp?v=1764820653","width":2000},{"alt":null,"id":26456394334307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df78722a6f1e385b55dce39f1541f8f427258a44.webp?v=1764820654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df78722a6f1e385b55dce39f1541f8f427258a44.webp?v=1764820654","width":2000},{"alt":null,"id":26456394465379,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/568c74054d5e09f01fc11507d2f1bad57fa6b940.webp?v=1764820654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/568c74054d5e09f01fc11507d2f1bad57fa6b940.webp?v=1764820654","width":2000},{"alt":null,"id":26456394629219,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb5d56f63d9aecc2b12e606664330afdde32234.webp?v=1764820655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb5d56f63d9aecc2b12e606664330afdde32234.webp?v=1764820655","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43870406377571,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893822197859,"product_id":7934868586595,"position":6,"created_at":"2025-12-04T11:57:32+08:00","updated_at":"2025-12-04T11:57:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7e347083e233da9a21cf30951b08a27b3dab3f.webp?v=1764820653","variant_ids":[43870406377571]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-STR19","featured_media":{"alt":null,"id":26456394236003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7e347083e233da9a21cf30951b08a27b3dab3f.webp?v=1764820653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43870406410339,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01184Z8-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893821804643,"product_id":7934868586595,"position":3,"created_at":"2025-12-04T11:57:30+08:00","updated_at":"2025-12-04T11:57:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fa18be266c48dcf2fb633ed9b0320f9f0266dfb.webp?v=1764820652","variant_ids":[43870406410339]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z8-STR19","featured_media":{"alt":null,"id":26456393842787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fa18be266c48dcf2fb633ed9b0320f9f0266dfb.webp?v=1764820652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43870406475875,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011840A-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893821935715,"product_id":7934868586595,"position":4,"created_at":"2025-12-04T11:57:31+08:00","updated_at":"2025-12-04T11:57:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dfbf426c395090f2c5af6123907ac6cb480b81a.webp?v=1764820653","variant_ids":[43870406475875]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840A-STR19","featured_media":{"alt":null,"id":26456393941091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dfbf426c395090f2c5af6123907ac6cb480b81a.webp?v=1764820653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43870406508643,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893822066787,"product_id":7934868586595,"position":5,"created_at":"2025-12-04T11:57:31+08:00","updated_at":"2025-12-04T11:57:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d8e8927aaba21ea92a6779a03192db887a3b83.webp?v=1764820653","variant_ids":[43870406508643]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-STR19","featured_media":{"alt":null,"id":26456394104931,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d8e8927aaba21ea92a6779a03192db887a3b83.webp?v=1764820653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43870406541411,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011840D-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893822296163,"product_id":7934868586595,"position":7,"created_at":"2025-12-04T11:57:32+08:00","updated_at":"2025-12-04T11:57:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df78722a6f1e385b55dce39f1541f8f427258a44.webp?v=1764820654","variant_ids":[43870406541411]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840D-STR19","featured_media":{"alt":null,"id":26456394334307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df78722a6f1e385b55dce39f1541f8f427258a44.webp?v=1764820654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43870406574179,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011840E-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893821444195,"product_id":7934868586595,"position":2,"created_at":"2025-12-04T11:57:29+08:00","updated_at":"2025-12-04T11:57:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16bcaee68c5403648b2b0b80f8b16f578b97253e.webp?v=1764820651","variant_ids":[43870406574179]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840E-STR19","featured_media":{"alt":null,"id":26456393547875,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16bcaee68c5403648b2b0b80f8b16f578b97253e.webp?v=1764820651"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43870406377571,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-STR19","requires_shipping":true,"taxable":true,"featured_image":{"id":34893822197859,"product_id":7934868586595,"position":6,"created_at":"2025-12-04T11:57:32+08:00","updated_at":"2025-12-04T11:57:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7e347083e233da9a21cf30951b08a27b3dab3f.webp?v=1764820653","variant_ids":[43870406377571]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 怪奇物語 8 位元 - 角色選單 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-STR19","featured_media":{"alt":null,"id":26456394236003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7e347083e233da9a21cf30951b08a27b3dab3f.webp?v=1764820653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } }); }; var 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: "停產" }