$product = {"id":7892655865955,"title":"iPhone 13 Pro Max Mod NX Aaron Chang Take Ivy","handle":"iphone-13-pro-max-mod-nx-printable-aar09","description":null,"published_at":"2025-10-03T09:45:02+08:00","created_at":"2025-10-02T10:02:57+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-aaronchang","device-iPhone 13 Pro Max","merge","reseller-aaronchang"],"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":43756653936739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-AAR09","requires_shipping":true,"taxable":true,"featured_image":{"id":34543704735843,"product_id":7892655865955,"position":6,"created_at":"2025-10-02T10:03:05+08:00","updated_at":"2025-10-02T10:03:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db481a6f50c7c2463a0fb8e2945e0637464efa93.webp?v=1759370587","variant_ids":[43756653936739]},"available":true,"name":"iPhone 13 Pro Max Mod NX Aaron Chang Take Ivy - 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-AAR09","featured_media":{"alt":null,"id":26113459617891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db481a6f50c7c2463a0fb8e2945e0637464efa93.webp?v=1759370587"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756654133347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-AAR09","requires_shipping":true,"taxable":true,"featured_image":{"id":34543704604771,"product_id":7892655865955,"position":5,"created_at":"2025-10-02T10:03:04+08:00","updated_at":"2025-10-02T10:03:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/813b978156f3461fbc8de8d0d9e1fed94f0600ce.webp?v=1759370586","variant_ids":[43756654133347]},"available":true,"name":"iPhone 13 Pro Max Mod NX Aaron Chang Take Ivy - 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-AAR09","featured_media":{"alt":null,"id":26113459486819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/813b978156f3461fbc8de8d0d9e1fed94f0600ce.webp?v=1759370586"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85969d8373880b61786fe88da96a771feff476fc.webp?v=1759370583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e606221b4154548563474dd038b10b891c337b56.webp?v=1759370584","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d6072b5ea5d0c34659c33967691e1c32243601c.webp?v=1759370585","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11a16b40cefb1bbdad6500a62eb2ccf5861d5510.webp?v=1759370586","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/813b978156f3461fbc8de8d0d9e1fed94f0600ce.webp?v=1759370586","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db481a6f50c7c2463a0fb8e2945e0637464efa93.webp?v=1759370587","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e804cc5b847eb5d4ae9ce9e327ce99449ef1f38.webp?v=1759370588","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff6478e3bd777a89af6dd56dbf674abddeecff93.webp?v=1759370590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca9504aa444c51ad282f0b0b72a46e8edd1308ea.webp?v=1759370590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eeb2911f13d5bd7160bb53476ddaa8a1d71ae1a.webp?v=1759370591"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85969d8373880b61786fe88da96a771feff476fc.webp?v=1759370583","options":["color"],"media":[{"alt":null,"id":26113458733155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85969d8373880b61786fe88da96a771feff476fc.webp?v=1759370583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85969d8373880b61786fe88da96a771feff476fc.webp?v=1759370583","width":2000},{"alt":null,"id":26113458962531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e606221b4154548563474dd038b10b891c337b56.webp?v=1759370584"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e606221b4154548563474dd038b10b891c337b56.webp?v=1759370584","width":2000},{"alt":null,"id":26113459159139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d6072b5ea5d0c34659c33967691e1c32243601c.webp?v=1759370585"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d6072b5ea5d0c34659c33967691e1c32243601c.webp?v=1759370585","width":2000},{"alt":null,"id":26113459290211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11a16b40cefb1bbdad6500a62eb2ccf5861d5510.webp?v=1759370586"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11a16b40cefb1bbdad6500a62eb2ccf5861d5510.webp?v=1759370586","width":2000},{"alt":null,"id":26113459486819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/813b978156f3461fbc8de8d0d9e1fed94f0600ce.webp?v=1759370586"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/813b978156f3461fbc8de8d0d9e1fed94f0600ce.webp?v=1759370586","width":2000},{"alt":null,"id":26113459617891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db481a6f50c7c2463a0fb8e2945e0637464efa93.webp?v=1759370587"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db481a6f50c7c2463a0fb8e2945e0637464efa93.webp?v=1759370587","width":2000},{"alt":null,"id":26113459781731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e804cc5b847eb5d4ae9ce9e327ce99449ef1f38.webp?v=1759370588"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e804cc5b847eb5d4ae9ce9e327ce99449ef1f38.webp?v=1759370588","width":2000},{"alt":null,"id":26113460011107,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff6478e3bd777a89af6dd56dbf674abddeecff93.webp?v=1759370590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff6478e3bd777a89af6dd56dbf674abddeecff93.webp?v=1759370590","width":2000},{"alt":null,"id":26113460207715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca9504aa444c51ad282f0b0b72a46e8edd1308ea.webp?v=1759370590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca9504aa444c51ad282f0b0b72a46e8edd1308ea.webp?v=1759370590","width":2000},{"alt":null,"id":26113460371555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eeb2911f13d5bd7160bb53476ddaa8a1d71ae1a.webp?v=1759370591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eeb2911f13d5bd7160bb53476ddaa8a1d71ae1a.webp?v=1759370591","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43756653936739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-AAR09","requires_shipping":true,"taxable":true,"featured_image":{"id":34543704735843,"product_id":7892655865955,"position":6,"created_at":"2025-10-02T10:03:05+08:00","updated_at":"2025-10-02T10:03:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db481a6f50c7c2463a0fb8e2945e0637464efa93.webp?v=1759370587","variant_ids":[43756653936739]},"available":true,"name":"iPhone 13 Pro Max Mod NX Aaron Chang Take Ivy - 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-AAR09","featured_media":{"alt":null,"id":26113459617891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db481a6f50c7c2463a0fb8e2945e0637464efa93.webp?v=1759370587"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756654133347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-AAR09","requires_shipping":true,"taxable":true,"featured_image":{"id":34543704604771,"product_id":7892655865955,"position":5,"created_at":"2025-10-02T10:03:04+08:00","updated_at":"2025-10-02T10:03:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/813b978156f3461fbc8de8d0d9e1fed94f0600ce.webp?v=1759370586","variant_ids":[43756654133347]},"available":true,"name":"iPhone 13 Pro Max Mod NX Aaron Chang Take Ivy - 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-AAR09","featured_media":{"alt":null,"id":26113459486819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/813b978156f3461fbc8de8d0d9e1fed94f0600ce.webp?v=1759370586"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43756653936739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-AAR09","requires_shipping":true,"taxable":true,"featured_image":{"id":34543704735843,"product_id":7892655865955,"position":6,"created_at":"2025-10-02T10:03:05+08:00","updated_at":"2025-10-02T10:03:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db481a6f50c7c2463a0fb8e2945e0637464efa93.webp?v=1759370587","variant_ids":[43756653936739]},"available":true,"name":"iPhone 13 Pro Max Mod NX Aaron Chang Take Ivy - 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-AAR09","featured_media":{"alt":null,"id":26113459617891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db481a6f50c7c2463a0fb8e2945e0637464efa93.webp?v=1759370587"}},"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: "停產" }