$product = {"id":7408176857187,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛","handle":"iphone-13-mini-mod-nx-printable-yf02","description":null,"published_at":"2024-06-11T16:33:27+08:00","created_at":"2024-05-03T12:14:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-stitch","Top50","type-Mod NX Printable"],"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":41883533344867,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471392751715,"product_id":7408176857187,"position":9,"created_at":"2024-05-03T12:15:12+08:00","updated_at":"2024-05-03T12:15:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/688d0ae595fcf316741fde790056be20e660f30c_a3ae4005-c350-4925-b531-6dbd029d18d6.webp?v=1714709712","variant_ids":[41883533344867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YF02","featured_media":{"alt":null,"id":23876298997859,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/688d0ae595fcf316741fde790056be20e660f30c_a3ae4005-c350-4925-b531-6dbd029d18d6.webp?v=1714709712"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883533475939,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471390490723,"product_id":7408176857187,"position":4,"created_at":"2024-05-03T12:15:00+08:00","updated_at":"2024-05-03T12:15:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc764fd1b30c880ccbae60e484dc5f012c3ae1c6_eec15505-0edf-4628-9fb2-dfdec5af972e.webp?v=1714709700","variant_ids":[41883533475939]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-YF02","featured_media":{"alt":null,"id":23876296736867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc764fd1b30c880ccbae60e484dc5f012c3ae1c6_eec15505-0edf-4628-9fb2-dfdec5af972e.webp?v=1714709700"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883533738083,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471391834211,"product_id":7408176857187,"position":7,"created_at":"2024-05-03T12:15:08+08:00","updated_at":"2024-05-03T12:15:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e0b77c6d5b86f15cc1faedc77645e25f5b7656_2c2c5fbd-85e7-4e82-844f-fa0a2fb2918c.webp?v=1714709708","variant_ids":[41883533738083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-YF02","featured_media":{"alt":null,"id":23876298080355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e0b77c6d5b86f15cc1faedc77645e25f5b7656_2c2c5fbd-85e7-4e82-844f-fa0a2fb2918c.webp?v=1714709708"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a25b66c6000f85b50c70fab6edba28b5b9a773af_0b5c4fad-7a54-4e52-9efa-83ddbeae3ff3.webp?v=1714709693","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8ee5f84c46c0af9712379e508e80d502b2cc202_0fa5889a-3b6e-41b8-852e-9c11463950ae.webp?v=1714709695","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/138b35f0afbc3b8ee6fa3531ffeab22c56862d30_306f06c2-9c07-4f75-a30e-8f2f47a7af71.webp?v=1714709698","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc764fd1b30c880ccbae60e484dc5f012c3ae1c6_eec15505-0edf-4628-9fb2-dfdec5af972e.webp?v=1714709700","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3041fc30489f2fc76f057abd36b8332a30c427e_1bf1e30e-855e-4a12-aa5e-72afa5906087.webp?v=1714709703","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a88e74776b44ac250c78ab3ddd87f1566735b46_8ec8d364-5339-4de8-b2dc-d21233bb61aa.webp?v=1714709705","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e0b77c6d5b86f15cc1faedc77645e25f5b7656_2c2c5fbd-85e7-4e82-844f-fa0a2fb2918c.webp?v=1714709708","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f0f38f6d31cf592b2d1677f97cc31789e8613d_01d249fa-e00a-448d-83b6-a1363399066b.webp?v=1714709710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/688d0ae595fcf316741fde790056be20e660f30c_a3ae4005-c350-4925-b531-6dbd029d18d6.webp?v=1714709712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ea8b34f42b6be1fac622e14b39c7ebe6fa83e9_f2eb92de-a535-4b80-9367-5d2153308636.webp?v=1714709715"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a25b66c6000f85b50c70fab6edba28b5b9a773af_0b5c4fad-7a54-4e52-9efa-83ddbeae3ff3.webp?v=1714709693","options":["color"],"media":[{"alt":null,"id":23876295032931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a25b66c6000f85b50c70fab6edba28b5b9a773af_0b5c4fad-7a54-4e52-9efa-83ddbeae3ff3.webp?v=1714709693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a25b66c6000f85b50c70fab6edba28b5b9a773af_0b5c4fad-7a54-4e52-9efa-83ddbeae3ff3.webp?v=1714709693","width":2000},{"alt":null,"id":23876295786595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8ee5f84c46c0af9712379e508e80d502b2cc202_0fa5889a-3b6e-41b8-852e-9c11463950ae.webp?v=1714709695"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8ee5f84c46c0af9712379e508e80d502b2cc202_0fa5889a-3b6e-41b8-852e-9c11463950ae.webp?v=1714709695","width":2000},{"alt":null,"id":23876296114275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/138b35f0afbc3b8ee6fa3531ffeab22c56862d30_306f06c2-9c07-4f75-a30e-8f2f47a7af71.webp?v=1714709698"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/138b35f0afbc3b8ee6fa3531ffeab22c56862d30_306f06c2-9c07-4f75-a30e-8f2f47a7af71.webp?v=1714709698","width":2000},{"alt":null,"id":23876296736867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc764fd1b30c880ccbae60e484dc5f012c3ae1c6_eec15505-0edf-4628-9fb2-dfdec5af972e.webp?v=1714709700"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc764fd1b30c880ccbae60e484dc5f012c3ae1c6_eec15505-0edf-4628-9fb2-dfdec5af972e.webp?v=1714709700","width":2000},{"alt":null,"id":23876297097315,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3041fc30489f2fc76f057abd36b8332a30c427e_1bf1e30e-855e-4a12-aa5e-72afa5906087.webp?v=1714709703"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3041fc30489f2fc76f057abd36b8332a30c427e_1bf1e30e-855e-4a12-aa5e-72afa5906087.webp?v=1714709703","width":2000},{"alt":null,"id":23876297621603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a88e74776b44ac250c78ab3ddd87f1566735b46_8ec8d364-5339-4de8-b2dc-d21233bb61aa.webp?v=1714709705"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a88e74776b44ac250c78ab3ddd87f1566735b46_8ec8d364-5339-4de8-b2dc-d21233bb61aa.webp?v=1714709705","width":2000},{"alt":null,"id":23876298080355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e0b77c6d5b86f15cc1faedc77645e25f5b7656_2c2c5fbd-85e7-4e82-844f-fa0a2fb2918c.webp?v=1714709708"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e0b77c6d5b86f15cc1faedc77645e25f5b7656_2c2c5fbd-85e7-4e82-844f-fa0a2fb2918c.webp?v=1714709708","width":2000},{"alt":null,"id":23876298571875,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f0f38f6d31cf592b2d1677f97cc31789e8613d_01d249fa-e00a-448d-83b6-a1363399066b.webp?v=1714709710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f0f38f6d31cf592b2d1677f97cc31789e8613d_01d249fa-e00a-448d-83b6-a1363399066b.webp?v=1714709710","width":2000},{"alt":null,"id":23876298997859,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/688d0ae595fcf316741fde790056be20e660f30c_a3ae4005-c350-4925-b531-6dbd029d18d6.webp?v=1714709712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/688d0ae595fcf316741fde790056be20e660f30c_a3ae4005-c350-4925-b531-6dbd029d18d6.webp?v=1714709712","width":2000},{"alt":null,"id":23876299489379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ea8b34f42b6be1fac622e14b39c7ebe6fa83e9_f2eb92de-a535-4b80-9367-5d2153308636.webp?v=1714709715"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ea8b34f42b6be1fac622e14b39c7ebe6fa83e9_f2eb92de-a535-4b80-9367-5d2153308636.webp?v=1714709715","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883533344867,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471392751715,"product_id":7408176857187,"position":9,"created_at":"2024-05-03T12:15:12+08:00","updated_at":"2024-05-03T12:15:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/688d0ae595fcf316741fde790056be20e660f30c_a3ae4005-c350-4925-b531-6dbd029d18d6.webp?v=1714709712","variant_ids":[41883533344867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YF02","featured_media":{"alt":null,"id":23876298997859,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/688d0ae595fcf316741fde790056be20e660f30c_a3ae4005-c350-4925-b531-6dbd029d18d6.webp?v=1714709712"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883533475939,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471390490723,"product_id":7408176857187,"position":4,"created_at":"2024-05-03T12:15:00+08:00","updated_at":"2024-05-03T12:15:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc764fd1b30c880ccbae60e484dc5f012c3ae1c6_eec15505-0edf-4628-9fb2-dfdec5af972e.webp?v=1714709700","variant_ids":[41883533475939]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-YF02","featured_media":{"alt":null,"id":23876296736867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc764fd1b30c880ccbae60e484dc5f012c3ae1c6_eec15505-0edf-4628-9fb2-dfdec5af972e.webp?v=1714709700"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883533738083,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471391834211,"product_id":7408176857187,"position":7,"created_at":"2024-05-03T12:15:08+08:00","updated_at":"2024-05-03T12:15:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e0b77c6d5b86f15cc1faedc77645e25f5b7656_2c2c5fbd-85e7-4e82-844f-fa0a2fb2918c.webp?v=1714709708","variant_ids":[41883533738083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-YF02","featured_media":{"alt":null,"id":23876298080355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e0b77c6d5b86f15cc1faedc77645e25f5b7656_2c2c5fbd-85e7-4e82-844f-fa0a2fb2918c.webp?v=1714709708"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883533344867,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31471392751715,"product_id":7408176857187,"position":9,"created_at":"2024-05-03T12:15:12+08:00","updated_at":"2024-05-03T12:15:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/688d0ae595fcf316741fde790056be20e660f30c_a3ae4005-c350-4925-b531-6dbd029d18d6.webp?v=1714709712","variant_ids":[41883533344867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 搞怪系列-怪可愛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YF02","featured_media":{"alt":null,"id":23876298997859,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/688d0ae595fcf316741fde790056be20e660f30c_a3ae4005-c350-4925-b531-6dbd029d18d6.webp?v=1714709712"}},"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: "停產" }