$product = {"id":7920526819427,"title":"Pixel 10 Pro XL SolidX 咒術迴戰 懷玉・玉折戰鬥系列-五條悟","handle":"google-pixel-10-pro-xl-solidx-ptt01","description":null,"published_at":"2025-11-10T16:36:04+08:00","created_at":"2025-11-10T15:02:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Google","designer","designer-jujutsu-kaisen","device-Pixel 10 Pro XL","merge","reseller-jujutsu-kaisen"],"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":43828864090211,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0235652-PTT01","requires_shipping":true,"taxable":true,"featured_image":{"id":36124569337955,"product_id":7920526819427,"position":8,"created_at":"2026-06-29T15:10:57+08:00","updated_at":"2026-06-29T15:10:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_697ed2f6-ac81-4aeb-83ce-fac159dd3ef0.webp?v=1782717059","variant_ids":[43828864090211]},"available":true,"name":"Pixel 10 Pro XL SolidX 咒術迴戰 懷玉・玉折戰鬥系列-五條悟 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0235652-PTT01","featured_media":{"alt":null,"id":27629812285539,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_697ed2f6-ac81-4aeb-83ce-fac159dd3ef0.webp?v=1782717059"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7.webp?v=1762758171","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8.webp?v=1762758172","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_e22cd4a2-3555-481b-a55b-a5b89209bdd0.webp?v=1782264446","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8_0e85c500-7288-4f9a-a544-7e0c5c79a741.webp?v=1782264447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_99f754a5-24cc-45e2-b4b4-53b7781cec40.webp?v=1782290969","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8_1e078de5-09c3-4dc2-9fa8-0469085a2eb7.webp?v=1782290970","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8_151e0b62-03db-45f9-9895-467dfd9a4639.webp?v=1782717059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_697ed2f6-ac81-4aeb-83ce-fac159dd3ef0.webp?v=1782717059"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7.webp?v=1762758171","options":["color"],"media":[{"alt":null,"id":26347771363427,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7.webp?v=1762758171"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7.webp?v=1762758171","width":2000},{"alt":null,"id":26347771560035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8.webp?v=1762758172"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8.webp?v=1762758172","width":2000},{"alt":null,"id":27586699034723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_e22cd4a2-3555-481b-a55b-a5b89209bdd0.webp?v=1782264446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_e22cd4a2-3555-481b-a55b-a5b89209bdd0.webp?v=1782264446","width":2000},{"alt":null,"id":27586699788387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8_0e85c500-7288-4f9a-a544-7e0c5c79a741.webp?v=1782264447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8_0e85c500-7288-4f9a-a544-7e0c5c79a741.webp?v=1782264447","width":2000},{"alt":null,"id":27594505453667,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_99f754a5-24cc-45e2-b4b4-53b7781cec40.webp?v=1782290969"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_99f754a5-24cc-45e2-b4b4-53b7781cec40.webp?v=1782290969","width":2000},{"alt":null,"id":27594505617507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8_1e078de5-09c3-4dc2-9fa8-0469085a2eb7.webp?v=1782290970"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8_1e078de5-09c3-4dc2-9fa8-0469085a2eb7.webp?v=1782290970","width":2000},{"alt":null,"id":27629811794019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8_151e0b62-03db-45f9-9895-467dfd9a4639.webp?v=1782717059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ec3ad4e69167e5917f020dffef2bc7cffe678f8_151e0b62-03db-45f9-9895-467dfd9a4639.webp?v=1782717059","width":2000},{"alt":null,"id":27629812285539,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_697ed2f6-ac81-4aeb-83ce-fac159dd3ef0.webp?v=1782717059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_697ed2f6-ac81-4aeb-83ce-fac159dd3ef0.webp?v=1782717059","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828864090211,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0235652-PTT01","requires_shipping":true,"taxable":true,"featured_image":{"id":36124569337955,"product_id":7920526819427,"position":8,"created_at":"2026-06-29T15:10:57+08:00","updated_at":"2026-06-29T15:10:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_697ed2f6-ac81-4aeb-83ce-fac159dd3ef0.webp?v=1782717059","variant_ids":[43828864090211]},"available":true,"name":"Pixel 10 Pro XL SolidX 咒術迴戰 懷玉・玉折戰鬥系列-五條悟 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0235652-PTT01","featured_media":{"alt":null,"id":27629812285539,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_697ed2f6-ac81-4aeb-83ce-fac159dd3ef0.webp?v=1782717059"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828864090211,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0235652-PTT01","requires_shipping":true,"taxable":true,"featured_image":{"id":36124569337955,"product_id":7920526819427,"position":8,"created_at":"2026-06-29T15:10:57+08:00","updated_at":"2026-06-29T15:10:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_697ed2f6-ac81-4aeb-83ce-fac159dd3ef0.webp?v=1782717059","variant_ids":[43828864090211]},"available":true,"name":"Pixel 10 Pro XL SolidX 咒術迴戰 懷玉・玉折戰鬥系列-五條悟 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0235652-PTT01","featured_media":{"alt":null,"id":27629812285539,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a126869726531c53b728b54ba8f8da1e21b68ca7_697ed2f6-ac81-4aeb-83ce-fac159dd3ef0.webp?v=1782717059"}},"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: "停產" }