$product = {"id":6982626934883,"title":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸","handle":"iphone-12-mini-solidsuit-classic-magsafe-pe31","description":null,"published_at":"2023-08-01T21:25:04+08:00","created_at":"2023-07-27T19:08:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-爽爽貓 Song Song Meow By SECOND","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-pokemon","device-iPhone 12 Mini","merge","reseller-pokemon"],"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":40591551823971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563339022435,"product_id":6982626934883,"position":4,"created_at":"2026-03-30T17:15:39+08:00","updated_at":"2026-03-30T17:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d04ff91caf9e84823bda1269464e7c9cb8a6bbe.webp?v=1774862141","variant_ids":[40591551823971]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-PE31","featured_media":{"alt":null,"id":27096899813475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d04ff91caf9e84823bda1269464e7c9cb8a6bbe.webp?v=1774862141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591552151651,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01184Z8-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563340202083,"product_id":6982626934883,"position":7,"created_at":"2026-03-30T17:15:41+08:00","updated_at":"2026-03-30T17:15:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71de25c7c5aecf8e079a8277e2c7e4a59b1e060e.webp?v=1774862143","variant_ids":[40591552151651]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z8-PE31","featured_media":{"alt":null,"id":27096900993123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71de25c7c5aecf8e079a8277e2c7e4a59b1e060e.webp?v=1774862143"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591552184419,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563339415651,"product_id":6982626934883,"position":5,"created_at":"2026-03-30T17:15:39+08:00","updated_at":"2026-03-30T17:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e816aaf11bf69ac7667a85c840a40d802b3079a7.webp?v=1774862141","variant_ids":[40591552184419]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-PE31","featured_media":{"alt":null,"id":27096900239459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e816aaf11bf69ac7667a85c840a40d802b3079a7.webp?v=1774862141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591552217187,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011840A-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563339841635,"product_id":6982626934883,"position":6,"created_at":"2026-03-30T17:15:40+08:00","updated_at":"2026-03-30T17:15:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da7af208a979b1df0857e342992ede47f755f07.webp?v=1774862142","variant_ids":[40591552217187]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840A-PE31","featured_media":{"alt":null,"id":27096900632675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da7af208a979b1df0857e342992ede47f755f07.webp?v=1774862142"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591552381027,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011840D-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563340431459,"product_id":6982626934883,"position":8,"created_at":"2026-03-30T17:15:41+08:00","updated_at":"2026-03-30T17:15:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8cfb1a85b226d488a9632fad8b2e305caa763d9.webp?v=1774862143","variant_ids":[40591552381027]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840D-PE31","featured_media":{"alt":null,"id":27096901222499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8cfb1a85b226d488a9632fad8b2e305caa763d9.webp?v=1774862143"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591552643171,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011840E-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563338760291,"product_id":6982626934883,"position":3,"created_at":"2026-03-30T17:15:38+08:00","updated_at":"2026-03-30T17:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2074b77cd4d23804f6ce66a28c236100c0522fb.webp?v=1774862141","variant_ids":[40591552643171]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840E-PE31","featured_media":{"alt":null,"id":27096899551331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2074b77cd4d23804f6ce66a28c236100c0522fb.webp?v=1774862141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-184-PE31.png?v=1690456122","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e076878f421b1c26f8ec1624cf1e8646107601.webp?v=1774862139","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2074b77cd4d23804f6ce66a28c236100c0522fb.webp?v=1774862141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d04ff91caf9e84823bda1269464e7c9cb8a6bbe.webp?v=1774862141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e816aaf11bf69ac7667a85c840a40d802b3079a7.webp?v=1774862141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da7af208a979b1df0857e342992ede47f755f07.webp?v=1774862142","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71de25c7c5aecf8e079a8277e2c7e4a59b1e060e.webp?v=1774862143","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8cfb1a85b226d488a9632fad8b2e305caa763d9.webp?v=1774862143"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-184-PE31.png?v=1690456122","options":["color"],"media":[{"alt":null,"id":22634052452451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-184-PE31.png?v=1690456122"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-184-PE31.png?v=1690456122","width":2000},{"alt":null,"id":27096899256419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e076878f421b1c26f8ec1624cf1e8646107601.webp?v=1774862139"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e076878f421b1c26f8ec1624cf1e8646107601.webp?v=1774862139","width":2000},{"alt":null,"id":27096899551331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2074b77cd4d23804f6ce66a28c236100c0522fb.webp?v=1774862141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2074b77cd4d23804f6ce66a28c236100c0522fb.webp?v=1774862141","width":2000},{"alt":null,"id":27096899813475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d04ff91caf9e84823bda1269464e7c9cb8a6bbe.webp?v=1774862141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d04ff91caf9e84823bda1269464e7c9cb8a6bbe.webp?v=1774862141","width":2000},{"alt":null,"id":27096900239459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e816aaf11bf69ac7667a85c840a40d802b3079a7.webp?v=1774862141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e816aaf11bf69ac7667a85c840a40d802b3079a7.webp?v=1774862141","width":2000},{"alt":null,"id":27096900632675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da7af208a979b1df0857e342992ede47f755f07.webp?v=1774862142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da7af208a979b1df0857e342992ede47f755f07.webp?v=1774862142","width":2000},{"alt":null,"id":27096900993123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71de25c7c5aecf8e079a8277e2c7e4a59b1e060e.webp?v=1774862143"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71de25c7c5aecf8e079a8277e2c7e4a59b1e060e.webp?v=1774862143","width":2000},{"alt":null,"id":27096901222499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8cfb1a85b226d488a9632fad8b2e305caa763d9.webp?v=1774862143"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8cfb1a85b226d488a9632fad8b2e305caa763d9.webp?v=1774862143","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":40591551823971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563339022435,"product_id":6982626934883,"position":4,"created_at":"2026-03-30T17:15:39+08:00","updated_at":"2026-03-30T17:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d04ff91caf9e84823bda1269464e7c9cb8a6bbe.webp?v=1774862141","variant_ids":[40591551823971]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-PE31","featured_media":{"alt":null,"id":27096899813475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d04ff91caf9e84823bda1269464e7c9cb8a6bbe.webp?v=1774862141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591552151651,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01184Z8-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563340202083,"product_id":6982626934883,"position":7,"created_at":"2026-03-30T17:15:41+08:00","updated_at":"2026-03-30T17:15:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71de25c7c5aecf8e079a8277e2c7e4a59b1e060e.webp?v=1774862143","variant_ids":[40591552151651]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z8-PE31","featured_media":{"alt":null,"id":27096900993123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71de25c7c5aecf8e079a8277e2c7e4a59b1e060e.webp?v=1774862143"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591552184419,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563339415651,"product_id":6982626934883,"position":5,"created_at":"2026-03-30T17:15:39+08:00","updated_at":"2026-03-30T17:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e816aaf11bf69ac7667a85c840a40d802b3079a7.webp?v=1774862141","variant_ids":[40591552184419]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-PE31","featured_media":{"alt":null,"id":27096900239459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e816aaf11bf69ac7667a85c840a40d802b3079a7.webp?v=1774862141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591552217187,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011840A-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563339841635,"product_id":6982626934883,"position":6,"created_at":"2026-03-30T17:15:40+08:00","updated_at":"2026-03-30T17:15:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da7af208a979b1df0857e342992ede47f755f07.webp?v=1774862142","variant_ids":[40591552217187]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840A-PE31","featured_media":{"alt":null,"id":27096900632675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da7af208a979b1df0857e342992ede47f755f07.webp?v=1774862142"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591552381027,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011840D-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563340431459,"product_id":6982626934883,"position":8,"created_at":"2026-03-30T17:15:41+08:00","updated_at":"2026-03-30T17:15:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8cfb1a85b226d488a9632fad8b2e305caa763d9.webp?v=1774862143","variant_ids":[40591552381027]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840D-PE31","featured_media":{"alt":null,"id":27096901222499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8cfb1a85b226d488a9632fad8b2e305caa763d9.webp?v=1774862143"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591552643171,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011840E-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563338760291,"product_id":6982626934883,"position":3,"created_at":"2026-03-30T17:15:38+08:00","updated_at":"2026-03-30T17:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2074b77cd4d23804f6ce66a28c236100c0522fb.webp?v=1774862141","variant_ids":[40591552643171]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840E-PE31","featured_media":{"alt":null,"id":27096899551331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2074b77cd4d23804f6ce66a28c236100c0522fb.webp?v=1774862141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":40591551823971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-PE31","requires_shipping":true,"taxable":true,"featured_image":{"id":35563339022435,"product_id":6982626934883,"position":4,"created_at":"2026-03-30T17:15:39+08:00","updated_at":"2026-03-30T17:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d04ff91caf9e84823bda1269464e7c9cb8a6bbe.webp?v=1774862141","variant_ids":[40591551823971]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) 寶可夢 幾何系列-卡比獸 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-PE31","featured_media":{"alt":null,"id":27096899813475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d04ff91caf9e84823bda1269464e7c9cb8a6bbe.webp?v=1774862141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }