$product = {"id":7769691193443,"title":"iPhone 13 Pro Max Mod NX ilovedoodle White Cat Flowers - 白貓花朵","handle":"iphone-13-pro-max-mod-nx-printable-xf49","description":null,"published_at":"2025-07-16T17:08:57+08:00","created_at":"2025-04-15T19:32:03+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":43303543308387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34196963229795,"product_id":7769691193443,"position":10,"created_at":"2025-07-16T14:55:21+08:00","updated_at":"2025-07-16T14:55:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21daae278de23218652b3551e431cce9992465e0_46312aef-b789-41ba-b8dd-7e2f94c1454f.webp?v=1752648923","variant_ids":[43303543308387]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25829640339555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21daae278de23218652b3551e431cce9992465e0_46312aef-b789-41ba-b8dd-7e2f94c1454f.webp?v=1752648923"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303548813411,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34196962836579,"product_id":7769691193443,"position":9,"created_at":"2025-07-16T14:55:21+08:00","updated_at":"2025-07-16T14:55:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e9aa629a8f746f03e94b29bb2b0cc33fbfc27d_a3c92f81-f63b-4f62-b10e-0f4c057d3abb.webp?v=1752648923","variant_ids":[43303548813411]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25829639913571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e9aa629a8f746f03e94b29bb2b0cc33fbfc27d_a3c92f81-f63b-4f62-b10e-0f4c057d3abb.webp?v=1752648923"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264f51f0e42f1cb27a1562a74c584f26c035823a.webp?v=1744716729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdf178179fffe2a420556bf2df43806bb329ceb2_6f0cbfac-527b-486a-a7e6-4c77e1a0b4de.webp?v=1752648919","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f4c59fb0ddbefe7dd8f419dfb9d72a9ec61f4ff_9e6ffdd8-f045-4a05-a2c8-eb653e3b986d.webp?v=1752648919","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f10165e975a395da207c3620067362db2fde53b6_f178f39a-42b2-42a0-9acc-a65559a62d8b.webp?v=1752648920","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/494d0c9889e03e0dbbfa6305d8700ea452a487a3_f74ee7d6-4c79-458c-b4b9-2d95f21896eb.webp?v=1752648920","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06fb5785f7de1fe7d748af0132006b3b2fbf286d_09fcec99-c6cf-415f-a8f7-7d3d82ee8fcc.webp?v=1752648921","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0dcb9a1c656a7e86e7612f4e3d4dec037ba57cd_12a0413a-7242-4633-8269-96e3c17d3b96.webp?v=1752648922","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de20383eeb84f88ad87108c277b6ce2fbbeabe55_d98bd1a2-b6a1-4036-9edc-ebfa32fa1670.webp?v=1752648922","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e9aa629a8f746f03e94b29bb2b0cc33fbfc27d_a3c92f81-f63b-4f62-b10e-0f4c057d3abb.webp?v=1752648923","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21daae278de23218652b3551e431cce9992465e0_46312aef-b789-41ba-b8dd-7e2f94c1454f.webp?v=1752648923","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/128a00f3663a3829683b5670e4e9d5706fbf9e10_01faeb3e-27ff-48f4-bb29-74776066c971.webp?v=1752648924"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264f51f0e42f1cb27a1562a74c584f26c035823a.webp?v=1744716729","options":["color"],"media":[{"alt":null,"id":25496122982499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264f51f0e42f1cb27a1562a74c584f26c035823a.webp?v=1744716729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/264f51f0e42f1cb27a1562a74c584f26c035823a.webp?v=1744716729","width":2000},{"alt":null,"id":25829638373475,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdf178179fffe2a420556bf2df43806bb329ceb2_6f0cbfac-527b-486a-a7e6-4c77e1a0b4de.webp?v=1752648919"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdf178179fffe2a420556bf2df43806bb329ceb2_6f0cbfac-527b-486a-a7e6-4c77e1a0b4de.webp?v=1752648919","width":2000},{"alt":null,"id":25829638602851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f4c59fb0ddbefe7dd8f419dfb9d72a9ec61f4ff_9e6ffdd8-f045-4a05-a2c8-eb653e3b986d.webp?v=1752648919"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f4c59fb0ddbefe7dd8f419dfb9d72a9ec61f4ff_9e6ffdd8-f045-4a05-a2c8-eb653e3b986d.webp?v=1752648919","width":2000},{"alt":null,"id":25829638864995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f10165e975a395da207c3620067362db2fde53b6_f178f39a-42b2-42a0-9acc-a65559a62d8b.webp?v=1752648920"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f10165e975a395da207c3620067362db2fde53b6_f178f39a-42b2-42a0-9acc-a65559a62d8b.webp?v=1752648920","width":2000},{"alt":null,"id":25829639061603,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/494d0c9889e03e0dbbfa6305d8700ea452a487a3_f74ee7d6-4c79-458c-b4b9-2d95f21896eb.webp?v=1752648920"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/494d0c9889e03e0dbbfa6305d8700ea452a487a3_f74ee7d6-4c79-458c-b4b9-2d95f21896eb.webp?v=1752648920","width":2000},{"alt":null,"id":25829639356515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06fb5785f7de1fe7d748af0132006b3b2fbf286d_09fcec99-c6cf-415f-a8f7-7d3d82ee8fcc.webp?v=1752648921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06fb5785f7de1fe7d748af0132006b3b2fbf286d_09fcec99-c6cf-415f-a8f7-7d3d82ee8fcc.webp?v=1752648921","width":2000},{"alt":null,"id":25829639585891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0dcb9a1c656a7e86e7612f4e3d4dec037ba57cd_12a0413a-7242-4633-8269-96e3c17d3b96.webp?v=1752648922"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0dcb9a1c656a7e86e7612f4e3d4dec037ba57cd_12a0413a-7242-4633-8269-96e3c17d3b96.webp?v=1752648922","width":2000},{"alt":null,"id":25829639782499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de20383eeb84f88ad87108c277b6ce2fbbeabe55_d98bd1a2-b6a1-4036-9edc-ebfa32fa1670.webp?v=1752648922"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de20383eeb84f88ad87108c277b6ce2fbbeabe55_d98bd1a2-b6a1-4036-9edc-ebfa32fa1670.webp?v=1752648922","width":2000},{"alt":null,"id":25829639913571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e9aa629a8f746f03e94b29bb2b0cc33fbfc27d_a3c92f81-f63b-4f62-b10e-0f4c057d3abb.webp?v=1752648923"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e9aa629a8f746f03e94b29bb2b0cc33fbfc27d_a3c92f81-f63b-4f62-b10e-0f4c057d3abb.webp?v=1752648923","width":2000},{"alt":null,"id":25829640339555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21daae278de23218652b3551e431cce9992465e0_46312aef-b789-41ba-b8dd-7e2f94c1454f.webp?v=1752648923"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21daae278de23218652b3551e431cce9992465e0_46312aef-b789-41ba-b8dd-7e2f94c1454f.webp?v=1752648923","width":2000},{"alt":null,"id":25829640470627,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/128a00f3663a3829683b5670e4e9d5706fbf9e10_01faeb3e-27ff-48f4-bb29-74776066c971.webp?v=1752648924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/128a00f3663a3829683b5670e4e9d5706fbf9e10_01faeb3e-27ff-48f4-bb29-74776066c971.webp?v=1752648924","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303543308387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34196963229795,"product_id":7769691193443,"position":10,"created_at":"2025-07-16T14:55:21+08:00","updated_at":"2025-07-16T14:55:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21daae278de23218652b3551e431cce9992465e0_46312aef-b789-41ba-b8dd-7e2f94c1454f.webp?v=1752648923","variant_ids":[43303543308387]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25829640339555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21daae278de23218652b3551e431cce9992465e0_46312aef-b789-41ba-b8dd-7e2f94c1454f.webp?v=1752648923"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303548813411,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34196962836579,"product_id":7769691193443,"position":9,"created_at":"2025-07-16T14:55:21+08:00","updated_at":"2025-07-16T14:55:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e9aa629a8f746f03e94b29bb2b0cc33fbfc27d_a3c92f81-f63b-4f62-b10e-0f4c057d3abb.webp?v=1752648923","variant_ids":[43303548813411]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25829639913571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e9aa629a8f746f03e94b29bb2b0cc33fbfc27d_a3c92f81-f63b-4f62-b10e-0f4c057d3abb.webp?v=1752648923"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303543308387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34196963229795,"product_id":7769691193443,"position":10,"created_at":"2025-07-16T14:55:21+08:00","updated_at":"2025-07-16T14:55:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21daae278de23218652b3551e431cce9992465e0_46312aef-b789-41ba-b8dd-7e2f94c1454f.webp?v=1752648923","variant_ids":[43303543308387]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25829640339555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21daae278de23218652b3551e431cce9992465e0_46312aef-b789-41ba-b8dd-7e2f94c1454f.webp?v=1752648923"}},"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: "停產" }