$product = {"id":7407907831907,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點","handle":"iphone-14-pro-mod-nx-printable-eo02","description":null,"published_at":"2024-06-11T16:26:13+08:00","created_at":"2024-05-03T11:13:41+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Weiweiboy","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-weiweiboy","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-weiweiboy","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":41880375820387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470671593571,"product_id":7407907831907,"position":3,"created_at":"2024-05-03T11:13:48+08:00","updated_at":"2024-05-03T11:13:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ee71c0183113487b964bb452a97875730ec44c_fc60403e-0231-437d-a6af-a23ff26d478b.webp?v=1714706028","variant_ids":[41880375820387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-EO02","featured_media":{"alt":null,"id":23875575578723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ee71c0183113487b964bb452a97875730ec44c_fc60403e-0231-437d-a6af-a23ff26d478b.webp?v=1714706028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880375885923,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470672609379,"product_id":7407907831907,"position":5,"created_at":"2024-05-03T11:13:53+08:00","updated_at":"2024-05-03T11:13:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cc83d13ab14213d64428b147163be2d8d06fb24_78f45742-cbcd-49d6-bcfa-bc221f59f357.webp?v=1714706033","variant_ids":[41880375885923]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-EO02","featured_media":{"alt":null,"id":23875576561763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cc83d13ab14213d64428b147163be2d8d06fb24_78f45742-cbcd-49d6-bcfa-bc221f59f357.webp?v=1714706033"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880376246371,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470670676067,"product_id":7407907831907,"position":1,"created_at":"2024-05-03T11:13:43+08:00","updated_at":"2024-05-03T11:13:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf6c6cb9ac6595122fe917072976540b7a8b9274_36ac3402-d4ac-4010-a216-f0e34e0b47d2.webp?v=1714706023","variant_ids":[41880376246371]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-EO02","featured_media":{"alt":null,"id":23875574661219,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf6c6cb9ac6595122fe917072976540b7a8b9274_36ac3402-d4ac-4010-a216-f0e34e0b47d2.webp?v=1714706023"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf6c6cb9ac6595122fe917072976540b7a8b9274_36ac3402-d4ac-4010-a216-f0e34e0b47d2.webp?v=1714706023","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85c93473a90da651f0c72bd71bae07babbc3b76e_4025899d-87c6-45dd-b7cd-62b140979910.webp?v=1714706026","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ee71c0183113487b964bb452a97875730ec44c_fc60403e-0231-437d-a6af-a23ff26d478b.webp?v=1714706028","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dee11cd5936e77186bed4f498268bdca522da1e_dd491e07-2bd6-4eee-8399-9f63c5489de8.webp?v=1714706031","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cc83d13ab14213d64428b147163be2d8d06fb24_78f45742-cbcd-49d6-bcfa-bc221f59f357.webp?v=1714706033","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5e9d73306b88a134458e9225c5c35acbd55a65c_b9270390-1a92-4aea-8ee4-9c1fec8da32d.webp?v=1714706035","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eda4d46eac16bc7254827cd44614b1d9a9755c8_ea002b53-635e-4c61-b1e4-fb7acc8a9fde.webp?v=1714706038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3546ee381ed346912609c1477829bf2dc4948521_ec8fbd91-d717-485f-a0b7-b3d35f6ff160.webp?v=1714706040","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5574f09306d23f0092dcc55c5aaa1080938d768a_eb078e07-a8a4-4e1b-9d42-653895053b2a.webp?v=1714706043","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77efa5bd1e2f921ad1838174341e364438011ee9_4e9ffbe8-a31a-48a3-abfa-7517b113d53f.webp?v=1714706045"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf6c6cb9ac6595122fe917072976540b7a8b9274_36ac3402-d4ac-4010-a216-f0e34e0b47d2.webp?v=1714706023","options":["color"],"media":[{"alt":null,"id":23875574661219,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf6c6cb9ac6595122fe917072976540b7a8b9274_36ac3402-d4ac-4010-a216-f0e34e0b47d2.webp?v=1714706023"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf6c6cb9ac6595122fe917072976540b7a8b9274_36ac3402-d4ac-4010-a216-f0e34e0b47d2.webp?v=1714706023","width":2000},{"alt":null,"id":23875575119971,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85c93473a90da651f0c72bd71bae07babbc3b76e_4025899d-87c6-45dd-b7cd-62b140979910.webp?v=1714706026"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85c93473a90da651f0c72bd71bae07babbc3b76e_4025899d-87c6-45dd-b7cd-62b140979910.webp?v=1714706026","width":2000},{"alt":null,"id":23875575578723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ee71c0183113487b964bb452a97875730ec44c_fc60403e-0231-437d-a6af-a23ff26d478b.webp?v=1714706028"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ee71c0183113487b964bb452a97875730ec44c_fc60403e-0231-437d-a6af-a23ff26d478b.webp?v=1714706028","width":2000},{"alt":null,"id":23875576103011,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dee11cd5936e77186bed4f498268bdca522da1e_dd491e07-2bd6-4eee-8399-9f63c5489de8.webp?v=1714706031"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dee11cd5936e77186bed4f498268bdca522da1e_dd491e07-2bd6-4eee-8399-9f63c5489de8.webp?v=1714706031","width":2000},{"alt":null,"id":23875576561763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cc83d13ab14213d64428b147163be2d8d06fb24_78f45742-cbcd-49d6-bcfa-bc221f59f357.webp?v=1714706033"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cc83d13ab14213d64428b147163be2d8d06fb24_78f45742-cbcd-49d6-bcfa-bc221f59f357.webp?v=1714706033","width":2000},{"alt":null,"id":23875577086051,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5e9d73306b88a134458e9225c5c35acbd55a65c_b9270390-1a92-4aea-8ee4-9c1fec8da32d.webp?v=1714706035"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5e9d73306b88a134458e9225c5c35acbd55a65c_b9270390-1a92-4aea-8ee4-9c1fec8da32d.webp?v=1714706035","width":2000},{"alt":null,"id":23875577741411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eda4d46eac16bc7254827cd44614b1d9a9755c8_ea002b53-635e-4c61-b1e4-fb7acc8a9fde.webp?v=1714706038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eda4d46eac16bc7254827cd44614b1d9a9755c8_ea002b53-635e-4c61-b1e4-fb7acc8a9fde.webp?v=1714706038","width":2000},{"alt":null,"id":23875578134627,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3546ee381ed346912609c1477829bf2dc4948521_ec8fbd91-d717-485f-a0b7-b3d35f6ff160.webp?v=1714706040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3546ee381ed346912609c1477829bf2dc4948521_ec8fbd91-d717-485f-a0b7-b3d35f6ff160.webp?v=1714706040","width":2000},{"alt":null,"id":23875578626147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5574f09306d23f0092dcc55c5aaa1080938d768a_eb078e07-a8a4-4e1b-9d42-653895053b2a.webp?v=1714706043"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5574f09306d23f0092dcc55c5aaa1080938d768a_eb078e07-a8a4-4e1b-9d42-653895053b2a.webp?v=1714706043","width":2000},{"alt":null,"id":23875579117667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77efa5bd1e2f921ad1838174341e364438011ee9_4e9ffbe8-a31a-48a3-abfa-7517b113d53f.webp?v=1714706045"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77efa5bd1e2f921ad1838174341e364438011ee9_4e9ffbe8-a31a-48a3-abfa-7517b113d53f.webp?v=1714706045","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880375820387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470671593571,"product_id":7407907831907,"position":3,"created_at":"2024-05-03T11:13:48+08:00","updated_at":"2024-05-03T11:13:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ee71c0183113487b964bb452a97875730ec44c_fc60403e-0231-437d-a6af-a23ff26d478b.webp?v=1714706028","variant_ids":[41880375820387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-EO02","featured_media":{"alt":null,"id":23875575578723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ee71c0183113487b964bb452a97875730ec44c_fc60403e-0231-437d-a6af-a23ff26d478b.webp?v=1714706028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880375885923,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470672609379,"product_id":7407907831907,"position":5,"created_at":"2024-05-03T11:13:53+08:00","updated_at":"2024-05-03T11:13:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cc83d13ab14213d64428b147163be2d8d06fb24_78f45742-cbcd-49d6-bcfa-bc221f59f357.webp?v=1714706033","variant_ids":[41880375885923]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-EO02","featured_media":{"alt":null,"id":23875576561763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cc83d13ab14213d64428b147163be2d8d06fb24_78f45742-cbcd-49d6-bcfa-bc221f59f357.webp?v=1714706033"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880376246371,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470670676067,"product_id":7407907831907,"position":1,"created_at":"2024-05-03T11:13:43+08:00","updated_at":"2024-05-03T11:13:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf6c6cb9ac6595122fe917072976540b7a8b9274_36ac3402-d4ac-4010-a216-f0e34e0b47d2.webp?v=1714706023","variant_ids":[41880376246371]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-EO02","featured_media":{"alt":null,"id":23875574661219,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf6c6cb9ac6595122fe917072976540b7a8b9274_36ac3402-d4ac-4010-a216-f0e34e0b47d2.webp?v=1714706023"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880375820387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-EO02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470671593571,"product_id":7407907831907,"position":3,"created_at":"2024-05-03T11:13:48+08:00","updated_at":"2024-05-03T11:13:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ee71c0183113487b964bb452a97875730ec44c_fc60403e-0231-437d-a6af-a23ff26d478b.webp?v=1714706028","variant_ids":[41880375820387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Weiweiboy - 讓世界再可愛一點 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-EO02","featured_media":{"alt":null,"id":23875575578723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ee71c0183113487b964bb452a97875730ec44c_fc60403e-0231-437d-a6af-a23ff26d478b.webp?v=1714706028"}},"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: "停產" }