$product = {"id":7162669793379,"title":"Galaxy S24+ SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡","handle":"samsung-galaxy-s24-plus-solidsuit-android-magsafe-fa22","description":null,"published_at":"2024-01-31T15:13:45+08:00","created_at":"2024-01-29T12:46:20+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Samsung","designer","designer-bugcat-capoo","device-Galaxy S24+","merge","reseller-bugcat-capoo"],"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":41229727170659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0331552-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581889773667,"product_id":7162669793379,"position":5,"created_at":"2026-04-02T15:24:39+08:00","updated_at":"2026-04-02T15:24:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cba8e0abb56d00deca20215e709aefe27cb2211.webp?v=1775114681","variant_ids":[41229727170659]},"available":true,"name":"Galaxy S24+ SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0331552-FA22","featured_media":{"alt":null,"id":27114509697123,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cba8e0abb56d00deca20215e709aefe27cb2211.webp?v=1775114681"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41229727203427,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST033150A-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581889511523,"product_id":7162669793379,"position":4,"created_at":"2026-04-02T15:24:38+08:00","updated_at":"2026-04-02T15:24:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/416285ac32d2347bb135e4ddab3fd30ba03d3a0a.webp?v=1775114680","variant_ids":[41229727203427]},"available":true,"name":"Galaxy S24+ SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST033150A-FA22","featured_media":{"alt":null,"id":27114509434979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/416285ac32d2347bb135e4ddab3fd30ba03d3a0a.webp?v=1775114680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41229727268963,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST033150B-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581889937507,"product_id":7162669793379,"position":6,"created_at":"2026-04-02T15:24:39+08:00","updated_at":"2026-04-02T15:24:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e4c8b46b71ef1901fdeb6167e90d75d3ddb8ac4.webp?v=1775114681","variant_ids":[41229727268963]},"available":true,"name":"Galaxy S24+ SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - 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":"MST033150B-FA22","featured_media":{"alt":null,"id":27114509860963,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e4c8b46b71ef1901fdeb6167e90d75d3ddb8ac4.webp?v=1775114681"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd6458126a69a7e4868a0c79cf164e581fed0d9d.webp?v=1706503583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2859321408c703023bd579cdb537e6fadc0789.webp?v=1706503585","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a81c69a1cb4b61f3fbf2158491d924f95765693c.webp?v=1706503587","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/416285ac32d2347bb135e4ddab3fd30ba03d3a0a.webp?v=1775114680","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cba8e0abb56d00deca20215e709aefe27cb2211.webp?v=1775114681","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e4c8b46b71ef1901fdeb6167e90d75d3ddb8ac4.webp?v=1775114681"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd6458126a69a7e4868a0c79cf164e581fed0d9d.webp?v=1706503583","options":["color"],"media":[{"alt":null,"id":23232723976291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd6458126a69a7e4868a0c79cf164e581fed0d9d.webp?v=1706503583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd6458126a69a7e4868a0c79cf164e581fed0d9d.webp?v=1706503583","width":2000},{"alt":null,"id":23232724893795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2859321408c703023bd579cdb537e6fadc0789.webp?v=1706503585"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2859321408c703023bd579cdb537e6fadc0789.webp?v=1706503585","width":2000},{"alt":null,"id":23232725745763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a81c69a1cb4b61f3fbf2158491d924f95765693c.webp?v=1706503587"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a81c69a1cb4b61f3fbf2158491d924f95765693c.webp?v=1706503587","width":2000},{"alt":null,"id":27114509434979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/416285ac32d2347bb135e4ddab3fd30ba03d3a0a.webp?v=1775114680"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/416285ac32d2347bb135e4ddab3fd30ba03d3a0a.webp?v=1775114680","width":2000},{"alt":null,"id":27114509697123,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cba8e0abb56d00deca20215e709aefe27cb2211.webp?v=1775114681"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cba8e0abb56d00deca20215e709aefe27cb2211.webp?v=1775114681","width":2000},{"alt":null,"id":27114509860963,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e4c8b46b71ef1901fdeb6167e90d75d3ddb8ac4.webp?v=1775114681"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e4c8b46b71ef1901fdeb6167e90d75d3ddb8ac4.webp?v=1775114681","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41229727170659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0331552-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581889773667,"product_id":7162669793379,"position":5,"created_at":"2026-04-02T15:24:39+08:00","updated_at":"2026-04-02T15:24:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cba8e0abb56d00deca20215e709aefe27cb2211.webp?v=1775114681","variant_ids":[41229727170659]},"available":true,"name":"Galaxy S24+ SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0331552-FA22","featured_media":{"alt":null,"id":27114509697123,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cba8e0abb56d00deca20215e709aefe27cb2211.webp?v=1775114681"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41229727203427,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST033150A-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581889511523,"product_id":7162669793379,"position":4,"created_at":"2026-04-02T15:24:38+08:00","updated_at":"2026-04-02T15:24:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/416285ac32d2347bb135e4ddab3fd30ba03d3a0a.webp?v=1775114680","variant_ids":[41229727203427]},"available":true,"name":"Galaxy S24+ SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST033150A-FA22","featured_media":{"alt":null,"id":27114509434979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/416285ac32d2347bb135e4ddab3fd30ba03d3a0a.webp?v=1775114680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41229727268963,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST033150B-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581889937507,"product_id":7162669793379,"position":6,"created_at":"2026-04-02T15:24:39+08:00","updated_at":"2026-04-02T15:24:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e4c8b46b71ef1901fdeb6167e90d75d3ddb8ac4.webp?v=1775114681","variant_ids":[41229727268963]},"available":true,"name":"Galaxy S24+ SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - 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":"MST033150B-FA22","featured_media":{"alt":null,"id":27114509860963,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e4c8b46b71ef1901fdeb6167e90d75d3ddb8ac4.webp?v=1775114681"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41229727170659,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0331552-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581889773667,"product_id":7162669793379,"position":5,"created_at":"2026-04-02T15:24:39+08:00","updated_at":"2026-04-02T15:24:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cba8e0abb56d00deca20215e709aefe27cb2211.webp?v=1775114681","variant_ids":[41229727170659]},"available":true,"name":"Galaxy S24+ SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0331552-FA22","featured_media":{"alt":null,"id":27114509697123,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cba8e0abb56d00deca20215e709aefe27cb2211.webp?v=1775114681"}},"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: "停產" }