$product = {"id":7862781902947,"title":"犀牛盾Clear Case (MagSafe 兼容 \u0026 相機按鈕)防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue","handle":"iphone-17-jellytint-magsafe-with-capture-button-mj56","description":"","published_at":"2025-09-11T09:56:45+08:00","created_at":"2025-08-22T17:48:02+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-noreason","device-iPhone 17","merge","reseller-jellytint-magsafe-with-capture-button-noreason","reseller-noreason","Top50","type-jellytint-magsafe-with-capture-button"],"price":148000,"price_min":148000,"price_max":148000,"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":43607041638499,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013500G-MJ56","requires_shipping":true,"taxable":true,"featured_image":{"id":34839545905251,"product_id":7862781902947,"position":14,"created_at":"2025-11-25T16:35:31+08:00","updated_at":"2025-11-25T16:35:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_0b59090b-6917-4941-85e6-3951f6513215.webp?v=1764059733","variant_ids":[43607041638499]},"available":true,"name":"犀牛盾Clear Case (MagSafe 兼容 \u0026 相機按鈕)防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013500G-MJ56","featured_media":{"alt":null,"id":26404235968611,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_0b59090b-6917-4941-85e6-3951f6513215.webp?v=1764059733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MJB013500G-MJ56_250da717-3227-4691-a6fa-5b8f7bc12b9e.webp?v=1764058898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MJB013504M-MJ56.webp?v=1764058899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MJB013504L-MJ56_b9dd3770-38d4-44dd-9774-f25b61ab5468.webp?v=1764058898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b56e2f4f5a4efcba87412bb9e522f70d48208c.webp?v=1764059148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/330f4af6744f7778c45cb5c345c4bee589a104a1.webp?v=1764059149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd2567beb4e999c7e636e16d4d3566bf9128bbdc.webp?v=1764059150","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215323d21c14b4adf1ca89f5e2cffe8457702d23.webp?v=1764059350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5280782734241fbfc2d72800206f786f36c592c.webp?v=1764059350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d.webp?v=1764059351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5280782734241fbfc2d72800206f786f36c592c_11c5ce8b-70db-47db-afc5-67f1af0186ca.webp?v=1764059398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215323d21c14b4adf1ca89f5e2cffe8457702d23_8a1201bb-0ad8-49a4-a53b-1d26c9e9e1db.webp?v=1764059399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_a675a4f6-1807-4734-ac31-8fdfa3b84ba8.webp?v=1764059400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215323d21c14b4adf1ca89f5e2cffe8457702d23_d7068e63-d13a-47db-a4ae-8f65f9b52a56.webp?v=1764059732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_0b59090b-6917-4941-85e6-3951f6513215.webp?v=1764059733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5280782734241fbfc2d72800206f786f36c592c_f14cd803-24b6-4ebc-b17c-a0837e5ef41e.webp?v=1764059733"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MJB013500G-MJ56_250da717-3227-4691-a6fa-5b8f7bc12b9e.webp?v=1764058898","options":["color"],"media":[{"alt":null,"id":26404156342371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MJB013500G-MJ56_250da717-3227-4691-a6fa-5b8f7bc12b9e.webp?v=1764058898"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MJB013500G-MJ56_250da717-3227-4691-a6fa-5b8f7bc12b9e.webp?v=1764058898","width":1080},{"alt":null,"id":26404156375139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MJB013504M-MJ56.webp?v=1764058899"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MJB013504M-MJ56.webp?v=1764058899","width":1080},{"alt":null,"id":26404156407907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MJB013504L-MJ56_b9dd3770-38d4-44dd-9774-f25b61ab5468.webp?v=1764058898"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MJB013504L-MJ56_b9dd3770-38d4-44dd-9774-f25b61ab5468.webp?v=1764058898","width":1080},{"alt":null,"id":26404174987363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b56e2f4f5a4efcba87412bb9e522f70d48208c.webp?v=1764059148"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b56e2f4f5a4efcba87412bb9e522f70d48208c.webp?v=1764059148","width":1080},{"alt":null,"id":26404175315043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/330f4af6744f7778c45cb5c345c4bee589a104a1.webp?v=1764059149"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/330f4af6744f7778c45cb5c345c4bee589a104a1.webp?v=1764059149","width":1080},{"alt":null,"id":26404175839331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd2567beb4e999c7e636e16d4d3566bf9128bbdc.webp?v=1764059150"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd2567beb4e999c7e636e16d4d3566bf9128bbdc.webp?v=1764059150","width":1080},{"alt":null,"id":26404187635811,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215323d21c14b4adf1ca89f5e2cffe8457702d23.webp?v=1764059350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215323d21c14b4adf1ca89f5e2cffe8457702d23.webp?v=1764059350","width":2000},{"alt":null,"id":26404187963491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5280782734241fbfc2d72800206f786f36c592c.webp?v=1764059350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5280782734241fbfc2d72800206f786f36c592c.webp?v=1764059350","width":2000},{"alt":null,"id":26404188160099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d.webp?v=1764059351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d.webp?v=1764059351","width":2000},{"alt":null,"id":26404191633507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5280782734241fbfc2d72800206f786f36c592c_11c5ce8b-70db-47db-afc5-67f1af0186ca.webp?v=1764059398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5280782734241fbfc2d72800206f786f36c592c_11c5ce8b-70db-47db-afc5-67f1af0186ca.webp?v=1764059398","width":2000},{"alt":null,"id":26404191928419,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215323d21c14b4adf1ca89f5e2cffe8457702d23_8a1201bb-0ad8-49a4-a53b-1d26c9e9e1db.webp?v=1764059399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215323d21c14b4adf1ca89f5e2cffe8457702d23_8a1201bb-0ad8-49a4-a53b-1d26c9e9e1db.webp?v=1764059399","width":2000},{"alt":null,"id":26404192419939,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_a675a4f6-1807-4734-ac31-8fdfa3b84ba8.webp?v=1764059400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_a675a4f6-1807-4734-ac31-8fdfa3b84ba8.webp?v=1764059400","width":2000},{"alt":null,"id":26404235837539,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215323d21c14b4adf1ca89f5e2cffe8457702d23_d7068e63-d13a-47db-a4ae-8f65f9b52a56.webp?v=1764059732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215323d21c14b4adf1ca89f5e2cffe8457702d23_d7068e63-d13a-47db-a4ae-8f65f9b52a56.webp?v=1764059732","width":2000},{"alt":null,"id":26404235968611,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_0b59090b-6917-4941-85e6-3951f6513215.webp?v=1764059733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_0b59090b-6917-4941-85e6-3951f6513215.webp?v=1764059733","width":2000},{"alt":null,"id":26404236132451,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5280782734241fbfc2d72800206f786f36c592c_f14cd803-24b6-4ebc-b17c-a0837e5ef41e.webp?v=1764059733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5280782734241fbfc2d72800206f786f36c592c_f14cd803-24b6-4ebc-b17c-a0837e5ef41e.webp?v=1764059733","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""}; $isMerge = null; $variants = [{"id":43607041638499,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013500G-MJ56","requires_shipping":true,"taxable":true,"featured_image":{"id":34839545905251,"product_id":7862781902947,"position":14,"created_at":"2025-11-25T16:35:31+08:00","updated_at":"2025-11-25T16:35:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_0b59090b-6917-4941-85e6-3951f6513215.webp?v=1764059733","variant_ids":[43607041638499]},"available":true,"name":"犀牛盾Clear Case (MagSafe 兼容 \u0026 相機按鈕)防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013500G-MJ56","featured_media":{"alt":null,"id":26404235968611,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_0b59090b-6917-4941-85e6-3951f6513215.webp?v=1764059733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43607041638499,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013500G-MJ56","requires_shipping":true,"taxable":true,"featured_image":{"id":34839545905251,"product_id":7862781902947,"position":14,"created_at":"2025-11-25T16:35:31+08:00","updated_at":"2025-11-25T16:35:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_0b59090b-6917-4941-85e6-3951f6513215.webp?v=1764059733","variant_ids":[43607041638499]},"available":true,"name":"犀牛盾Clear Case (MagSafe 兼容 \u0026 相機按鈕)防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013500G-MJ56","featured_media":{"alt":null,"id":26404235968611,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7e340b9a78928191187be7d99b5ae33ae88aa8d_0b59090b-6917-4941-85e6-3951f6513215.webp?v=1764059733"}},"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: "停產" }