$product = {"id":7860571865187,"title":"iPhone 17 Pro SolidX","handle":"iphone-17-pro-solidx-bumper-back-featured-product","description":"","published_at":"2025-08-21T11:00:18+08:00","created_at":"2025-08-21T10:58:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"SolidX","tags":["20%","25%","30%","35%","40%","45%","50%","all-phone-case-fp","brand-Apple","device-iPhone 17 Pro","discountable","discountable-item","dropdownDevice-Apple iPhone 17 Pro","featured-product","iphone-17-series","member","quickbuy","reseller","reseller-solidx","solidx-featured-product","type-solidx-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":43602713477219,"title":"晨陶棕","option1":"晨陶棕","option2":null,"option3":null,"sku":"NST013524H","requires_shipping":true,"taxable":true,"featured_image":{"id":35969117978723,"product_id":7860571865187,"position":7,"created_at":"2026-06-11T09:13:39+08:00","updated_at":"2026-06-11T09:13:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_639053ec-8b9a-4f82-86f9-9cc6c3da8598.webp?v=1781140421","variant_ids":[43602713477219]},"available":true,"name":"iPhone 17 Pro SolidX - 晨陶棕","public_title":"晨陶棕","options":["晨陶棕"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":-77,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592494714","featured_media":{"alt":null,"id":27491537387619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_639053ec-8b9a-4f82-86f9-9cc6c3da8598.webp?v=1781140421"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797509439587,"title":"濃海藍","option1":"濃海藍","option2":null,"option3":null,"sku":"NST013523O","requires_shipping":true,"taxable":true,"featured_image":{"id":35969116274787,"product_id":7860571865187,"position":8,"created_at":"2026-06-11T09:13:34+08:00","updated_at":"2026-06-11T09:13:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd3a20b29b81a01b7ca044b5f737f39640670bdf_781f5404-2601-4288-ae24-0472c6d53b33.webp?v=1781140416","variant_ids":[43797509439587]},"available":true,"name":"iPhone 17 Pro SolidX - 濃海藍","public_title":"濃海藍","options":["濃海藍"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":-64,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366131029","featured_media":{"alt":null,"id":27491535683683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd3a20b29b81a01b7ca044b5f737f39640670bdf_781f5404-2601-4288-ae24-0472c6d53b33.webp?v=1781140416"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797509472355,"title":"螢光橘","option1":"螢光橘","option2":null,"option3":null,"sku":"NST013520F","requires_shipping":true,"taxable":true,"featured_image":{"id":35969116602467,"product_id":7860571865187,"position":9,"created_at":"2026-06-11T09:13:35+08:00","updated_at":"2026-06-11T09:13:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c35699a9fd31c4589d492338b9ff16657cb19b2_6bde475a-93b4-4012-91d6-894711d4d790.webp?v=1781140417","variant_ids":[43797509472355]},"available":true,"name":"iPhone 17 Pro SolidX - 螢光橘","public_title":"螢光橘","options":["螢光橘"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":-59,"inventory_management":null,"inventory_policy":"deny","barcode":"4711593416357","featured_media":{"alt":null,"id":27491536011363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c35699a9fd31c4589d492338b9ff16657cb19b2_6bde475a-93b4-4012-91d6-894711d4d790.webp?v=1781140417"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb9b7ac7708a2abf3cd60821befcce3907dea956.webp?v=1755745112","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03a8ca6e9acfa58118dcfdee801b0f29496c91e2.webp?v=1755745115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d67f2b0f9d9939b834a9ac727a72e324c19fdb96.webp?v=1755745117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f0f1b2dd2398f8245ad450e656a81211995063b.webp?v=1755745117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_9ea1b567-ff30-4bd0-85fd-1d0f1702a077.webp?v=1766462009","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb9b7ac7708a2abf3cd60821befcce3907dea956_eb212f2a-e09b-4c06-9863-8d1f528366ad.webp?v=1781140424","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_639053ec-8b9a-4f82-86f9-9cc6c3da8598.webp?v=1781140421","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd3a20b29b81a01b7ca044b5f737f39640670bdf_781f5404-2601-4288-ae24-0472c6d53b33.webp?v=1781140416","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c35699a9fd31c4589d492338b9ff16657cb19b2_6bde475a-93b4-4012-91d6-894711d4d790.webp?v=1781140417","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ea542fa8fe38c22fa9ea3814079f1df9f5b4cae_5e9ab0dc-c706-41ff-8dc0-cc68ff9639e6.webp?v=1781140418"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb9b7ac7708a2abf3cd60821befcce3907dea956.webp?v=1755745112","options":["color"],"media":[{"alt":null,"id":25932811665507,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb9b7ac7708a2abf3cd60821befcce3907dea956.webp?v=1755745112"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb9b7ac7708a2abf3cd60821befcce3907dea956.webp?v=1755745112","width":2000},{"alt":null,"id":25932812189795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03a8ca6e9acfa58118dcfdee801b0f29496c91e2.webp?v=1755745115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03a8ca6e9acfa58118dcfdee801b0f29496c91e2.webp?v=1755745115","width":2000},{"alt":null,"id":25932812386403,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d67f2b0f9d9939b834a9ac727a72e324c19fdb96.webp?v=1755745117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d67f2b0f9d9939b834a9ac727a72e324c19fdb96.webp?v=1755745117","width":2000},{"alt":null,"id":25932812419171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f0f1b2dd2398f8245ad450e656a81211995063b.webp?v=1755745117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f0f1b2dd2398f8245ad450e656a81211995063b.webp?v=1755745117","width":2000},{"alt":null,"id":26557406314595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_9ea1b567-ff30-4bd0-85fd-1d0f1702a077.webp?v=1766462009"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_9ea1b567-ff30-4bd0-85fd-1d0f1702a077.webp?v=1766462009","width":2000},{"alt":null,"id":27491537780835,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb9b7ac7708a2abf3cd60821befcce3907dea956_eb212f2a-e09b-4c06-9863-8d1f528366ad.webp?v=1781140424"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb9b7ac7708a2abf3cd60821befcce3907dea956_eb212f2a-e09b-4c06-9863-8d1f528366ad.webp?v=1781140424","width":2000},{"alt":null,"id":27491537387619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_639053ec-8b9a-4f82-86f9-9cc6c3da8598.webp?v=1781140421"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_639053ec-8b9a-4f82-86f9-9cc6c3da8598.webp?v=1781140421","width":2000},{"alt":null,"id":27491535683683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd3a20b29b81a01b7ca044b5f737f39640670bdf_781f5404-2601-4288-ae24-0472c6d53b33.webp?v=1781140416"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd3a20b29b81a01b7ca044b5f737f39640670bdf_781f5404-2601-4288-ae24-0472c6d53b33.webp?v=1781140416","width":2000},{"alt":null,"id":27491536011363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c35699a9fd31c4589d492338b9ff16657cb19b2_6bde475a-93b4-4012-91d6-894711d4d790.webp?v=1781140417"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c35699a9fd31c4589d492338b9ff16657cb19b2_6bde475a-93b4-4012-91d6-894711d4d790.webp?v=1781140417","width":2000},{"alt":null,"id":27491536404579,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ea542fa8fe38c22fa9ea3814079f1df9f5b4cae_5e9ab0dc-c706-41ff-8dc0-cc68ff9639e6.webp?v=1781140418"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ea542fa8fe38c22fa9ea3814079f1df9f5b4cae_5e9ab0dc-c706-41ff-8dc0-cc68ff9639e6.webp?v=1781140418","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""}; $isMerge = null; $variants = [{"id":43602713477219,"title":"晨陶棕","option1":"晨陶棕","option2":null,"option3":null,"sku":"NST013524H","requires_shipping":true,"taxable":true,"featured_image":{"id":35969117978723,"product_id":7860571865187,"position":7,"created_at":"2026-06-11T09:13:39+08:00","updated_at":"2026-06-11T09:13:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_639053ec-8b9a-4f82-86f9-9cc6c3da8598.webp?v=1781140421","variant_ids":[43602713477219]},"available":true,"name":"iPhone 17 Pro SolidX - 晨陶棕","public_title":"晨陶棕","options":["晨陶棕"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":-77,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592494714","featured_media":{"alt":null,"id":27491537387619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_639053ec-8b9a-4f82-86f9-9cc6c3da8598.webp?v=1781140421"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797509439587,"title":"濃海藍","option1":"濃海藍","option2":null,"option3":null,"sku":"NST013523O","requires_shipping":true,"taxable":true,"featured_image":{"id":35969116274787,"product_id":7860571865187,"position":8,"created_at":"2026-06-11T09:13:34+08:00","updated_at":"2026-06-11T09:13:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd3a20b29b81a01b7ca044b5f737f39640670bdf_781f5404-2601-4288-ae24-0472c6d53b33.webp?v=1781140416","variant_ids":[43797509439587]},"available":true,"name":"iPhone 17 Pro SolidX - 濃海藍","public_title":"濃海藍","options":["濃海藍"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":-64,"inventory_management":null,"inventory_policy":"deny","barcode":"4711366131029","featured_media":{"alt":null,"id":27491535683683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd3a20b29b81a01b7ca044b5f737f39640670bdf_781f5404-2601-4288-ae24-0472c6d53b33.webp?v=1781140416"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797509472355,"title":"螢光橘","option1":"螢光橘","option2":null,"option3":null,"sku":"NST013520F","requires_shipping":true,"taxable":true,"featured_image":{"id":35969116602467,"product_id":7860571865187,"position":9,"created_at":"2026-06-11T09:13:35+08:00","updated_at":"2026-06-11T09:13:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c35699a9fd31c4589d492338b9ff16657cb19b2_6bde475a-93b4-4012-91d6-894711d4d790.webp?v=1781140417","variant_ids":[43797509472355]},"available":true,"name":"iPhone 17 Pro SolidX - 螢光橘","public_title":"螢光橘","options":["螢光橘"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":-59,"inventory_management":null,"inventory_policy":"deny","barcode":"4711593416357","featured_media":{"alt":null,"id":27491536011363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c35699a9fd31c4589d492338b9ff16657cb19b2_6bde475a-93b4-4012-91d6-894711d4d790.webp?v=1781140417"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43602713477219,"title":"晨陶棕","option1":"晨陶棕","option2":null,"option3":null,"sku":"NST013524H","requires_shipping":true,"taxable":true,"featured_image":{"id":35969117978723,"product_id":7860571865187,"position":7,"created_at":"2026-06-11T09:13:39+08:00","updated_at":"2026-06-11T09:13:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_639053ec-8b9a-4f82-86f9-9cc6c3da8598.webp?v=1781140421","variant_ids":[43602713477219]},"available":true,"name":"iPhone 17 Pro SolidX - 晨陶棕","public_title":"晨陶棕","options":["晨陶棕"],"price":105000,"weight":0,"compare_at_price":null,"inventory_quantity":-77,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592494714","featured_media":{"alt":null,"id":27491537387619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a812a46b9380bdb3d1004e6b116350c5a72ae34d_639053ec-8b9a-4f82-86f9-9cc6c3da8598.webp?v=1781140421"}},"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: "停產" }