$product = {"id":7407821914211,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑","handle":"iphone-14-pro-mod-nx-printable-sb14","description":null,"published_at":"2024-06-11T16:23:47+08:00","created_at":"2024-05-03T10:56:28+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-batman","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":41879243456611,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470452277347,"product_id":7407821914211,"position":1,"created_at":"2024-05-03T10:56:31+08:00","updated_at":"2024-05-03T10:56:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02f73dad6af5a283524b89a0ef0410e98e92317_1dd0fc44-423c-4023-96bb-18726b3848f2.webp?v=1714704991","variant_ids":[41879243456611]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑 - 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":"NPB0126224-SB14","featured_media":{"alt":null,"id":23875355705443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02f73dad6af5a283524b89a0ef0410e98e92317_1dd0fc44-423c-4023-96bb-18726b3848f2.webp?v=1714704991"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879243522147,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470454472803,"product_id":7407821914211,"position":6,"created_at":"2024-05-03T10:56:44+08:00","updated_at":"2024-05-03T10:56:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fc52593baa69ba067a66d612914feb0f56c573a_147c3777-e3c8-42db-9367-0c3ae1212fe1.webp?v=1714705004","variant_ids":[41879243522147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑 - 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":"NPB0126204-SB14","featured_media":{"alt":null,"id":23875357933667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fc52593baa69ba067a66d612914feb0f56c573a_147c3777-e3c8-42db-9367-0c3ae1212fe1.webp?v=1714705004"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879243751523,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470453194851,"product_id":7407821914211,"position":3,"created_at":"2024-05-03T10:56:36+08:00","updated_at":"2024-05-03T10:56:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/475ad742ddb751c88819385780a05fb6da8ad1f2_0502b7b0-fb09-449c-9963-22592e9b7ff1.webp?v=1714704996","variant_ids":[41879243751523]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑 - 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":"NPB01262J5-SB14","featured_media":{"alt":null,"id":23875356622947,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/475ad742ddb751c88819385780a05fb6da8ad1f2_0502b7b0-fb09-449c-9963-22592e9b7ff1.webp?v=1714704996"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02f73dad6af5a283524b89a0ef0410e98e92317_1dd0fc44-423c-4023-96bb-18726b3848f2.webp?v=1714704991","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8879003ed4223ed69e7973f143a21d5a14c67ebd_e2ae9408-87a9-46ab-a09d-b815b67cdb98.webp?v=1714704993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/475ad742ddb751c88819385780a05fb6da8ad1f2_0502b7b0-fb09-449c-9963-22592e9b7ff1.webp?v=1714704996","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b15ee81415e4db2fdd3d23aa3ac1655de3992d_e7528d8b-cc03-4012-b998-a38952b4de45.webp?v=1714704999","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5de8b9f71b33890e61886828e140a377d9e48517_b0afaa8a-2cbe-4372-8c79-34b4a47d86d9.webp?v=1714705001","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fc52593baa69ba067a66d612914feb0f56c573a_147c3777-e3c8-42db-9367-0c3ae1212fe1.webp?v=1714705004","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac548848ba46c7b727823abeae1466369bd85f7d_17f3ef9f-03be-44ce-af52-e75e27db5e9f.webp?v=1714705006","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aaee42919d104af6963b8be7c3d392a1bf7222d7_16dcd34c-8ece-4179-845e-b3b684446987.webp?v=1714705009","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d689726cf0cd173516d49579db84d08033ac8fa9_7e68c1a5-c47f-44e0-83a7-fcec5db7841d.webp?v=1714705012","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04758f833b8b4e82fbfcc2b80f67ef7068f16258_369e697d-b7b4-4186-a760-2f7b0bceca9a.webp?v=1714705014"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02f73dad6af5a283524b89a0ef0410e98e92317_1dd0fc44-423c-4023-96bb-18726b3848f2.webp?v=1714704991","options":["color"],"media":[{"alt":null,"id":23875355705443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02f73dad6af5a283524b89a0ef0410e98e92317_1dd0fc44-423c-4023-96bb-18726b3848f2.webp?v=1714704991"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02f73dad6af5a283524b89a0ef0410e98e92317_1dd0fc44-423c-4023-96bb-18726b3848f2.webp?v=1714704991","width":2000},{"alt":null,"id":23875356164195,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8879003ed4223ed69e7973f143a21d5a14c67ebd_e2ae9408-87a9-46ab-a09d-b815b67cdb98.webp?v=1714704993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8879003ed4223ed69e7973f143a21d5a14c67ebd_e2ae9408-87a9-46ab-a09d-b815b67cdb98.webp?v=1714704993","width":2000},{"alt":null,"id":23875356622947,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/475ad742ddb751c88819385780a05fb6da8ad1f2_0502b7b0-fb09-449c-9963-22592e9b7ff1.webp?v=1714704996"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/475ad742ddb751c88819385780a05fb6da8ad1f2_0502b7b0-fb09-449c-9963-22592e9b7ff1.webp?v=1714704996","width":2000},{"alt":null,"id":23875357048931,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b15ee81415e4db2fdd3d23aa3ac1655de3992d_e7528d8b-cc03-4012-b998-a38952b4de45.webp?v=1714704999"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b15ee81415e4db2fdd3d23aa3ac1655de3992d_e7528d8b-cc03-4012-b998-a38952b4de45.webp?v=1714704999","width":2000},{"alt":null,"id":23875357540451,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5de8b9f71b33890e61886828e140a377d9e48517_b0afaa8a-2cbe-4372-8c79-34b4a47d86d9.webp?v=1714705001"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5de8b9f71b33890e61886828e140a377d9e48517_b0afaa8a-2cbe-4372-8c79-34b4a47d86d9.webp?v=1714705001","width":2000},{"alt":null,"id":23875357933667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fc52593baa69ba067a66d612914feb0f56c573a_147c3777-e3c8-42db-9367-0c3ae1212fe1.webp?v=1714705004"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fc52593baa69ba067a66d612914feb0f56c573a_147c3777-e3c8-42db-9367-0c3ae1212fe1.webp?v=1714705004","width":2000},{"alt":null,"id":23875358392419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac548848ba46c7b727823abeae1466369bd85f7d_17f3ef9f-03be-44ce-af52-e75e27db5e9f.webp?v=1714705006"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac548848ba46c7b727823abeae1466369bd85f7d_17f3ef9f-03be-44ce-af52-e75e27db5e9f.webp?v=1714705006","width":2000},{"alt":null,"id":23875358851171,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aaee42919d104af6963b8be7c3d392a1bf7222d7_16dcd34c-8ece-4179-845e-b3b684446987.webp?v=1714705009"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aaee42919d104af6963b8be7c3d392a1bf7222d7_16dcd34c-8ece-4179-845e-b3b684446987.webp?v=1714705009","width":2000},{"alt":null,"id":23875359178851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d689726cf0cd173516d49579db84d08033ac8fa9_7e68c1a5-c47f-44e0-83a7-fcec5db7841d.webp?v=1714705012"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d689726cf0cd173516d49579db84d08033ac8fa9_7e68c1a5-c47f-44e0-83a7-fcec5db7841d.webp?v=1714705012","width":2000},{"alt":null,"id":23875359801443,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04758f833b8b4e82fbfcc2b80f67ef7068f16258_369e697d-b7b4-4186-a760-2f7b0bceca9a.webp?v=1714705014"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04758f833b8b4e82fbfcc2b80f67ef7068f16258_369e697d-b7b4-4186-a760-2f7b0bceca9a.webp?v=1714705014","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879243456611,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470452277347,"product_id":7407821914211,"position":1,"created_at":"2024-05-03T10:56:31+08:00","updated_at":"2024-05-03T10:56:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02f73dad6af5a283524b89a0ef0410e98e92317_1dd0fc44-423c-4023-96bb-18726b3848f2.webp?v=1714704991","variant_ids":[41879243456611]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑 - 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":"NPB0126224-SB14","featured_media":{"alt":null,"id":23875355705443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02f73dad6af5a283524b89a0ef0410e98e92317_1dd0fc44-423c-4023-96bb-18726b3848f2.webp?v=1714704991"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879243522147,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-SB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470454472803,"product_id":7407821914211,"position":6,"created_at":"2024-05-03T10:56:44+08:00","updated_at":"2024-05-03T10:56:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fc52593baa69ba067a66d612914feb0f56c573a_147c3777-e3c8-42db-9367-0c3ae1212fe1.webp?v=1714705004","variant_ids":[41879243522147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑 - 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":"NPB0126204-SB14","featured_media":{"alt":null,"id":23875357933667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fc52593baa69ba067a66d612914feb0f56c573a_147c3777-e3c8-42db-9367-0c3ae1212fe1.webp?v=1714705004"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879243751523,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-SB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470453194851,"product_id":7407821914211,"position":3,"created_at":"2024-05-03T10:56:36+08:00","updated_at":"2024-05-03T10:56:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/475ad742ddb751c88819385780a05fb6da8ad1f2_0502b7b0-fb09-449c-9963-22592e9b7ff1.webp?v=1714704996","variant_ids":[41879243751523]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑 - 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":"NPB01262J5-SB14","featured_media":{"alt":null,"id":23875356622947,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/475ad742ddb751c88819385780a05fb6da8ad1f2_0502b7b0-fb09-449c-9963-22592e9b7ff1.webp?v=1714704996"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879243456611,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-SB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470452277347,"product_id":7407821914211,"position":1,"created_at":"2024-05-03T10:56:31+08:00","updated_at":"2024-05-03T10:56:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02f73dad6af5a283524b89a0ef0410e98e92317_1dd0fc44-423c-4023-96bb-18726b3848f2.webp?v=1714704991","variant_ids":[41879243456611]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Batman - 小丑 - 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":"NPB0126224-SB14","featured_media":{"alt":null,"id":23875355705443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d02f73dad6af5a283524b89a0ef0410e98e92317_1dd0fc44-423c-4023-96bb-18726b3848f2.webp?v=1714704991"}},"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: "停產" }