$product = {"id":7893836988515,"title":"iPhone 13 Pro Max Mod NX Chubbynida 含苞綻放","handle":"iphone-13-pro-max-mod-nx-printable-chu08","description":null,"published_at":"2025-10-09T09:28:35+08:00","created_at":"2025-10-07T10:24:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chubbynida","device-iPhone 13 Pro Max","merge","reseller-chubbynida"],"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":43763454869603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34553184354403,"product_id":7893836988515,"position":3,"created_at":"2025-10-07T10:24:14+08:00","updated_at":"2025-10-07T10:24:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9ae181224a176ee11a1d70ff62fd92b17fde95.webp?v=1759803856","variant_ids":[43763454869603]},"available":true,"name":"iPhone 13 Pro Max Mod NX Chubbynida 含苞綻放 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-CHU08","featured_media":{"alt":null,"id":26122831986787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9ae181224a176ee11a1d70ff62fd92b17fde95.webp?v=1759803856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763454967907,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34553185402979,"product_id":7893836988515,"position":9,"created_at":"2025-10-07T10:24:20+08:00","updated_at":"2025-10-07T10:24:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bad483b1684bbc191f2eab14b8eb535b969e89fc.webp?v=1759803862","variant_ids":[43763454967907]},"available":true,"name":"iPhone 13 Pro Max Mod NX Chubbynida 含苞綻放 - 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":"NPB01232J5-CHU08","featured_media":{"alt":null,"id":26122833035363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bad483b1684bbc191f2eab14b8eb535b969e89fc.webp?v=1759803862"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d3d9856f4ef20923cc0ef7d461afea910b6aa30.webp?v=1759803855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d7ae40c05384b7b5d059cc8827a59aaad2a463.webp?v=1759803856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9ae181224a176ee11a1d70ff62fd92b17fde95.webp?v=1759803856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1697e7653b0f2a31b8002e36065646bc3b2e5e20.webp?v=1759803857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21dfcba160c1b712a983805a634889e4fa85d5be.webp?v=1759803859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83dfb0e6f0576bee932cce190f511f4f6cddb058.webp?v=1759803860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/498e19824b5c821d98d07d174375b7dc1e7e0a7e.webp?v=1759803861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b02412ccd9cc5c0082d1536f5cf68c2d3180c52c.webp?v=1759803861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bad483b1684bbc191f2eab14b8eb535b969e89fc.webp?v=1759803862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f9a4e8f1b4cf04c8914d1c397d5b9a91cb7c0d0.webp?v=1759803862"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d3d9856f4ef20923cc0ef7d461afea910b6aa30.webp?v=1759803855","options":["color"],"media":[{"alt":null,"id":26122831593571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d3d9856f4ef20923cc0ef7d461afea910b6aa30.webp?v=1759803855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d3d9856f4ef20923cc0ef7d461afea910b6aa30.webp?v=1759803855","width":2000},{"alt":null,"id":26122831855715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d7ae40c05384b7b5d059cc8827a59aaad2a463.webp?v=1759803856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d7ae40c05384b7b5d059cc8827a59aaad2a463.webp?v=1759803856","width":2000},{"alt":null,"id":26122831986787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9ae181224a176ee11a1d70ff62fd92b17fde95.webp?v=1759803856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9ae181224a176ee11a1d70ff62fd92b17fde95.webp?v=1759803856","width":2000},{"alt":null,"id":26122832216163,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1697e7653b0f2a31b8002e36065646bc3b2e5e20.webp?v=1759803857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1697e7653b0f2a31b8002e36065646bc3b2e5e20.webp?v=1759803857","width":2000},{"alt":null,"id":26122832478307,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21dfcba160c1b712a983805a634889e4fa85d5be.webp?v=1759803859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21dfcba160c1b712a983805a634889e4fa85d5be.webp?v=1759803859","width":2000},{"alt":null,"id":26122832773219,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83dfb0e6f0576bee932cce190f511f4f6cddb058.webp?v=1759803860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83dfb0e6f0576bee932cce190f511f4f6cddb058.webp?v=1759803860","width":2000},{"alt":null,"id":26122832937059,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/498e19824b5c821d98d07d174375b7dc1e7e0a7e.webp?v=1759803861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/498e19824b5c821d98d07d174375b7dc1e7e0a7e.webp?v=1759803861","width":2000},{"alt":null,"id":26122833002595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b02412ccd9cc5c0082d1536f5cf68c2d3180c52c.webp?v=1759803861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b02412ccd9cc5c0082d1536f5cf68c2d3180c52c.webp?v=1759803861","width":2000},{"alt":null,"id":26122833035363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bad483b1684bbc191f2eab14b8eb535b969e89fc.webp?v=1759803862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bad483b1684bbc191f2eab14b8eb535b969e89fc.webp?v=1759803862","width":2000},{"alt":null,"id":26122833100899,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f9a4e8f1b4cf04c8914d1c397d5b9a91cb7c0d0.webp?v=1759803862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f9a4e8f1b4cf04c8914d1c397d5b9a91cb7c0d0.webp?v=1759803862","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43763454869603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34553184354403,"product_id":7893836988515,"position":3,"created_at":"2025-10-07T10:24:14+08:00","updated_at":"2025-10-07T10:24:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9ae181224a176ee11a1d70ff62fd92b17fde95.webp?v=1759803856","variant_ids":[43763454869603]},"available":true,"name":"iPhone 13 Pro Max Mod NX Chubbynida 含苞綻放 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-CHU08","featured_media":{"alt":null,"id":26122831986787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9ae181224a176ee11a1d70ff62fd92b17fde95.webp?v=1759803856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763454967907,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34553185402979,"product_id":7893836988515,"position":9,"created_at":"2025-10-07T10:24:20+08:00","updated_at":"2025-10-07T10:24:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bad483b1684bbc191f2eab14b8eb535b969e89fc.webp?v=1759803862","variant_ids":[43763454967907]},"available":true,"name":"iPhone 13 Pro Max Mod NX Chubbynida 含苞綻放 - 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":"NPB01232J5-CHU08","featured_media":{"alt":null,"id":26122833035363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bad483b1684bbc191f2eab14b8eb535b969e89fc.webp?v=1759803862"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43763454869603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34553184354403,"product_id":7893836988515,"position":3,"created_at":"2025-10-07T10:24:14+08:00","updated_at":"2025-10-07T10:24:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9ae181224a176ee11a1d70ff62fd92b17fde95.webp?v=1759803856","variant_ids":[43763454869603]},"available":true,"name":"iPhone 13 Pro Max Mod NX Chubbynida 含苞綻放 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-CHU08","featured_media":{"alt":null,"id":26122831986787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9ae181224a176ee11a1d70ff62fd92b17fde95.webp?v=1759803856"}},"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: "停產" }