$product = {"id":7892159594595,"title":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱","handle":"iphone-14-plus-solidsuit-classic-magsafe-fw54","description":null,"published_at":"2025-10-01T12:11:18+08:00","created_at":"2025-10-01T09:43:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-xiuxiubear","device-iPhone 14 Plus","merge","reseller-xiuxiubear"],"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":43754706239587,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012610F-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541000458339,"product_id":7892159594595,"position":3,"created_at":"2025-10-01T09:43:55+08:00","updated_at":"2025-10-01T09:43:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab2403554493081500d7d01825a70fd270b4f424.webp?v=1759283037","variant_ids":[43754706239587]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - 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":"MST012610F-FW54","featured_media":{"alt":null,"id":26110767628387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab2403554493081500d7d01825a70fd270b4f424.webp?v=1759283037"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754708172899,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012610C-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541000884323,"product_id":7892159594595,"position":4,"created_at":"2025-10-01T09:43:57+08:00","updated_at":"2025-10-01T09:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71e571133fce483ea8e93b77d38d970891a20c64.webp?v=1759283039","variant_ids":[43754708172899]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610C-FW54","featured_media":{"alt":null,"id":26110767988835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71e571133fce483ea8e93b77d38d970891a20c64.webp?v=1759283039"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754708238435,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01261O9-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541001048163,"product_id":7892159594595,"position":5,"created_at":"2025-10-01T09:43:57+08:00","updated_at":"2025-10-01T09:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7853127a12591931bde11bb65beb6e90da18a3cf.webp?v=1759283039","variant_ids":[43754708238435]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01261O9-FW54","featured_media":{"alt":null,"id":26110768185443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7853127a12591931bde11bb65beb6e90da18a3cf.webp?v=1759283039"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754708271203,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST012610D-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541001572451,"product_id":7892159594595,"position":7,"created_at":"2025-10-01T09:43:58+08:00","updated_at":"2025-10-01T09:44:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431661de48ab1f44c7dc5d1db1e0e1a52590955c.webp?v=1759283040","variant_ids":[43754708271203]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - 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":"MST012610D-FW54","featured_media":{"alt":null,"id":26110768709731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431661de48ab1f44c7dc5d1db1e0e1a52590955c.webp?v=1759283040"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754708303971,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0126157-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541001343075,"product_id":7892159594595,"position":6,"created_at":"2025-10-01T09:43:57+08:00","updated_at":"2025-10-01T09:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dca5e5721d0f56cf7f92c740b185889663fe537.webp?v=1759283039","variant_ids":[43754708303971]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126157-FW54","featured_media":{"alt":null,"id":26110768480355,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dca5e5721d0f56cf7f92c740b185889663fe537.webp?v=1759283039"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754708336739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126152-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541000327267,"product_id":7892159594595,"position":2,"created_at":"2025-10-01T09:43:55+08:00","updated_at":"2025-10-01T09:43:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56d8226c4157f3a4714a3e3449cabad6778390ca.webp?v=1759283037","variant_ids":[43754708336739]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126152-FW54","featured_media":{"alt":null,"id":26110767464547,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56d8226c4157f3a4714a3e3449cabad6778390ca.webp?v=1759283037"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3869ea3f76cbfd8a26a3a50661975074a0f14b97.webp?v=1759283036","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56d8226c4157f3a4714a3e3449cabad6778390ca.webp?v=1759283037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab2403554493081500d7d01825a70fd270b4f424.webp?v=1759283037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71e571133fce483ea8e93b77d38d970891a20c64.webp?v=1759283039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7853127a12591931bde11bb65beb6e90da18a3cf.webp?v=1759283039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dca5e5721d0f56cf7f92c740b185889663fe537.webp?v=1759283039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431661de48ab1f44c7dc5d1db1e0e1a52590955c.webp?v=1759283040","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33f5ffcf061bded7028cb0e5b3985d49bde16fb6.webp?v=1759283040"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3869ea3f76cbfd8a26a3a50661975074a0f14b97.webp?v=1759283036","options":["color"],"media":[{"alt":null,"id":26110767136867,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3869ea3f76cbfd8a26a3a50661975074a0f14b97.webp?v=1759283036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3869ea3f76cbfd8a26a3a50661975074a0f14b97.webp?v=1759283036","width":2000},{"alt":null,"id":26110767464547,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56d8226c4157f3a4714a3e3449cabad6778390ca.webp?v=1759283037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56d8226c4157f3a4714a3e3449cabad6778390ca.webp?v=1759283037","width":2000},{"alt":null,"id":26110767628387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab2403554493081500d7d01825a70fd270b4f424.webp?v=1759283037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab2403554493081500d7d01825a70fd270b4f424.webp?v=1759283037","width":2000},{"alt":null,"id":26110767988835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71e571133fce483ea8e93b77d38d970891a20c64.webp?v=1759283039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71e571133fce483ea8e93b77d38d970891a20c64.webp?v=1759283039","width":2000},{"alt":null,"id":26110768185443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7853127a12591931bde11bb65beb6e90da18a3cf.webp?v=1759283039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7853127a12591931bde11bb65beb6e90da18a3cf.webp?v=1759283039","width":2000},{"alt":null,"id":26110768480355,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dca5e5721d0f56cf7f92c740b185889663fe537.webp?v=1759283039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dca5e5721d0f56cf7f92c740b185889663fe537.webp?v=1759283039","width":2000},{"alt":null,"id":26110768709731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431661de48ab1f44c7dc5d1db1e0e1a52590955c.webp?v=1759283040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431661de48ab1f44c7dc5d1db1e0e1a52590955c.webp?v=1759283040","width":2000},{"alt":null,"id":26110768840803,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33f5ffcf061bded7028cb0e5b3985d49bde16fb6.webp?v=1759283040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33f5ffcf061bded7028cb0e5b3985d49bde16fb6.webp?v=1759283040","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43754706239587,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012610F-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541000458339,"product_id":7892159594595,"position":3,"created_at":"2025-10-01T09:43:55+08:00","updated_at":"2025-10-01T09:43:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab2403554493081500d7d01825a70fd270b4f424.webp?v=1759283037","variant_ids":[43754706239587]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - 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":"MST012610F-FW54","featured_media":{"alt":null,"id":26110767628387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab2403554493081500d7d01825a70fd270b4f424.webp?v=1759283037"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754708172899,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012610C-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541000884323,"product_id":7892159594595,"position":4,"created_at":"2025-10-01T09:43:57+08:00","updated_at":"2025-10-01T09:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71e571133fce483ea8e93b77d38d970891a20c64.webp?v=1759283039","variant_ids":[43754708172899]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610C-FW54","featured_media":{"alt":null,"id":26110767988835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71e571133fce483ea8e93b77d38d970891a20c64.webp?v=1759283039"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754708238435,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01261O9-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541001048163,"product_id":7892159594595,"position":5,"created_at":"2025-10-01T09:43:57+08:00","updated_at":"2025-10-01T09:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7853127a12591931bde11bb65beb6e90da18a3cf.webp?v=1759283039","variant_ids":[43754708238435]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01261O9-FW54","featured_media":{"alt":null,"id":26110768185443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7853127a12591931bde11bb65beb6e90da18a3cf.webp?v=1759283039"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754708271203,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST012610D-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541001572451,"product_id":7892159594595,"position":7,"created_at":"2025-10-01T09:43:58+08:00","updated_at":"2025-10-01T09:44:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431661de48ab1f44c7dc5d1db1e0e1a52590955c.webp?v=1759283040","variant_ids":[43754708271203]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - 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":"MST012610D-FW54","featured_media":{"alt":null,"id":26110768709731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/431661de48ab1f44c7dc5d1db1e0e1a52590955c.webp?v=1759283040"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754708303971,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0126157-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541001343075,"product_id":7892159594595,"position":6,"created_at":"2025-10-01T09:43:57+08:00","updated_at":"2025-10-01T09:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dca5e5721d0f56cf7f92c740b185889663fe537.webp?v=1759283039","variant_ids":[43754708303971]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126157-FW54","featured_media":{"alt":null,"id":26110768480355,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dca5e5721d0f56cf7f92c740b185889663fe537.webp?v=1759283039"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754708336739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126152-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541000327267,"product_id":7892159594595,"position":2,"created_at":"2025-10-01T09:43:55+08:00","updated_at":"2025-10-01T09:43:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56d8226c4157f3a4714a3e3449cabad6778390ca.webp?v=1759283037","variant_ids":[43754708336739]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126152-FW54","featured_media":{"alt":null,"id":26110767464547,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56d8226c4157f3a4714a3e3449cabad6778390ca.webp?v=1759283037"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43754706239587,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012610F-FW54","requires_shipping":true,"taxable":true,"featured_image":{"id":34541000458339,"product_id":7892159594595,"position":3,"created_at":"2025-10-01T09:43:55+08:00","updated_at":"2025-10-01T09:43:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab2403554493081500d7d01825a70fd270b4f424.webp?v=1759283037","variant_ids":[43754706239587]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 咻咻熊 熊泥抱抱 - 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":"MST012610F-FW54","featured_media":{"alt":null,"id":26110767628387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab2403554493081500d7d01825a70fd270b4f424.webp?v=1759283037"}},"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: "停產" }