$product = {"id":7164005941347,"title":"Pixel 8 Pro SolidSuit (MagSafe 兼容) Snoopy 史努比 Chill moment","handle":"google-pixel-8-pro-solidsuit-android-magsafe-pl58","description":null,"published_at":"2024-01-30T11:49:11+08:00","created_at":"2024-01-30T10:09:01+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-Snoopy 史努比","tags":["10%","20%","30%","40%","50%","brand-Google","designer","designer-snoopy","device-Pixel 8 Pro","merge","reseller-snoopy"],"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":41235301761123,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0230252-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580546318435,"product_id":7164005941347,"position":9,"created_at":"2026-04-02T11:21:00+08:00","updated_at":"2026-04-02T11:21:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2_ac9bc379-c127-4c37-8223-8c9c9b9a79d5.webp?v=1775100062","variant_ids":[41235301761123]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) Snoopy 史努比 Chill moment - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0230252-PL58","featured_media":{"alt":null,"id":27113167913059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2_ac9bc379-c127-4c37-8223-8c9c9b9a79d5.webp?v=1775100062"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41235301793891,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST02302Z7-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580545957987,"product_id":7164005941347,"position":7,"created_at":"2026-04-02T11:20:59+08:00","updated_at":"2026-04-02T11:21:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d2a0d47390d4ef498102ff17c85b9857b6723d_2b32fd49-781e-457f-9709-2081da6cd2c3.webp?v=1775100061","variant_ids":[41235301793891]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) Snoopy 史努比 Chill moment - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST02302Z7-PL58","featured_media":{"alt":null,"id":27113167552611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d2a0d47390d4ef498102ff17c85b9857b6723d_2b32fd49-781e-457f-9709-2081da6cd2c3.webp?v=1775100061"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41235301826659,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST023020B-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580546154595,"product_id":7164005941347,"position":8,"created_at":"2026-04-02T11:20:59+08:00","updated_at":"2026-04-02T11:21:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bd22c0a12e4984699af7905aa331717f238ba9_7de7baa2-c5d3-4152-a83f-714eaf510eb5.webp?v=1775100061","variant_ids":[41235301826659]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) Snoopy 史努比 Chill moment - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST023020B-PL58","featured_media":{"alt":null,"id":27113167749219,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bd22c0a12e4984699af7905aa331717f238ba9_7de7baa2-c5d3-4152-a83f-714eaf510eb5.webp?v=1775100061"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2a2ef949a205f76f6c60a2c1363967266e7e4_0a4a9738-f75b-4b6b-a4b8-d1731c7aa99e.webp?v=1706580543","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9c803726929f1783c231c0452c849f60bcb5592_1cbd0b7a-9c88-4a04-9995-c68e15b25b9a.webp?v=1706580546","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d072941ce64ef76537b43c5e2b2922b5501aca0_a579c9e6-2b61-47f3-9128-4d70b2cbc428.webp?v=1706580548","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2.webp?v=1774940379","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d2a0d47390d4ef498102ff17c85b9857b6723d.webp?v=1774940380","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bd22c0a12e4984699af7905aa331717f238ba9.webp?v=1774940381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d2a0d47390d4ef498102ff17c85b9857b6723d_2b32fd49-781e-457f-9709-2081da6cd2c3.webp?v=1775100061","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bd22c0a12e4984699af7905aa331717f238ba9_7de7baa2-c5d3-4152-a83f-714eaf510eb5.webp?v=1775100061","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2_ac9bc379-c127-4c37-8223-8c9c9b9a79d5.webp?v=1775100062"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2a2ef949a205f76f6c60a2c1363967266e7e4_0a4a9738-f75b-4b6b-a4b8-d1731c7aa99e.webp?v=1706580543","options":["color"],"media":[{"alt":null,"id":23237132681315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2a2ef949a205f76f6c60a2c1363967266e7e4_0a4a9738-f75b-4b6b-a4b8-d1731c7aa99e.webp?v=1706580543"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2a2ef949a205f76f6c60a2c1363967266e7e4_0a4a9738-f75b-4b6b-a4b8-d1731c7aa99e.webp?v=1706580543","width":2000},{"alt":null,"id":23237133795427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9c803726929f1783c231c0452c849f60bcb5592_1cbd0b7a-9c88-4a04-9995-c68e15b25b9a.webp?v=1706580546"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9c803726929f1783c231c0452c849f60bcb5592_1cbd0b7a-9c88-4a04-9995-c68e15b25b9a.webp?v=1706580546","width":2000},{"alt":null,"id":23237134844003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d072941ce64ef76537b43c5e2b2922b5501aca0_a579c9e6-2b61-47f3-9128-4d70b2cbc428.webp?v=1706580548"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d072941ce64ef76537b43c5e2b2922b5501aca0_a579c9e6-2b61-47f3-9128-4d70b2cbc428.webp?v=1706580548","width":2000},{"alt":null,"id":27102509793379,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2.webp?v=1774940379"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2.webp?v=1774940379","width":2000},{"alt":null,"id":27102510022755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d2a0d47390d4ef498102ff17c85b9857b6723d.webp?v=1774940380"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d2a0d47390d4ef498102ff17c85b9857b6723d.webp?v=1774940380","width":2000},{"alt":null,"id":27102510219363,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bd22c0a12e4984699af7905aa331717f238ba9.webp?v=1774940381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bd22c0a12e4984699af7905aa331717f238ba9.webp?v=1774940381","width":2000},{"alt":null,"id":27113167552611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d2a0d47390d4ef498102ff17c85b9857b6723d_2b32fd49-781e-457f-9709-2081da6cd2c3.webp?v=1775100061"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d2a0d47390d4ef498102ff17c85b9857b6723d_2b32fd49-781e-457f-9709-2081da6cd2c3.webp?v=1775100061","width":2000},{"alt":null,"id":27113167749219,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bd22c0a12e4984699af7905aa331717f238ba9_7de7baa2-c5d3-4152-a83f-714eaf510eb5.webp?v=1775100061"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bd22c0a12e4984699af7905aa331717f238ba9_7de7baa2-c5d3-4152-a83f-714eaf510eb5.webp?v=1775100061","width":2000},{"alt":null,"id":27113167913059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2_ac9bc379-c127-4c37-8223-8c9c9b9a79d5.webp?v=1775100062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2_ac9bc379-c127-4c37-8223-8c9c9b9a79d5.webp?v=1775100062","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41235301761123,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0230252-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580546318435,"product_id":7164005941347,"position":9,"created_at":"2026-04-02T11:21:00+08:00","updated_at":"2026-04-02T11:21:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2_ac9bc379-c127-4c37-8223-8c9c9b9a79d5.webp?v=1775100062","variant_ids":[41235301761123]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) Snoopy 史努比 Chill moment - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0230252-PL58","featured_media":{"alt":null,"id":27113167913059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2_ac9bc379-c127-4c37-8223-8c9c9b9a79d5.webp?v=1775100062"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41235301793891,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST02302Z7-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580545957987,"product_id":7164005941347,"position":7,"created_at":"2026-04-02T11:20:59+08:00","updated_at":"2026-04-02T11:21:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d2a0d47390d4ef498102ff17c85b9857b6723d_2b32fd49-781e-457f-9709-2081da6cd2c3.webp?v=1775100061","variant_ids":[41235301793891]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) Snoopy 史努比 Chill moment - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST02302Z7-PL58","featured_media":{"alt":null,"id":27113167552611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d2a0d47390d4ef498102ff17c85b9857b6723d_2b32fd49-781e-457f-9709-2081da6cd2c3.webp?v=1775100061"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41235301826659,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST023020B-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580546154595,"product_id":7164005941347,"position":8,"created_at":"2026-04-02T11:20:59+08:00","updated_at":"2026-04-02T11:21:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bd22c0a12e4984699af7905aa331717f238ba9_7de7baa2-c5d3-4152-a83f-714eaf510eb5.webp?v=1775100061","variant_ids":[41235301826659]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) Snoopy 史努比 Chill moment - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST023020B-PL58","featured_media":{"alt":null,"id":27113167749219,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7bd22c0a12e4984699af7905aa331717f238ba9_7de7baa2-c5d3-4152-a83f-714eaf510eb5.webp?v=1775100061"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41235301761123,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0230252-PL58","requires_shipping":true,"taxable":true,"featured_image":{"id":35580546318435,"product_id":7164005941347,"position":9,"created_at":"2026-04-02T11:21:00+08:00","updated_at":"2026-04-02T11:21:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2_ac9bc379-c127-4c37-8223-8c9c9b9a79d5.webp?v=1775100062","variant_ids":[41235301761123]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) Snoopy 史努比 Chill moment - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0230252-PL58","featured_media":{"alt":null,"id":27113167913059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d50d290e112da369427681c161107eee04359d2_ac9bc379-c127-4c37-8223-8c9c9b9a79d5.webp?v=1775100062"}},"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: "停產" }