$product = {"id":8006904152163,"title":"iPhone 15 Pro SolidX (MagSafe 兼容)","handle":"iphone-15-pro-circularnext-magsafe-bumper-featured-product","description":null,"published_at":"2026-05-05T16:20:45+08:00","created_at":"2026-05-05T15:40:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["20%","25%","30%","35%","40%","45%","50%","all-phone-case-fp","brand-Apple","circularnext-magsafe-featured-product","device-iPhone 15 Pro","discountable","discountable-item","dropdownDevice-Apple iPhone 15 Pro","featured-product","member","quickbuy","reseller","reseller-circularnext-magsafe-bumper","type-circularnext-magsafe-featured-product","viewable"],"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":44163023994979,"title":"揉合桃","option1":"揉合桃","option2":null,"option3":null,"sku":"MSR012971C","requires_shipping":true,"taxable":true,"featured_image":{"id":35756003524707,"product_id":8006904152163,"position":8,"created_at":"2026-05-05T15:41:52+08:00","updated_at":"2026-05-05T15:41:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_e9210104-09c9-4c59-b959-abb07be823ed.webp?v=1777966914","variant_ids":[44163023994979]},"available":true,"name":"iPhone 15 Pro SolidX (MagSafe 兼容) - 揉合桃","public_title":"揉合桃","options":["揉合桃"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366138905","featured_media":{"alt":null,"id":27282644369507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_e9210104-09c9-4c59-b959-abb07be823ed.webp?v=1777966914"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44163024126051,"title":"揉合紫","option1":"揉合紫","option2":null,"option3":null,"sku":"MSR012971D","requires_shipping":true,"taxable":true,"featured_image":{"id":35756003197027,"product_id":8006904152163,"position":7,"created_at":"2026-05-05T15:41:51+08:00","updated_at":"2026-05-05T15:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_08171b4a-a643-4d06-87cf-71a97bd39638.webp?v=1777966913","variant_ids":[44163024126051]},"available":true,"name":"iPhone 15 Pro SolidX (MagSafe 兼容) - 揉合紫","public_title":"揉合紫","options":["揉合紫"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366138912","featured_media":{"alt":null,"id":27282644041827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_08171b4a-a643-4d06-87cf-71a97bd39638.webp?v=1777966913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07.webp?v=1777966872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801.webp?v=1777966873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_56ed17ce-c133-4fc6-81a3-2ce0a486f8a4.webp?v=1777966891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_19581c6d-6976-43eb-801e-36b6bc4e334c.webp?v=1777966892","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_fee227b9-1eec-4abf-9622-3911dc2d64fb.webp?v=1777966901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_091d1c1e-9710-42e6-ae82-ad87d98ef753.webp?v=1777966902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_08171b4a-a643-4d06-87cf-71a97bd39638.webp?v=1777966913","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_e9210104-09c9-4c59-b959-abb07be823ed.webp?v=1777966914"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07.webp?v=1777966872","options":["color"],"media":[{"alt":null,"id":27282638602339,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07.webp?v=1777966872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07.webp?v=1777966872","width":2000},{"alt":null,"id":27282638766179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801.webp?v=1777966873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801.webp?v=1777966873","width":2000},{"alt":null,"id":27282640535651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_56ed17ce-c133-4fc6-81a3-2ce0a486f8a4.webp?v=1777966891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_56ed17ce-c133-4fc6-81a3-2ce0a486f8a4.webp?v=1777966891","width":2000},{"alt":null,"id":27282640928867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_19581c6d-6976-43eb-801e-36b6bc4e334c.webp?v=1777966892"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_19581c6d-6976-43eb-801e-36b6bc4e334c.webp?v=1777966892","width":2000},{"alt":null,"id":27282642239587,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_fee227b9-1eec-4abf-9622-3911dc2d64fb.webp?v=1777966901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_fee227b9-1eec-4abf-9622-3911dc2d64fb.webp?v=1777966901","width":2000},{"alt":null,"id":27282642632803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_091d1c1e-9710-42e6-ae82-ad87d98ef753.webp?v=1777966902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_091d1c1e-9710-42e6-ae82-ad87d98ef753.webp?v=1777966902","width":2000},{"alt":null,"id":27282644041827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_08171b4a-a643-4d06-87cf-71a97bd39638.webp?v=1777966913"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_08171b4a-a643-4d06-87cf-71a97bd39638.webp?v=1777966913","width":2000},{"alt":null,"id":27282644369507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_e9210104-09c9-4c59-b959-abb07be823ed.webp?v=1777966914"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_e9210104-09c9-4c59-b959-abb07be823ed.webp?v=1777966914","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44163023994979,"title":"揉合桃","option1":"揉合桃","option2":null,"option3":null,"sku":"MSR012971C","requires_shipping":true,"taxable":true,"featured_image":{"id":35756003524707,"product_id":8006904152163,"position":8,"created_at":"2026-05-05T15:41:52+08:00","updated_at":"2026-05-05T15:41:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_e9210104-09c9-4c59-b959-abb07be823ed.webp?v=1777966914","variant_ids":[44163023994979]},"available":true,"name":"iPhone 15 Pro SolidX (MagSafe 兼容) - 揉合桃","public_title":"揉合桃","options":["揉合桃"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366138905","featured_media":{"alt":null,"id":27282644369507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_e9210104-09c9-4c59-b959-abb07be823ed.webp?v=1777966914"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44163024126051,"title":"揉合紫","option1":"揉合紫","option2":null,"option3":null,"sku":"MSR012971D","requires_shipping":true,"taxable":true,"featured_image":{"id":35756003197027,"product_id":8006904152163,"position":7,"created_at":"2026-05-05T15:41:51+08:00","updated_at":"2026-05-05T15:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_08171b4a-a643-4d06-87cf-71a97bd39638.webp?v=1777966913","variant_ids":[44163024126051]},"available":true,"name":"iPhone 15 Pro SolidX (MagSafe 兼容) - 揉合紫","public_title":"揉合紫","options":["揉合紫"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366138912","featured_media":{"alt":null,"id":27282644041827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00d54cfd82abacf54fc2e6a795dc27a6c4889e07_08171b4a-a643-4d06-87cf-71a97bd39638.webp?v=1777966913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44163023994979,"title":"揉合桃","option1":"揉合桃","option2":null,"option3":null,"sku":"MSR012971C","requires_shipping":true,"taxable":true,"featured_image":{"id":35756003524707,"product_id":8006904152163,"position":8,"created_at":"2026-05-05T15:41:52+08:00","updated_at":"2026-05-05T15:41:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_e9210104-09c9-4c59-b959-abb07be823ed.webp?v=1777966914","variant_ids":[44163023994979]},"available":true,"name":"iPhone 15 Pro SolidX (MagSafe 兼容) - 揉合桃","public_title":"揉合桃","options":["揉合桃"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366138905","featured_media":{"alt":null,"id":27282644369507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2699bc0d262d43237635ffb43e658869735f9801_e9210104-09c9-4c59-b959-abb07be823ed.webp?v=1777966914"}},"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: "停產" }