$product = {"id":7769443532899,"title":"iPhone 13 Pro Max Mod NX ilovedoodle Cat Dive - 跳水貓咪","handle":"iphone-13-pro-max-mod-nx-printable-xf51","description":null,"published_at":"2025-07-16T17:35:51+08:00","created_at":"2025-04-15T16:12:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Pro Max","merge","reseller-ilovedoodle"],"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":43302373818467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197121532003,"product_id":7769443532899,"position":11,"created_at":"2025-07-16T14:59:00+08:00","updated_at":"2025-07-16T14:59:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4df30c081a30009e9bc6a2af5a0f069dc278d0_61ce2a06-4a96-45af-9277-1269ae3bd986.webp?v=1752649142","variant_ids":[43302373818467]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Cat Dive - 跳水貓咪 - 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-XF51","featured_media":{"alt":null,"id":25829726421091,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4df30c081a30009e9bc6a2af5a0f069dc278d0_61ce2a06-4a96-45af-9277-1269ae3bd986.webp?v=1752649142"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302379618403,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197119434851,"product_id":7769443532899,"position":6,"created_at":"2025-07-16T14:58:58+08:00","updated_at":"2025-07-16T14:58:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad95a08a125707bc1e935b21dad0e9b9acac73c_ddd371ef-fc4f-4093-a2c4-86ed627221b7.webp?v=1752649139","variant_ids":[43302379618403]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Cat Dive - 跳水貓咪 - 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-XF51","featured_media":{"alt":null,"id":25829725503587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad95a08a125707bc1e935b21dad0e9b9acac73c_ddd371ef-fc4f-4093-a2c4-86ed627221b7.webp?v=1752649139"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/998838df061c480136ef4de3fad16295fec73091_00527f24-f371-4e54-8730-ec3a5b37575c.webp?v=1744704758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cadd0a02ab75816c7dbdc68071f4ff7a2417e1a_057b872b-beae-4e3b-ab04-7383dd37f20e.webp?v=1752649137","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7535b51e87f12a65dedcbfa2e7a7ec8e41441f86_3933bd4b-0d43-497d-8c9e-b9cc56cff1d8.webp?v=1752649138","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a971bb261ca9d3403f014b8f2c5ad135f87ac7a_8a656e43-c78b-418a-931e-0a9cfd39270f.webp?v=1752649138","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7adeca767dcbba0ad43f0fd1e34dd0d49f266a92_faa4ec5e-798d-4b19-95ec-c3b9e841c1a2.webp?v=1752649139","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad95a08a125707bc1e935b21dad0e9b9acac73c_ddd371ef-fc4f-4093-a2c4-86ed627221b7.webp?v=1752649139","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489e79bb0b452eb36bf15e8391bd996f8996ab5a_307c82bf-ee77-4a01-9b7d-c9bdf1c91a90.webp?v=1752649140","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc84550551948e8cd42e8b4c29e63083a1038717_98cced92-a5ca-458e-8113-c2cdcd04326f.webp?v=1752649140","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/992817b32fd83410b00f71cd5aab7065fc23811a_72af8ed6-2615-4494-a660-c04c382d8d98.webp?v=1752649141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e384e3dab505304242cc6de3b9233c5976cefb23_90801e98-eafb-45f5-8840-523656b6e074.webp?v=1752649142","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4df30c081a30009e9bc6a2af5a0f069dc278d0_61ce2a06-4a96-45af-9277-1269ae3bd986.webp?v=1752649142"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/998838df061c480136ef4de3fad16295fec73091_00527f24-f371-4e54-8730-ec3a5b37575c.webp?v=1744704758","options":["color"],"media":[{"alt":null,"id":25495450845283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/998838df061c480136ef4de3fad16295fec73091_00527f24-f371-4e54-8730-ec3a5b37575c.webp?v=1744704758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/998838df061c480136ef4de3fad16295fec73091_00527f24-f371-4e54-8730-ec3a5b37575c.webp?v=1744704758","width":2000},{"alt":null,"id":25829724782691,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cadd0a02ab75816c7dbdc68071f4ff7a2417e1a_057b872b-beae-4e3b-ab04-7383dd37f20e.webp?v=1752649137"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cadd0a02ab75816c7dbdc68071f4ff7a2417e1a_057b872b-beae-4e3b-ab04-7383dd37f20e.webp?v=1752649137","width":2000},{"alt":null,"id":25829725012067,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7535b51e87f12a65dedcbfa2e7a7ec8e41441f86_3933bd4b-0d43-497d-8c9e-b9cc56cff1d8.webp?v=1752649138"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7535b51e87f12a65dedcbfa2e7a7ec8e41441f86_3933bd4b-0d43-497d-8c9e-b9cc56cff1d8.webp?v=1752649138","width":2000},{"alt":null,"id":25829725208675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a971bb261ca9d3403f014b8f2c5ad135f87ac7a_8a656e43-c78b-418a-931e-0a9cfd39270f.webp?v=1752649138"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a971bb261ca9d3403f014b8f2c5ad135f87ac7a_8a656e43-c78b-418a-931e-0a9cfd39270f.webp?v=1752649138","width":2000},{"alt":null,"id":25829725339747,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7adeca767dcbba0ad43f0fd1e34dd0d49f266a92_faa4ec5e-798d-4b19-95ec-c3b9e841c1a2.webp?v=1752649139"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7adeca767dcbba0ad43f0fd1e34dd0d49f266a92_faa4ec5e-798d-4b19-95ec-c3b9e841c1a2.webp?v=1752649139","width":2000},{"alt":null,"id":25829725503587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad95a08a125707bc1e935b21dad0e9b9acac73c_ddd371ef-fc4f-4093-a2c4-86ed627221b7.webp?v=1752649139"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad95a08a125707bc1e935b21dad0e9b9acac73c_ddd371ef-fc4f-4093-a2c4-86ed627221b7.webp?v=1752649139","width":2000},{"alt":null,"id":25829725700195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489e79bb0b452eb36bf15e8391bd996f8996ab5a_307c82bf-ee77-4a01-9b7d-c9bdf1c91a90.webp?v=1752649140"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/489e79bb0b452eb36bf15e8391bd996f8996ab5a_307c82bf-ee77-4a01-9b7d-c9bdf1c91a90.webp?v=1752649140","width":2000},{"alt":null,"id":25829725831267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc84550551948e8cd42e8b4c29e63083a1038717_98cced92-a5ca-458e-8113-c2cdcd04326f.webp?v=1752649140"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc84550551948e8cd42e8b4c29e63083a1038717_98cced92-a5ca-458e-8113-c2cdcd04326f.webp?v=1752649140","width":2000},{"alt":null,"id":25829725962339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/992817b32fd83410b00f71cd5aab7065fc23811a_72af8ed6-2615-4494-a660-c04c382d8d98.webp?v=1752649141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/992817b32fd83410b00f71cd5aab7065fc23811a_72af8ed6-2615-4494-a660-c04c382d8d98.webp?v=1752649141","width":2000},{"alt":null,"id":25829726257251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e384e3dab505304242cc6de3b9233c5976cefb23_90801e98-eafb-45f5-8840-523656b6e074.webp?v=1752649142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e384e3dab505304242cc6de3b9233c5976cefb23_90801e98-eafb-45f5-8840-523656b6e074.webp?v=1752649142","width":2000},{"alt":null,"id":25829726421091,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4df30c081a30009e9bc6a2af5a0f069dc278d0_61ce2a06-4a96-45af-9277-1269ae3bd986.webp?v=1752649142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4df30c081a30009e9bc6a2af5a0f069dc278d0_61ce2a06-4a96-45af-9277-1269ae3bd986.webp?v=1752649142","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302373818467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197121532003,"product_id":7769443532899,"position":11,"created_at":"2025-07-16T14:59:00+08:00","updated_at":"2025-07-16T14:59:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4df30c081a30009e9bc6a2af5a0f069dc278d0_61ce2a06-4a96-45af-9277-1269ae3bd986.webp?v=1752649142","variant_ids":[43302373818467]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Cat Dive - 跳水貓咪 - 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-XF51","featured_media":{"alt":null,"id":25829726421091,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4df30c081a30009e9bc6a2af5a0f069dc278d0_61ce2a06-4a96-45af-9277-1269ae3bd986.webp?v=1752649142"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302379618403,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197119434851,"product_id":7769443532899,"position":6,"created_at":"2025-07-16T14:58:58+08:00","updated_at":"2025-07-16T14:58:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad95a08a125707bc1e935b21dad0e9b9acac73c_ddd371ef-fc4f-4093-a2c4-86ed627221b7.webp?v=1752649139","variant_ids":[43302379618403]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Cat Dive - 跳水貓咪 - 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-XF51","featured_media":{"alt":null,"id":25829725503587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad95a08a125707bc1e935b21dad0e9b9acac73c_ddd371ef-fc4f-4093-a2c4-86ed627221b7.webp?v=1752649139"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302373818467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197121532003,"product_id":7769443532899,"position":11,"created_at":"2025-07-16T14:59:00+08:00","updated_at":"2025-07-16T14:59:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4df30c081a30009e9bc6a2af5a0f069dc278d0_61ce2a06-4a96-45af-9277-1269ae3bd986.webp?v=1752649142","variant_ids":[43302373818467]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Cat Dive - 跳水貓咪 - 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-XF51","featured_media":{"alt":null,"id":25829726421091,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed4df30c081a30009e9bc6a2af5a0f069dc278d0_61ce2a06-4a96-45af-9277-1269ae3bd986.webp?v=1752649142"}},"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: "停產" }