$product = {"id":7018943479907,"title":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 幾米Jimmy Liao 星空-有人陪伴真好","handle":"google-pixel-8-pro-solidsuit-android-magsafe-gg33","description":null,"published_at":"2023-10-05T09:49:56+08:00","created_at":"2023-09-21T10:49:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Google","designer","designer-jimmy","device-Pixel 8 Pro","merge","reseller-jimmy"],"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":40891586805859,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0230252-GG33","requires_shipping":true,"taxable":true,"featured_image":{"id":36179172261987,"product_id":7018943479907,"position":5,"created_at":"2026-07-06T09:38:28+08:00","updated_at":"2026-07-06T09:38:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52_1d7af2db-6f8a-4eca-992f-7eb34b9622e3.webp?v=1783301910","variant_ids":[40891586805859]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 幾米Jimmy Liao 星空-有人陪伴真好 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0230252-GG33","featured_media":{"alt":null,"id":27684006658147,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52_1d7af2db-6f8a-4eca-992f-7eb34b9622e3.webp?v=1783301910"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40891586838627,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST02302Z7-GG33","requires_shipping":true,"taxable":true,"featured_image":{"id":36179172425827,"product_id":7018943479907,"position":6,"created_at":"2026-07-06T09:38:28+08:00","updated_at":"2026-07-06T09:38:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018260dbbddbc0a0a22d6ff473c1a77a0d0d0a09_b8bc5d9b-0a25-4ebb-9368-b8e81befbd47.webp?v=1783301910","variant_ids":[40891586838627]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 幾米Jimmy Liao 星空-有人陪伴真好 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST02302Z7-GG33","featured_media":{"alt":null,"id":27684006821987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018260dbbddbc0a0a22d6ff473c1a77a0d0d0a09_b8bc5d9b-0a25-4ebb-9368-b8e81befbd47.webp?v=1783301910"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40891586904163,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST023020B-GG33","requires_shipping":true,"taxable":true,"featured_image":{"id":36179172556899,"product_id":7018943479907,"position":7,"created_at":"2026-07-06T09:38:29+08:00","updated_at":"2026-07-06T09:38:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb253dd9c6e292cc4512460afcfb0ab1a2992c7c_2f9c834a-bffe-4718-b12d-e73e523de401.webp?v=1783301911","variant_ids":[40891586904163]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 幾米Jimmy Liao 星空-有人陪伴真好 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST023020B-GG33","featured_media":{"alt":null,"id":27684006953059,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb253dd9c6e292cc4512460afcfb0ab1a2992c7c_2f9c834a-bffe-4718-b12d-e73e523de401.webp?v=1783301911"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-302-GG33_d50cd50a-a68f-45e0-96d1-ed4477dd0209.png?v=1695264602","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb253dd9c6e292cc4512460afcfb0ab1a2992c7c.webp?v=1783053122","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52.webp?v=1783053123","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018260dbbddbc0a0a22d6ff473c1a77a0d0d0a09.webp?v=1783053123","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52_1d7af2db-6f8a-4eca-992f-7eb34b9622e3.webp?v=1783301910","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018260dbbddbc0a0a22d6ff473c1a77a0d0d0a09_b8bc5d9b-0a25-4ebb-9368-b8e81befbd47.webp?v=1783301910","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb253dd9c6e292cc4512460afcfb0ab1a2992c7c_2f9c834a-bffe-4718-b12d-e73e523de401.webp?v=1783301911"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-302-GG33_d50cd50a-a68f-45e0-96d1-ed4477dd0209.png?v=1695264602","options":["color"],"media":[{"alt":null,"id":22776954912867,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-302-GG33_d50cd50a-a68f-45e0-96d1-ed4477dd0209.png?v=1695264602"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-302-GG33_d50cd50a-a68f-45e0-96d1-ed4477dd0209.png?v=1695264602","width":2000},{"alt":null,"id":27669944041571,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb253dd9c6e292cc4512460afcfb0ab1a2992c7c.webp?v=1783053122"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb253dd9c6e292cc4512460afcfb0ab1a2992c7c.webp?v=1783053122","width":2000},{"alt":null,"id":27669944467555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52.webp?v=1783053123"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52.webp?v=1783053123","width":2000},{"alt":null,"id":27669944893539,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018260dbbddbc0a0a22d6ff473c1a77a0d0d0a09.webp?v=1783053123"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018260dbbddbc0a0a22d6ff473c1a77a0d0d0a09.webp?v=1783053123","width":2000},{"alt":null,"id":27684006658147,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52_1d7af2db-6f8a-4eca-992f-7eb34b9622e3.webp?v=1783301910"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52_1d7af2db-6f8a-4eca-992f-7eb34b9622e3.webp?v=1783301910","width":2000},{"alt":null,"id":27684006821987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018260dbbddbc0a0a22d6ff473c1a77a0d0d0a09_b8bc5d9b-0a25-4ebb-9368-b8e81befbd47.webp?v=1783301910"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018260dbbddbc0a0a22d6ff473c1a77a0d0d0a09_b8bc5d9b-0a25-4ebb-9368-b8e81befbd47.webp?v=1783301910","width":2000},{"alt":null,"id":27684006953059,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb253dd9c6e292cc4512460afcfb0ab1a2992c7c_2f9c834a-bffe-4718-b12d-e73e523de401.webp?v=1783301911"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb253dd9c6e292cc4512460afcfb0ab1a2992c7c_2f9c834a-bffe-4718-b12d-e73e523de401.webp?v=1783301911","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":40891586805859,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0230252-GG33","requires_shipping":true,"taxable":true,"featured_image":{"id":36179172261987,"product_id":7018943479907,"position":5,"created_at":"2026-07-06T09:38:28+08:00","updated_at":"2026-07-06T09:38:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52_1d7af2db-6f8a-4eca-992f-7eb34b9622e3.webp?v=1783301910","variant_ids":[40891586805859]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 幾米Jimmy Liao 星空-有人陪伴真好 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0230252-GG33","featured_media":{"alt":null,"id":27684006658147,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52_1d7af2db-6f8a-4eca-992f-7eb34b9622e3.webp?v=1783301910"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40891586838627,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST02302Z7-GG33","requires_shipping":true,"taxable":true,"featured_image":{"id":36179172425827,"product_id":7018943479907,"position":6,"created_at":"2026-07-06T09:38:28+08:00","updated_at":"2026-07-06T09:38:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018260dbbddbc0a0a22d6ff473c1a77a0d0d0a09_b8bc5d9b-0a25-4ebb-9368-b8e81befbd47.webp?v=1783301910","variant_ids":[40891586838627]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 幾米Jimmy Liao 星空-有人陪伴真好 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST02302Z7-GG33","featured_media":{"alt":null,"id":27684006821987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/018260dbbddbc0a0a22d6ff473c1a77a0d0d0a09_b8bc5d9b-0a25-4ebb-9368-b8e81befbd47.webp?v=1783301910"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40891586904163,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST023020B-GG33","requires_shipping":true,"taxable":true,"featured_image":{"id":36179172556899,"product_id":7018943479907,"position":7,"created_at":"2026-07-06T09:38:29+08:00","updated_at":"2026-07-06T09:38:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb253dd9c6e292cc4512460afcfb0ab1a2992c7c_2f9c834a-bffe-4718-b12d-e73e523de401.webp?v=1783301911","variant_ids":[40891586904163]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 幾米Jimmy Liao 星空-有人陪伴真好 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST023020B-GG33","featured_media":{"alt":null,"id":27684006953059,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb253dd9c6e292cc4512460afcfb0ab1a2992c7c_2f9c834a-bffe-4718-b12d-e73e523de401.webp?v=1783301911"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":40891586805859,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0230252-GG33","requires_shipping":true,"taxable":true,"featured_image":{"id":36179172261987,"product_id":7018943479907,"position":5,"created_at":"2026-07-06T09:38:28+08:00","updated_at":"2026-07-06T09:38:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52_1d7af2db-6f8a-4eca-992f-7eb34b9622e3.webp?v=1783301910","variant_ids":[40891586805859]},"available":true,"name":"Pixel 8 Pro SolidSuit (MagSafe 兼容) 幾米Jimmy Liao 星空-有人陪伴真好 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0230252-GG33","featured_media":{"alt":null,"id":27684006658147,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21612b0673b1b2a9d21203ef80e97652318cbd52_1d7af2db-6f8a-4eca-992f-7eb34b9622e3.webp?v=1783301910"}},"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: "停產" }