$product = {"id":8042194829411,"title":"Pixel 10 SolidX (MagSafe 兼容) NBA Logo-洛杉磯湖人 L.A. Lakers","handle":"google-pixel-10-solidx-magsafe-pm10","description":null,"published_at":"2026-07-15T10:40:58+08:00","created_at":"2026-06-23T16:24:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Google","designer","designer-nba","device-Pixel 10","merge","reseller-nba"],"price":145000,"price_min":145000,"price_max":145000,"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":44281769656419,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS023490B-PM10","requires_shipping":true,"taxable":true,"featured_image":{"id":36152247910499,"product_id":8042194829411,"position":8,"created_at":"2026-07-02T12:11:36+08:00","updated_at":"2026-07-02T12:11:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_8590153b-f6c8-41b6-b72f-3d95e967490f.webp?v=1782965497","variant_ids":[44281769656419]},"available":true,"name":"Pixel 10 SolidX (MagSafe 兼容) NBA Logo-洛杉磯湖人 L.A. Lakers - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS023490B-PM10","featured_media":{"alt":null,"id":27657121398883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_8590153b-f6c8-41b6-b72f-3d95e967490f.webp?v=1782965497"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44281773817955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0234952-PM10","requires_shipping":true,"taxable":true,"featured_image":{"id":36152247681123,"product_id":8042194829411,"position":7,"created_at":"2026-07-02T12:11:35+08:00","updated_at":"2026-07-02T12:11:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_913b1f42-1479-4318-9d3a-885baaaf793d.webp?v=1782965497","variant_ids":[44281773817955]},"available":true,"name":"Pixel 10 SolidX (MagSafe 兼容) NBA Logo-洛杉磯湖人 L.A. Lakers - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0234952-PM10","featured_media":{"alt":null,"id":27657121169507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_913b1f42-1479-4318-9d3a-885baaaf793d.webp?v=1782965497"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_1aab2d0e-be2f-488b-a7a9-747f047c399d.webp?v=1782203080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_a9dcb733-7139-4dd8-bd89-5180514ab423.webp?v=1782203080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_01bc6e8e-3d55-40d4-adf4-8f0024b58e83.webp?v=1782957152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_6eb7ba0c-ddf5-4e2f-a8da-2f26495d1ede.webp?v=1782957152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_e091746e-8ff7-4ded-845e-2f799ea4da06.webp?v=1782961161","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_cfe41802-9d5b-4360-9439-f8e4e65f9d14.webp?v=1782961162","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_913b1f42-1479-4318-9d3a-885baaaf793d.webp?v=1782965497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_8590153b-f6c8-41b6-b72f-3d95e967490f.webp?v=1782965497"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_1aab2d0e-be2f-488b-a7a9-747f047c399d.webp?v=1782203080","options":["color"],"media":[{"alt":null,"id":27574273507427,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_1aab2d0e-be2f-488b-a7a9-747f047c399d.webp?v=1782203080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_1aab2d0e-be2f-488b-a7a9-747f047c399d.webp?v=1782203080","width":2000},{"alt":null,"id":27574274523235,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_a9dcb733-7139-4dd8-bd89-5180514ab423.webp?v=1782203080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_a9dcb733-7139-4dd8-bd89-5180514ab423.webp?v=1782203080","width":2000},{"alt":null,"id":27655739539555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_01bc6e8e-3d55-40d4-adf4-8f0024b58e83.webp?v=1782957152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_01bc6e8e-3d55-40d4-adf4-8f0024b58e83.webp?v=1782957152","width":2000},{"alt":null,"id":27655740031075,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_6eb7ba0c-ddf5-4e2f-a8da-2f26495d1ede.webp?v=1782957152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_6eb7ba0c-ddf5-4e2f-a8da-2f26495d1ede.webp?v=1782957152","width":2000},{"alt":null,"id":27656674869347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_e091746e-8ff7-4ded-845e-2f799ea4da06.webp?v=1782961161"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_e091746e-8ff7-4ded-845e-2f799ea4da06.webp?v=1782961161","width":2000},{"alt":null,"id":27656674967651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_cfe41802-9d5b-4360-9439-f8e4e65f9d14.webp?v=1782961162"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_cfe41802-9d5b-4360-9439-f8e4e65f9d14.webp?v=1782961162","width":2000},{"alt":null,"id":27657121169507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_913b1f42-1479-4318-9d3a-885baaaf793d.webp?v=1782965497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_913b1f42-1479-4318-9d3a-885baaaf793d.webp?v=1782965497","width":2000},{"alt":null,"id":27657121398883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_8590153b-f6c8-41b6-b72f-3d95e967490f.webp?v=1782965497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_8590153b-f6c8-41b6-b72f-3d95e967490f.webp?v=1782965497","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44281769656419,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS023490B-PM10","requires_shipping":true,"taxable":true,"featured_image":{"id":36152247910499,"product_id":8042194829411,"position":8,"created_at":"2026-07-02T12:11:36+08:00","updated_at":"2026-07-02T12:11:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_8590153b-f6c8-41b6-b72f-3d95e967490f.webp?v=1782965497","variant_ids":[44281769656419]},"available":true,"name":"Pixel 10 SolidX (MagSafe 兼容) NBA Logo-洛杉磯湖人 L.A. Lakers - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS023490B-PM10","featured_media":{"alt":null,"id":27657121398883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_8590153b-f6c8-41b6-b72f-3d95e967490f.webp?v=1782965497"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44281773817955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0234952-PM10","requires_shipping":true,"taxable":true,"featured_image":{"id":36152247681123,"product_id":8042194829411,"position":7,"created_at":"2026-07-02T12:11:35+08:00","updated_at":"2026-07-02T12:11:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_913b1f42-1479-4318-9d3a-885baaaf793d.webp?v=1782965497","variant_ids":[44281773817955]},"available":true,"name":"Pixel 10 SolidX (MagSafe 兼容) NBA Logo-洛杉磯湖人 L.A. Lakers - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0234952-PM10","featured_media":{"alt":null,"id":27657121169507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebfed79c97f0cc3062691cc9456fd03c60821307_913b1f42-1479-4318-9d3a-885baaaf793d.webp?v=1782965497"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44281769656419,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS023490B-PM10","requires_shipping":true,"taxable":true,"featured_image":{"id":36152247910499,"product_id":8042194829411,"position":8,"created_at":"2026-07-02T12:11:36+08:00","updated_at":"2026-07-02T12:11:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_8590153b-f6c8-41b6-b72f-3d95e967490f.webp?v=1782965497","variant_ids":[44281769656419]},"available":true,"name":"Pixel 10 SolidX (MagSafe 兼容) NBA Logo-洛杉磯湖人 L.A. Lakers - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS023490B-PM10","featured_media":{"alt":null,"id":27657121398883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f850914c852bfadb0edf94d85e78646cc7b8170a_8590153b-f6c8-41b6-b72f-3d95e967490f.webp?v=1782965497"}},"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: "停產" }