$product = {"id":8006903988323,"title":"iPhone 15 Plus SolidX","handle":"iphone-15-plus-circularnext-bumper-featured-product","description":null,"published_at":"2026-05-05T16:20:41+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-featured-product","device-iPhone 15 Plus","discountable","discountable-item","dropdownDevice-Apple iPhone 15 Plus","featured-product","member","quickbuy","reseller","reseller-circularnext-bumper","type-circularnext-featured-product","viewable"],"price":105000,"price_min":105000,"price_max":105000,"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":44163023765603,"title":"揉合桃","option1":"揉合桃","option2":null,"option3":null,"sku":"SSR012961C","requires_shipping":true,"taxable":true,"featured_image":{"id":35756003426403,"product_id":8006903988323,"position":8,"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\/781551f7e08be35689e0229701b6a9dabb408635_816026db-1126-4007-baef-32d08337c761.webp?v=1777966913","variant_ids":[44163023765603]},"available":true,"name":"iPhone 15 Plus SolidX - 揉合桃","public_title":"揉合桃","options":["揉合桃"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366135898","featured_media":{"alt":null,"id":27282644271203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_816026db-1126-4007-baef-32d08337c761.webp?v=1777966913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44163023831139,"title":"揉合紫","option1":"揉合紫","option2":null,"option3":null,"sku":"SSR012961D","requires_shipping":true,"taxable":true,"featured_image":{"id":35756002443363,"product_id":8006903988323,"position":7,"created_at":"2026-05-05T15:41:49+08:00","updated_at":"2026-05-05T15:41:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_88f1922b-7646-4137-a449-8213fe4cd2d4.webp?v=1777966911","variant_ids":[44163023831139]},"available":true,"name":"iPhone 15 Plus SolidX - 揉合紫","public_title":"揉合紫","options":["揉合紫"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366135904","featured_media":{"alt":null,"id":27282643386467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_88f1922b-7646-4137-a449-8213fe4cd2d4.webp?v=1777966911"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc.webp?v=1777966870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635.webp?v=1777966872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_b0db0ce2-e2b7-4443-a427-a1c6afa67dd5.webp?v=1777966889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_949e0ef4-6073-4c62-8bc1-3c3cf3a06c10.webp?v=1777966892","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_d9f48df1-540f-4f02-b56b-de30f2c3021a.webp?v=1777966900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_110bb3d6-26e5-4f46-a15f-b079bda81092.webp?v=1777966902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_88f1922b-7646-4137-a449-8213fe4cd2d4.webp?v=1777966911","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_816026db-1126-4007-baef-32d08337c761.webp?v=1777966913"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc.webp?v=1777966870","options":["color"],"media":[{"alt":null,"id":27282637979747,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc.webp?v=1777966870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc.webp?v=1777966870","width":2000},{"alt":null,"id":27282638504035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635.webp?v=1777966872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635.webp?v=1777966872","width":2000},{"alt":null,"id":27282639945827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_b0db0ce2-e2b7-4443-a427-a1c6afa67dd5.webp?v=1777966889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_b0db0ce2-e2b7-4443-a427-a1c6afa67dd5.webp?v=1777966889","width":2000},{"alt":null,"id":27282640863331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_949e0ef4-6073-4c62-8bc1-3c3cf3a06c10.webp?v=1777966892"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_949e0ef4-6073-4c62-8bc1-3c3cf3a06c10.webp?v=1777966892","width":2000},{"alt":null,"id":27282641682531,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_d9f48df1-540f-4f02-b56b-de30f2c3021a.webp?v=1777966900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_d9f48df1-540f-4f02-b56b-de30f2c3021a.webp?v=1777966900","width":2000},{"alt":null,"id":27282642534499,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_110bb3d6-26e5-4f46-a15f-b079bda81092.webp?v=1777966902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_110bb3d6-26e5-4f46-a15f-b079bda81092.webp?v=1777966902","width":2000},{"alt":null,"id":27282643386467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_88f1922b-7646-4137-a449-8213fe4cd2d4.webp?v=1777966911"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_88f1922b-7646-4137-a449-8213fe4cd2d4.webp?v=1777966911","width":2000},{"alt":null,"id":27282644271203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_816026db-1126-4007-baef-32d08337c761.webp?v=1777966913"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_816026db-1126-4007-baef-32d08337c761.webp?v=1777966913","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44163023765603,"title":"揉合桃","option1":"揉合桃","option2":null,"option3":null,"sku":"SSR012961C","requires_shipping":true,"taxable":true,"featured_image":{"id":35756003426403,"product_id":8006903988323,"position":8,"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\/781551f7e08be35689e0229701b6a9dabb408635_816026db-1126-4007-baef-32d08337c761.webp?v=1777966913","variant_ids":[44163023765603]},"available":true,"name":"iPhone 15 Plus SolidX - 揉合桃","public_title":"揉合桃","options":["揉合桃"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366135898","featured_media":{"alt":null,"id":27282644271203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_816026db-1126-4007-baef-32d08337c761.webp?v=1777966913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44163023831139,"title":"揉合紫","option1":"揉合紫","option2":null,"option3":null,"sku":"SSR012961D","requires_shipping":true,"taxable":true,"featured_image":{"id":35756002443363,"product_id":8006903988323,"position":7,"created_at":"2026-05-05T15:41:49+08:00","updated_at":"2026-05-05T15:41:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_88f1922b-7646-4137-a449-8213fe4cd2d4.webp?v=1777966911","variant_ids":[44163023831139]},"available":true,"name":"iPhone 15 Plus SolidX - 揉合紫","public_title":"揉合紫","options":["揉合紫"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366135904","featured_media":{"alt":null,"id":27282643386467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8670a6ed48ecd92881fbcc25376a2ca5706bbc_88f1922b-7646-4137-a449-8213fe4cd2d4.webp?v=1777966911"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44163023765603,"title":"揉合桃","option1":"揉合桃","option2":null,"option3":null,"sku":"SSR012961C","requires_shipping":true,"taxable":true,"featured_image":{"id":35756003426403,"product_id":8006903988323,"position":8,"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\/781551f7e08be35689e0229701b6a9dabb408635_816026db-1126-4007-baef-32d08337c761.webp?v=1777966913","variant_ids":[44163023765603]},"available":true,"name":"iPhone 15 Plus SolidX - 揉合桃","public_title":"揉合桃","options":["揉合桃"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366135898","featured_media":{"alt":null,"id":27282644271203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/781551f7e08be35689e0229701b6a9dabb408635_816026db-1126-4007-baef-32d08337c761.webp?v=1777966913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }