$product = {"id":7873222017123,"title":"iPhone 14 Pro Mod NX Keigo Deep Sea","handle":"iphone-14-pro-mod-nx-printable-kei09","description":null,"published_at":"2025-09-01T11:13:36+08:00","created_at":"2025-09-01T09:27:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 14 Pro","merge","reseller-keigo"],"price":90000,"price_min":90000,"price_max":90000,"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":43658374512739,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-KEI09","requires_shipping":true,"taxable":true,"featured_image":{"id":34409729753187,"product_id":7873222017123,"position":7,"created_at":"2025-09-01T09:27:50+08:00","updated_at":"2025-09-01T09:27:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a085c6264cfd5035d073c736ce9bbb50fb416526.webp?v=1756690072","variant_ids":[43658374512739]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Deep Sea - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-KEI09","featured_media":{"alt":null,"id":25982044930147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a085c6264cfd5035d073c736ce9bbb50fb416526.webp?v=1756690072"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658374643811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-KEI09","requires_shipping":true,"taxable":true,"featured_image":{"id":34409728180323,"product_id":7873222017123,"position":1,"created_at":"2025-09-01T09:27:45+08:00","updated_at":"2025-09-01T09:27:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e5684cfc737bd1be9f2e87f4fb471ec05334dd.webp?v=1756690067","variant_ids":[43658374643811]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Deep Sea - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-KEI09","featured_media":{"alt":null,"id":25982043357283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e5684cfc737bd1be9f2e87f4fb471ec05334dd.webp?v=1756690067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658374709347,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-KEI09","requires_shipping":true,"taxable":true,"featured_image":{"id":34409730015331,"product_id":7873222017123,"position":8,"created_at":"2025-09-01T09:27:50+08:00","updated_at":"2025-09-01T09:27:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04ca081113c91bc27cc232c375fc90a7f526e0cd.webp?v=1756690073","variant_ids":[43658374709347]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Deep Sea - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-KEI09","featured_media":{"alt":null,"id":25982045159523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04ca081113c91bc27cc232c375fc90a7f526e0cd.webp?v=1756690073"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e5684cfc737bd1be9f2e87f4fb471ec05334dd.webp?v=1756690067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7807d8350e52ae109d223f32e87bed2033c05058.webp?v=1756690068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a72dc6b65c76e3bf14eabc30ba1a0f7a3ea2a1.webp?v=1756690069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87879c44caec6ea64a2bbfff0b7d68406f4ececb.webp?v=1756690069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d86db5324f3a7f17d2024d7a23e8213d2605d374.webp?v=1756690070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a6b43d6a1709eae84d51818fd8dcff7ee811fc.webp?v=1756690071","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a085c6264cfd5035d073c736ce9bbb50fb416526.webp?v=1756690072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04ca081113c91bc27cc232c375fc90a7f526e0cd.webp?v=1756690073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1379758aa3766eb7d279d3cf517278e98d85cd96.webp?v=1756690073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0753a39014319ac2391142192d97c14d467b8285.webp?v=1756690074","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/890a21478065fcb69114d9d6cf99cc3b90abf9ce.webp?v=1756690075","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d36de45f4245d0eff4c4ff25eb4cd5016e8c12d0.webp?v=1756690075"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e5684cfc737bd1be9f2e87f4fb471ec05334dd.webp?v=1756690067","options":["color"],"media":[{"alt":null,"id":25982043357283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e5684cfc737bd1be9f2e87f4fb471ec05334dd.webp?v=1756690067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e5684cfc737bd1be9f2e87f4fb471ec05334dd.webp?v=1756690067","width":2000},{"alt":null,"id":25982043586659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7807d8350e52ae109d223f32e87bed2033c05058.webp?v=1756690068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7807d8350e52ae109d223f32e87bed2033c05058.webp?v=1756690068","width":2000},{"alt":null,"id":25982043783267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a72dc6b65c76e3bf14eabc30ba1a0f7a3ea2a1.webp?v=1756690069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2a72dc6b65c76e3bf14eabc30ba1a0f7a3ea2a1.webp?v=1756690069","width":2000},{"alt":null,"id":25982044012643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87879c44caec6ea64a2bbfff0b7d68406f4ececb.webp?v=1756690069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87879c44caec6ea64a2bbfff0b7d68406f4ececb.webp?v=1756690069","width":2000},{"alt":null,"id":25982044340323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d86db5324f3a7f17d2024d7a23e8213d2605d374.webp?v=1756690070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d86db5324f3a7f17d2024d7a23e8213d2605d374.webp?v=1756690070","width":2000},{"alt":null,"id":25982044635235,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a6b43d6a1709eae84d51818fd8dcff7ee811fc.webp?v=1756690071"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79a6b43d6a1709eae84d51818fd8dcff7ee811fc.webp?v=1756690071","width":2000},{"alt":null,"id":25982044930147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a085c6264cfd5035d073c736ce9bbb50fb416526.webp?v=1756690072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a085c6264cfd5035d073c736ce9bbb50fb416526.webp?v=1756690072","width":2000},{"alt":null,"id":25982045159523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04ca081113c91bc27cc232c375fc90a7f526e0cd.webp?v=1756690073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04ca081113c91bc27cc232c375fc90a7f526e0cd.webp?v=1756690073","width":2000},{"alt":null,"id":25982045421667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1379758aa3766eb7d279d3cf517278e98d85cd96.webp?v=1756690073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1379758aa3766eb7d279d3cf517278e98d85cd96.webp?v=1756690073","width":2000},{"alt":null,"id":25982045683811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0753a39014319ac2391142192d97c14d467b8285.webp?v=1756690074"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0753a39014319ac2391142192d97c14d467b8285.webp?v=1756690074","width":2000},{"alt":null,"id":25982045814883,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/890a21478065fcb69114d9d6cf99cc3b90abf9ce.webp?v=1756690075"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/890a21478065fcb69114d9d6cf99cc3b90abf9ce.webp?v=1756690075","width":2000},{"alt":null,"id":25982045945955,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d36de45f4245d0eff4c4ff25eb4cd5016e8c12d0.webp?v=1756690075"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d36de45f4245d0eff4c4ff25eb4cd5016e8c12d0.webp?v=1756690075","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658374512739,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-KEI09","requires_shipping":true,"taxable":true,"featured_image":{"id":34409729753187,"product_id":7873222017123,"position":7,"created_at":"2025-09-01T09:27:50+08:00","updated_at":"2025-09-01T09:27:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a085c6264cfd5035d073c736ce9bbb50fb416526.webp?v=1756690072","variant_ids":[43658374512739]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Deep Sea - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-KEI09","featured_media":{"alt":null,"id":25982044930147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a085c6264cfd5035d073c736ce9bbb50fb416526.webp?v=1756690072"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658374643811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-KEI09","requires_shipping":true,"taxable":true,"featured_image":{"id":34409728180323,"product_id":7873222017123,"position":1,"created_at":"2025-09-01T09:27:45+08:00","updated_at":"2025-09-01T09:27:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e5684cfc737bd1be9f2e87f4fb471ec05334dd.webp?v=1756690067","variant_ids":[43658374643811]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Deep Sea - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-KEI09","featured_media":{"alt":null,"id":25982043357283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51e5684cfc737bd1be9f2e87f4fb471ec05334dd.webp?v=1756690067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658374709347,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-KEI09","requires_shipping":true,"taxable":true,"featured_image":{"id":34409730015331,"product_id":7873222017123,"position":8,"created_at":"2025-09-01T09:27:50+08:00","updated_at":"2025-09-01T09:27:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04ca081113c91bc27cc232c375fc90a7f526e0cd.webp?v=1756690073","variant_ids":[43658374709347]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Deep Sea - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-KEI09","featured_media":{"alt":null,"id":25982045159523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04ca081113c91bc27cc232c375fc90a7f526e0cd.webp?v=1756690073"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658374512739,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-KEI09","requires_shipping":true,"taxable":true,"featured_image":{"id":34409729753187,"product_id":7873222017123,"position":7,"created_at":"2025-09-01T09:27:50+08:00","updated_at":"2025-09-01T09:27:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a085c6264cfd5035d073c736ce9bbb50fb416526.webp?v=1756690072","variant_ids":[43658374512739]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Deep Sea - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-KEI09","featured_media":{"alt":null,"id":25982044930147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a085c6264cfd5035d073c736ce9bbb50fb416526.webp?v=1756690072"}},"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: "停產" }