$product = {"id":7954112479331,"title":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 布丁狗30週年 裝進購物袋","handle":"google-pixel-8-pro-solidsuit-android-magsafe-rp07","description":null,"published_at":"2026-01-20T11:26:30+08:00","created_at":"2026-01-19T15:26:15+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Google","designer","designer-pompompurin-cinnamoroll","device-Pixel 8 Pro","merge","reseller-pompompurin-cinnamoroll"],"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":43957355970659,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST02302Z7-RP07","requires_shipping":true,"taxable":true,"featured_image":{"id":36059591704675,"product_id":7954112479331,"position":7,"created_at":"2026-06-23T15:24:59+08:00","updated_at":"2026-06-23T15:25:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_dd5e2435-28ce-4421-b382-87a619815cbb.webp?v=1782199502","variant_ids":[43957355970659]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 布丁狗30週年 裝進購物袋 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST02302Z7-RP07","featured_media":{"alt":null,"id":27572438270051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_dd5e2435-28ce-4421-b382-87a619815cbb.webp?v=1782199502"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43957359738979,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST023020B-RP07","requires_shipping":true,"taxable":true,"featured_image":{"id":36059592360035,"product_id":7954112479331,"position":8,"created_at":"2026-06-23T15:25:00+08:00","updated_at":"2026-06-23T15:25:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a_a4c0d7b8-11cb-4fd1-a841-11f411816534.webp?v=1782199502","variant_ids":[43957359738979]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 布丁狗30週年 裝進購物袋 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST023020B-RP07","featured_media":{"alt":null,"id":27572438958179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a_a4c0d7b8-11cb-4fd1-a841-11f411816534.webp?v=1782199502"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43957360263267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0230252-RP07","requires_shipping":true,"taxable":true,"featured_image":{"id":36059592884323,"product_id":7954112479331,"position":9,"created_at":"2026-06-23T15:25:01+08:00","updated_at":"2026-06-23T15:25:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12_3e54d9b8-1a59-4c36-99b0-7c3a3b52df09.webp?v=1782199503","variant_ids":[43957360263267]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 布丁狗30週年 裝進購物袋 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0230252-RP07","featured_media":{"alt":null,"id":27572439482467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12_3e54d9b8-1a59-4c36-99b0-7c3a3b52df09.webp?v=1782199503"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2.webp?v=1768807590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12.webp?v=1768807592","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a.webp?v=1768807592","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a_6f539c43-87e2-4112-ad0e-6b7398bfcc01.webp?v=1768814748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_ca3123ac-6172-49bf-84d8-e1bdf22587b2.webp?v=1768814749","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12_86939c05-7287-496c-8028-40394f2a0519.webp?v=1768814749","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_dd5e2435-28ce-4421-b382-87a619815cbb.webp?v=1782199502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a_a4c0d7b8-11cb-4fd1-a841-11f411816534.webp?v=1782199502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12_3e54d9b8-1a59-4c36-99b0-7c3a3b52df09.webp?v=1782199503"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2.webp?v=1768807590","options":["color"],"media":[{"alt":null,"id":26675721896035,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2.webp?v=1768807590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2.webp?v=1768807590","width":2000},{"alt":null,"id":26675722420323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12.webp?v=1768807592"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12.webp?v=1768807592","width":2000},{"alt":null,"id":26675722780771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a.webp?v=1768807592"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a.webp?v=1768807592","width":2000},{"alt":null,"id":26676212334691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a_6f539c43-87e2-4112-ad0e-6b7398bfcc01.webp?v=1768814748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a_6f539c43-87e2-4112-ad0e-6b7398bfcc01.webp?v=1768814748","width":2000},{"alt":null,"id":26676212596835,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_ca3123ac-6172-49bf-84d8-e1bdf22587b2.webp?v=1768814749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_ca3123ac-6172-49bf-84d8-e1bdf22587b2.webp?v=1768814749","width":2000},{"alt":null,"id":26676212695139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12_86939c05-7287-496c-8028-40394f2a0519.webp?v=1768814749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12_86939c05-7287-496c-8028-40394f2a0519.webp?v=1768814749","width":2000},{"alt":null,"id":27572438270051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_dd5e2435-28ce-4421-b382-87a619815cbb.webp?v=1782199502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_dd5e2435-28ce-4421-b382-87a619815cbb.webp?v=1782199502","width":2000},{"alt":null,"id":27572438958179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a_a4c0d7b8-11cb-4fd1-a841-11f411816534.webp?v=1782199502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a_a4c0d7b8-11cb-4fd1-a841-11f411816534.webp?v=1782199502","width":2000},{"alt":null,"id":27572439482467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12_3e54d9b8-1a59-4c36-99b0-7c3a3b52df09.webp?v=1782199503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12_3e54d9b8-1a59-4c36-99b0-7c3a3b52df09.webp?v=1782199503","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43957355970659,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST02302Z7-RP07","requires_shipping":true,"taxable":true,"featured_image":{"id":36059591704675,"product_id":7954112479331,"position":7,"created_at":"2026-06-23T15:24:59+08:00","updated_at":"2026-06-23T15:25:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_dd5e2435-28ce-4421-b382-87a619815cbb.webp?v=1782199502","variant_ids":[43957355970659]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 布丁狗30週年 裝進購物袋 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST02302Z7-RP07","featured_media":{"alt":null,"id":27572438270051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_dd5e2435-28ce-4421-b382-87a619815cbb.webp?v=1782199502"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43957359738979,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST023020B-RP07","requires_shipping":true,"taxable":true,"featured_image":{"id":36059592360035,"product_id":7954112479331,"position":8,"created_at":"2026-06-23T15:25:00+08:00","updated_at":"2026-06-23T15:25:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a_a4c0d7b8-11cb-4fd1-a841-11f411816534.webp?v=1782199502","variant_ids":[43957359738979]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 布丁狗30週年 裝進購物袋 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST023020B-RP07","featured_media":{"alt":null,"id":27572438958179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/458e6aa8344891d8502dfa1a812bc4c14ce19b3a_a4c0d7b8-11cb-4fd1-a841-11f411816534.webp?v=1782199502"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43957360263267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0230252-RP07","requires_shipping":true,"taxable":true,"featured_image":{"id":36059592884323,"product_id":7954112479331,"position":9,"created_at":"2026-06-23T15:25:01+08:00","updated_at":"2026-06-23T15:25:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12_3e54d9b8-1a59-4c36-99b0-7c3a3b52df09.webp?v=1782199503","variant_ids":[43957360263267]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 布丁狗30週年 裝進購物袋 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0230252-RP07","featured_media":{"alt":null,"id":27572439482467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/722ac7a1166b81627450424785e81b3171542b12_3e54d9b8-1a59-4c36-99b0-7c3a3b52df09.webp?v=1782199503"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43957355970659,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST02302Z7-RP07","requires_shipping":true,"taxable":true,"featured_image":{"id":36059591704675,"product_id":7954112479331,"position":7,"created_at":"2026-06-23T15:24:59+08:00","updated_at":"2026-06-23T15:25:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_dd5e2435-28ce-4421-b382-87a619815cbb.webp?v=1782199502","variant_ids":[43957355970659]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 布丁狗30週年 裝進購物袋 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST02302Z7-RP07","featured_media":{"alt":null,"id":27572438270051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b4383473e7588e5594f1b22a50ff1444950c7f2_dd5e2435-28ce-4421-b382-87a619815cbb.webp?v=1782199502"}},"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: "停產" }