$product = {"id":7411317669987,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Batman Logo","handle":"iphone-14-pro-mod-nx-magsafe-printable-sb03","description":null,"published_at":"2024-06-11T17:41:41+08:00","created_at":"2024-05-05T00:06:26+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-batman","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41897370615907,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480126931043,"product_id":7411317669987,"position":5,"created_at":"2024-05-05T00:06:38+08:00","updated_at":"2024-05-05T00:06:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b315f09ac504c9d3c6c10daa1c1beffa82a8acd_96918cfe-3eb4-4b93-b917-355d1cffbbe3.webp?v=1714838798","variant_ids":[41897370615907]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Batman Logo - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB03","featured_media":{"alt":null,"id":23885377863779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b315f09ac504c9d3c6c10daa1c1beffa82a8acd_96918cfe-3eb4-4b93-b917-355d1cffbbe3.webp?v=1714838798"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897370714211,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480125587555,"product_id":7411317669987,"position":2,"created_at":"2024-05-05T00:06:31+08:00","updated_at":"2024-05-05T00:06:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd1f5bac5759b61e5d787194080f95b2d6d7f5db_20639c11-0924-4706-afed-88efa17f2045.webp?v=1714838791","variant_ids":[41897370714211]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Batman Logo - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SB03","featured_media":{"alt":null,"id":23885376454755,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd1f5bac5759b61e5d787194080f95b2d6d7f5db_20639c11-0924-4706-afed-88efa17f2045.webp?v=1714838791"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897370943587,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480127389795,"product_id":7411317669987,"position":6,"created_at":"2024-05-05T00:06:40+08:00","updated_at":"2024-05-05T00:06:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2620e590cb7fdf61e702383dc055a85b2d3cd1b4_d034ed86-4fae-44cd-a3db-380b440ba149.webp?v=1714838800","variant_ids":[41897370943587]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Batman Logo - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SB03","featured_media":{"alt":null,"id":23885378256995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2620e590cb7fdf61e702383dc055a85b2d3cd1b4_d034ed86-4fae-44cd-a3db-380b440ba149.webp?v=1714838800"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa8b49c9dc9158de69a33eee61a634f5a09dc2d3_bce10160-d58f-4208-97f3-10d9e04eee4e.webp?v=1714838789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd1f5bac5759b61e5d787194080f95b2d6d7f5db_20639c11-0924-4706-afed-88efa17f2045.webp?v=1714838791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1c7f850f7c335cf37e9841de6e6b22fba4fa83a_50ef233b-8c89-4600-8eae-080e4aab5c07.webp?v=1714838793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f3159dac73c34226371f3f2978820318be62c2e_930497f3-acb5-45ca-b71d-31326efba05f.webp?v=1714838796","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b315f09ac504c9d3c6c10daa1c1beffa82a8acd_96918cfe-3eb4-4b93-b917-355d1cffbbe3.webp?v=1714838798","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2620e590cb7fdf61e702383dc055a85b2d3cd1b4_d034ed86-4fae-44cd-a3db-380b440ba149.webp?v=1714838800","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e05892958d3defec451a52a713591d7ece791ebb_beea2587-f793-4055-a160-26451cf58b58.webp?v=1714838802","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a32e3108b041d4ddb5a30f5da4fee9602250cb4d_e29c0966-9427-4219-9964-41a4261bd59b.webp?v=1714838805","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4698dd461528a24537ba0c01c1e0b780578ba31c_82c5d214-363b-48b6-bed9-070c56eb2a97.webp?v=1714838807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184b85fef6330b13eee73288eb4b797a978b9e24_2a244512-d7a6-4c9c-83f2-a63933f562c8.webp?v=1714838810"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa8b49c9dc9158de69a33eee61a634f5a09dc2d3_bce10160-d58f-4208-97f3-10d9e04eee4e.webp?v=1714838789","options":["color"],"media":[{"alt":null,"id":23885376094307,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa8b49c9dc9158de69a33eee61a634f5a09dc2d3_bce10160-d58f-4208-97f3-10d9e04eee4e.webp?v=1714838789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa8b49c9dc9158de69a33eee61a634f5a09dc2d3_bce10160-d58f-4208-97f3-10d9e04eee4e.webp?v=1714838789","width":2000},{"alt":null,"id":23885376454755,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd1f5bac5759b61e5d787194080f95b2d6d7f5db_20639c11-0924-4706-afed-88efa17f2045.webp?v=1714838791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd1f5bac5759b61e5d787194080f95b2d6d7f5db_20639c11-0924-4706-afed-88efa17f2045.webp?v=1714838791","width":2000},{"alt":null,"id":23885376946275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1c7f850f7c335cf37e9841de6e6b22fba4fa83a_50ef233b-8c89-4600-8eae-080e4aab5c07.webp?v=1714838793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1c7f850f7c335cf37e9841de6e6b22fba4fa83a_50ef233b-8c89-4600-8eae-080e4aab5c07.webp?v=1714838793","width":2000},{"alt":null,"id":23885377437795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f3159dac73c34226371f3f2978820318be62c2e_930497f3-acb5-45ca-b71d-31326efba05f.webp?v=1714838796"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f3159dac73c34226371f3f2978820318be62c2e_930497f3-acb5-45ca-b71d-31326efba05f.webp?v=1714838796","width":2000},{"alt":null,"id":23885377863779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b315f09ac504c9d3c6c10daa1c1beffa82a8acd_96918cfe-3eb4-4b93-b917-355d1cffbbe3.webp?v=1714838798"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b315f09ac504c9d3c6c10daa1c1beffa82a8acd_96918cfe-3eb4-4b93-b917-355d1cffbbe3.webp?v=1714838798","width":2000},{"alt":null,"id":23885378256995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2620e590cb7fdf61e702383dc055a85b2d3cd1b4_d034ed86-4fae-44cd-a3db-380b440ba149.webp?v=1714838800"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2620e590cb7fdf61e702383dc055a85b2d3cd1b4_d034ed86-4fae-44cd-a3db-380b440ba149.webp?v=1714838800","width":2000},{"alt":null,"id":23885378814051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e05892958d3defec451a52a713591d7ece791ebb_beea2587-f793-4055-a160-26451cf58b58.webp?v=1714838802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e05892958d3defec451a52a713591d7ece791ebb_beea2587-f793-4055-a160-26451cf58b58.webp?v=1714838802","width":2000},{"alt":null,"id":23885379272803,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a32e3108b041d4ddb5a30f5da4fee9602250cb4d_e29c0966-9427-4219-9964-41a4261bd59b.webp?v=1714838805"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a32e3108b041d4ddb5a30f5da4fee9602250cb4d_e29c0966-9427-4219-9964-41a4261bd59b.webp?v=1714838805","width":2000},{"alt":null,"id":23885379698787,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4698dd461528a24537ba0c01c1e0b780578ba31c_82c5d214-363b-48b6-bed9-070c56eb2a97.webp?v=1714838807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4698dd461528a24537ba0c01c1e0b780578ba31c_82c5d214-363b-48b6-bed9-070c56eb2a97.webp?v=1714838807","width":2000},{"alt":null,"id":23885380255843,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184b85fef6330b13eee73288eb4b797a978b9e24_2a244512-d7a6-4c9c-83f2-a63933f562c8.webp?v=1714838810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184b85fef6330b13eee73288eb4b797a978b9e24_2a244512-d7a6-4c9c-83f2-a63933f562c8.webp?v=1714838810","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41897370615907,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480126931043,"product_id":7411317669987,"position":5,"created_at":"2024-05-05T00:06:38+08:00","updated_at":"2024-05-05T00:06:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b315f09ac504c9d3c6c10daa1c1beffa82a8acd_96918cfe-3eb4-4b93-b917-355d1cffbbe3.webp?v=1714838798","variant_ids":[41897370615907]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Batman Logo - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB03","featured_media":{"alt":null,"id":23885377863779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b315f09ac504c9d3c6c10daa1c1beffa82a8acd_96918cfe-3eb4-4b93-b917-355d1cffbbe3.webp?v=1714838798"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897370714211,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480125587555,"product_id":7411317669987,"position":2,"created_at":"2024-05-05T00:06:31+08:00","updated_at":"2024-05-05T00:06:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd1f5bac5759b61e5d787194080f95b2d6d7f5db_20639c11-0924-4706-afed-88efa17f2045.webp?v=1714838791","variant_ids":[41897370714211]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Batman Logo - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SB03","featured_media":{"alt":null,"id":23885376454755,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd1f5bac5759b61e5d787194080f95b2d6d7f5db_20639c11-0924-4706-afed-88efa17f2045.webp?v=1714838791"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897370943587,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480127389795,"product_id":7411317669987,"position":6,"created_at":"2024-05-05T00:06:40+08:00","updated_at":"2024-05-05T00:06:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2620e590cb7fdf61e702383dc055a85b2d3cd1b4_d034ed86-4fae-44cd-a3db-380b440ba149.webp?v=1714838800","variant_ids":[41897370943587]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Batman Logo - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SB03","featured_media":{"alt":null,"id":23885378256995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2620e590cb7fdf61e702383dc055a85b2d3cd1b4_d034ed86-4fae-44cd-a3db-380b440ba149.webp?v=1714838800"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41897370615907,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480126931043,"product_id":7411317669987,"position":5,"created_at":"2024-05-05T00:06:38+08:00","updated_at":"2024-05-05T00:06:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b315f09ac504c9d3c6c10daa1c1beffa82a8acd_96918cfe-3eb4-4b93-b917-355d1cffbbe3.webp?v=1714838798","variant_ids":[41897370615907]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Batman Logo - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB03","featured_media":{"alt":null,"id":23885377863779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b315f09ac504c9d3c6c10daa1c1beffa82a8acd_96918cfe-3eb4-4b93-b917-355d1cffbbe3.webp?v=1714838798"}},"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: "停產" }