$product = {"id":7888989618275,"title":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers","handle":"iphone-13-mini-solidsuit-classic-tb31","description":null,"published_at":"2025-09-24T11:04:23+08:00","created_at":"2025-09-23T12:15:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-oracle-redbull-racing","device-iPhone 13 Mini","merge","reseller-oracle-redbull-racing"],"price":83000,"price_min":83000,"price_max":83000,"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":43744958546019,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST012280B-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518531866723,"product_id":7888989618275,"position":4,"created_at":"2025-09-23T12:15:51+08:00","updated_at":"2025-09-23T12:15:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b1c1db21d287be32bf96eaaae2903ef3325c98.webp?v=1758600954","variant_ids":[43744958546019]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012280B-TB31","featured_media":{"alt":null,"id":26088906293347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b1c1db21d287be32bf96eaaae2903ef3325c98.webp?v=1758600954"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744958578787,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518532489315,"product_id":7888989618275,"position":8,"created_at":"2025-09-23T12:15:54+08:00","updated_at":"2025-09-23T12:15:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ffc0019648a5e548efbaaea4889867ef3670e72.webp?v=1758600956","variant_ids":[43744958578787]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-TB31","featured_media":{"alt":null,"id":26088906915939,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ffc0019648a5e548efbaaea4889867ef3670e72.webp?v=1758600956"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744958644323,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518531571811,"product_id":7888989618275,"position":1,"created_at":"2025-09-23T12:15:50+08:00","updated_at":"2025-09-23T12:15:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d20b7c89f976c8166ab3bee348e8255e4dc8a57.webp?v=1758600952","variant_ids":[43744958644323]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-TB31","featured_media":{"alt":null,"id":26088905998435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d20b7c89f976c8166ab3bee348e8255e4dc8a57.webp?v=1758600952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744958677091,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01228O8-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518531899491,"product_id":7888989618275,"position":5,"created_at":"2025-09-23T12:15:52+08:00","updated_at":"2025-09-23T12:15:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a74ab212933836a7f808f7f9e2b645a03835aa4.webp?v=1758600954","variant_ids":[43744958677091]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-TB31","featured_media":{"alt":null,"id":26088906326115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a74ab212933836a7f808f7f9e2b645a03835aa4.webp?v=1758600954"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744958709859,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01228Z8-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518531801187,"product_id":7888989618275,"position":3,"created_at":"2025-09-23T12:15:51+08:00","updated_at":"2025-09-23T12:15:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63394a986952a84b07b4de171b05a0cd88f45f5.webp?v=1758600953","variant_ids":[43744958709859]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-TB31","featured_media":{"alt":null,"id":26088906227811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63394a986952a84b07b4de171b05a0cd88f45f5.webp?v=1758600953"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744958742627,"title":"White","option1":"White","option2":null,"option3":null,"sku":"SST0122853-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518532161635,"product_id":7888989618275,"position":7,"created_at":"2025-09-23T12:15:53+08:00","updated_at":"2025-09-23T12:15:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c86ba71b90b8dd5e3091396ffca26e4316e7fa4.webp?v=1758600955","variant_ids":[43744958742627]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - White","public_title":"White","options":["White"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122853-TB31","featured_media":{"alt":null,"id":26088906719331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c86ba71b90b8dd5e3091396ffca26e4316e7fa4.webp?v=1758600955"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d20b7c89f976c8166ab3bee348e8255e4dc8a57.webp?v=1758600952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a0776b5be9d656c3ca1cf7f6a4243fad11ce28e.webp?v=1758600953","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63394a986952a84b07b4de171b05a0cd88f45f5.webp?v=1758600953","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b1c1db21d287be32bf96eaaae2903ef3325c98.webp?v=1758600954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a74ab212933836a7f808f7f9e2b645a03835aa4.webp?v=1758600954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24ad3cb29d24977b3ca5653d15d619effdb71e66.webp?v=1758600954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c86ba71b90b8dd5e3091396ffca26e4316e7fa4.webp?v=1758600955","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ffc0019648a5e548efbaaea4889867ef3670e72.webp?v=1758600956"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d20b7c89f976c8166ab3bee348e8255e4dc8a57.webp?v=1758600952","options":["color"],"media":[{"alt":null,"id":26088905998435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d20b7c89f976c8166ab3bee348e8255e4dc8a57.webp?v=1758600952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d20b7c89f976c8166ab3bee348e8255e4dc8a57.webp?v=1758600952","width":2000},{"alt":null,"id":26088906096739,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a0776b5be9d656c3ca1cf7f6a4243fad11ce28e.webp?v=1758600953"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a0776b5be9d656c3ca1cf7f6a4243fad11ce28e.webp?v=1758600953","width":2000},{"alt":null,"id":26088906227811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63394a986952a84b07b4de171b05a0cd88f45f5.webp?v=1758600953"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63394a986952a84b07b4de171b05a0cd88f45f5.webp?v=1758600953","width":2000},{"alt":null,"id":26088906293347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b1c1db21d287be32bf96eaaae2903ef3325c98.webp?v=1758600954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b1c1db21d287be32bf96eaaae2903ef3325c98.webp?v=1758600954","width":2000},{"alt":null,"id":26088906326115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a74ab212933836a7f808f7f9e2b645a03835aa4.webp?v=1758600954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a74ab212933836a7f808f7f9e2b645a03835aa4.webp?v=1758600954","width":2000},{"alt":null,"id":26088906489955,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24ad3cb29d24977b3ca5653d15d619effdb71e66.webp?v=1758600954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24ad3cb29d24977b3ca5653d15d619effdb71e66.webp?v=1758600954","width":2000},{"alt":null,"id":26088906719331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c86ba71b90b8dd5e3091396ffca26e4316e7fa4.webp?v=1758600955"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c86ba71b90b8dd5e3091396ffca26e4316e7fa4.webp?v=1758600955","width":2000},{"alt":null,"id":26088906915939,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ffc0019648a5e548efbaaea4889867ef3670e72.webp?v=1758600956"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ffc0019648a5e548efbaaea4889867ef3670e72.webp?v=1758600956","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43744958546019,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST012280B-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518531866723,"product_id":7888989618275,"position":4,"created_at":"2025-09-23T12:15:51+08:00","updated_at":"2025-09-23T12:15:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b1c1db21d287be32bf96eaaae2903ef3325c98.webp?v=1758600954","variant_ids":[43744958546019]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012280B-TB31","featured_media":{"alt":null,"id":26088906293347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b1c1db21d287be32bf96eaaae2903ef3325c98.webp?v=1758600954"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744958578787,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518532489315,"product_id":7888989618275,"position":8,"created_at":"2025-09-23T12:15:54+08:00","updated_at":"2025-09-23T12:15:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ffc0019648a5e548efbaaea4889867ef3670e72.webp?v=1758600956","variant_ids":[43744958578787]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-TB31","featured_media":{"alt":null,"id":26088906915939,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ffc0019648a5e548efbaaea4889867ef3670e72.webp?v=1758600956"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744958644323,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518531571811,"product_id":7888989618275,"position":1,"created_at":"2025-09-23T12:15:50+08:00","updated_at":"2025-09-23T12:15:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d20b7c89f976c8166ab3bee348e8255e4dc8a57.webp?v=1758600952","variant_ids":[43744958644323]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-TB31","featured_media":{"alt":null,"id":26088905998435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d20b7c89f976c8166ab3bee348e8255e4dc8a57.webp?v=1758600952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744958677091,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01228O8-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518531899491,"product_id":7888989618275,"position":5,"created_at":"2025-09-23T12:15:52+08:00","updated_at":"2025-09-23T12:15:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a74ab212933836a7f808f7f9e2b645a03835aa4.webp?v=1758600954","variant_ids":[43744958677091]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-TB31","featured_media":{"alt":null,"id":26088906326115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a74ab212933836a7f808f7f9e2b645a03835aa4.webp?v=1758600954"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744958709859,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01228Z8-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518531801187,"product_id":7888989618275,"position":3,"created_at":"2025-09-23T12:15:51+08:00","updated_at":"2025-09-23T12:15:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63394a986952a84b07b4de171b05a0cd88f45f5.webp?v=1758600953","variant_ids":[43744958709859]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-TB31","featured_media":{"alt":null,"id":26088906227811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63394a986952a84b07b4de171b05a0cd88f45f5.webp?v=1758600953"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744958742627,"title":"White","option1":"White","option2":null,"option3":null,"sku":"SST0122853-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518532161635,"product_id":7888989618275,"position":7,"created_at":"2025-09-23T12:15:53+08:00","updated_at":"2025-09-23T12:15:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c86ba71b90b8dd5e3091396ffca26e4316e7fa4.webp?v=1758600955","variant_ids":[43744958742627]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - White","public_title":"White","options":["White"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122853-TB31","featured_media":{"alt":null,"id":26088906719331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c86ba71b90b8dd5e3091396ffca26e4316e7fa4.webp?v=1758600955"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43744958546019,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST012280B-TB31","requires_shipping":true,"taxable":true,"featured_image":{"id":34518531866723,"product_id":7888989618275,"position":4,"created_at":"2025-09-23T12:15:51+08:00","updated_at":"2025-09-23T12:15:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b1c1db21d287be32bf96eaaae2903ef3325c98.webp?v=1758600954","variant_ids":[43744958546019]},"available":true,"name":"iPhone 13 mini SolidSuit Oracle Red Bull Racing ORBR - Stickers - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012280B-TB31","featured_media":{"alt":null,"id":26088906293347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b1c1db21d287be32bf96eaaae2903ef3325c98.webp?v=1758600954"}},"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: "停產" }