$product = {"id":1424424140899,"title":"犀牛盾Mod NX防摔手機殼 - iPhone XS","handle":"iphone-xs-mod-nx","description":"\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e\u003cstrong\u003eQ:Mod NX背板內側有一片貼膜是可以撕掉的嗎?\u003c\/strong\u003e\u003cbr\u003eA:Mod NX背板由內側加入一片防刮膜來優化耐刮功能, 也因為耐刮內膜無法被重複黏貼, 請不要將此片內膜撕除。\u003cbr\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e\u003cbr\u003e\u003cstrong\u003eQ:Mod NX商品是否相容滿版保護貼和背面保護貼?\u003c\/strong\u003e\u003cbr\u003eA:\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e1. Mod NX適用一般市售螢幕滿版保護貼,但是因為市售螢幕玻璃保護貼廠牌較多,每一片保護貼設計螢幕的覆蓋範圍較無法一一測試,所以需以實際安裝結果為主。\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e2.犀牛盾耐衝擊背貼:Mod NX 無論邊框模組或是背蓋模組“皆可以相容”它牌滿版玻璃背貼:因為Mod NX保護殼設計較包覆,背面玻璃保護貼將“無法相容”\u003c\/span\u003e\u003c\/p\u003e","published_at":"2018-08-31T18:43:02+08:00","created_at":"2018-08-31T12:06:31+08:00","vendor":"犀牛盾有限公司","type":"ModNX","tags":["20%","2023-tagsAdd-reseller-PL","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","45degree","50%","brand-Apple","bumper-clearplate","device-iphone XS","discountable-item","dropdownDevice-Apple iPhone XS","featured-product","lamlamlamlamlam","member","quickbuy","refresh-kelly-2025","reseller","reseller-asus","reseller-modnx","Top50"],"price":80000,"price_min":80000,"price_max":80000,"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":12488381300835,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"NPB0108424","requires_shipping":true,"taxable":true,"featured_image":{"id":3869595172963,"product_id":1424424140899,"position":5,"created_at":"2018-08-31T12:28:24+08:00","updated_at":"2021-06-21T15:32:53+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/black_blackphone_8240e7f6-f3ae-4078-88e8-f82da090eec5.png?v=1624260773","variant_ids":[12488381300835]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone XS - 黑色","public_title":"黑色","options":["黑色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-26758,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":944137502819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/black_blackphone_8240e7f6-f3ae-4078-88e8-f82da090eec5.png?v=1624260773"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/biush_pink_blackphone_e25f9352-b890-490c-a3aa-0277f9e5b4c3.png?v=1607667164","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/Graphite_blackphone_bb6cf94a-5052-4500-9fdf-371330fb17d7.png?v=1607667164","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/yellow_blackphone_e1a53dd0-bd48-4532-b96e-d169b55f8f86.png?v=1607667164","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/red_blackphone_b1a9553b-8041-4ac4-8dab-da86ac7543ec.png?v=1624260773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/black_blackphone_8240e7f6-f3ae-4078-88e8-f82da090eec5.png?v=1624260773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/white_blackhone_179d3b01-40d1-45ac-98ea-78671ef1acb1.png?v=1624260773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Grey_-MODNX-Combined-Lavender-Clear-BP.png?v=1624260773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Grey_-MODNX-Combined-Platinum_Gray-Clear-BP.png?v=1624260773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB0108477T-Bumper.png?v=1624260773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01084K8-b2b.png?v=1629716113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Grey_-MODNX-Combined-Camo_Green-Clear-BP_7411e63a-5bef-4802-9cc3-bc2c5c0bf109.png?v=1657184554","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01084J5T-Bumper_09247967-528c-4e8e-b083-9f9b94fc334b.png?v=1681979329"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/biush_pink_blackphone_e25f9352-b890-490c-a3aa-0277f9e5b4c3.png?v=1607667164","options":["Color"],"media":[{"alt":null,"id":944137404515,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/biush_pink_blackphone_e25f9352-b890-490c-a3aa-0277f9e5b4c3.png?v=1607667164"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/biush_pink_blackphone_e25f9352-b890-490c-a3aa-0277f9e5b4c3.png?v=1607667164","width":1500},{"alt":null,"id":944137437283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/Graphite_blackphone_bb6cf94a-5052-4500-9fdf-371330fb17d7.png?v=1607667164"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/Graphite_blackphone_bb6cf94a-5052-4500-9fdf-371330fb17d7.png?v=1607667164","width":1500},{"alt":null,"id":944137371747,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/yellow_blackphone_e1a53dd0-bd48-4532-b96e-d169b55f8f86.png?v=1607667164"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/yellow_blackphone_e1a53dd0-bd48-4532-b96e-d169b55f8f86.png?v=1607667164","width":1500},{"alt":null,"id":944137470051,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/red_blackphone_b1a9553b-8041-4ac4-8dab-da86ac7543ec.png?v=1624260773"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/red_blackphone_b1a9553b-8041-4ac4-8dab-da86ac7543ec.png?v=1624260773","width":1500},{"alt":null,"id":944137502819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/black_blackphone_8240e7f6-f3ae-4078-88e8-f82da090eec5.png?v=1624260773"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/black_blackphone_8240e7f6-f3ae-4078-88e8-f82da090eec5.png?v=1624260773","width":1500},{"alt":null,"id":944137535587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/white_blackhone_179d3b01-40d1-45ac-98ea-78671ef1acb1.png?v=1624260773"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/white_blackhone_179d3b01-40d1-45ac-98ea-78671ef1acb1.png?v=1624260773","width":1500},{"alt":null,"id":1423567290467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Grey_-MODNX-Combined-Lavender-Clear-BP.png?v=1624260773"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Grey_-MODNX-Combined-Lavender-Clear-BP.png?v=1624260773","width":1500},{"alt":null,"id":1423567454307,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Grey_-MODNX-Combined-Platinum_Gray-Clear-BP.png?v=1624260773"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Grey_-MODNX-Combined-Platinum_Gray-Clear-BP.png?v=1624260773","width":1500},{"alt":null,"id":7388215935075,"position":9,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB0108477T-Bumper.png?v=1624260773"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB0108477T-Bumper.png?v=1624260773","width":1999},{"alt":null,"id":20793622823011,"position":10,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01084K8-b2b.png?v=1629716113"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01084K8-b2b.png?v=1629716113","width":1999},{"alt":null,"id":21676454576227,"position":11,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Grey_-MODNX-Combined-Camo_Green-Clear-BP_7411e63a-5bef-4802-9cc3-bc2c5c0bf109.png?v=1657184554"},"aspect_ratio":1.0,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/XS_Space_Grey_-MODNX-Combined-Camo_Green-Clear-BP_7411e63a-5bef-4802-9cc3-bc2c5c0bf109.png?v=1657184554","width":1500},{"alt":null,"id":22345269444707,"position":12,"preview_image":{"aspect_ratio":1.333,"height":1500,"width":1999,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01084J5T-Bumper_09247967-528c-4e8e-b083-9f9b94fc334b.png?v=1681979329"},"aspect_ratio":1.333,"height":1500,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/NPB01084J5T-Bumper_09247967-528c-4e8e-b083-9f9b94fc334b.png?v=1681979329","width":1999}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e\u003cstrong\u003eQ:Mod NX背板內側有一片貼膜是可以撕掉的嗎?\u003c\/strong\u003e\u003cbr\u003eA:Mod NX背板由內側加入一片防刮膜來優化耐刮功能, 也因為耐刮內膜無法被重複黏貼, 請不要將此片內膜撕除。\u003cbr\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e\u003cbr\u003e\u003cstrong\u003eQ:Mod NX商品是否相容滿版保護貼和背面保護貼?\u003c\/strong\u003e\u003cbr\u003eA:\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e1. Mod NX適用一般市售螢幕滿版保護貼,但是因為市售螢幕玻璃保護貼廠牌較多,每一片保護貼設計螢幕的覆蓋範圍較無法一一測試,所以需以實際安裝結果為主。\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"color: #0000ff;\"\u003e2.犀牛盾耐衝擊背貼:Mod NX 無論邊框模組或是背蓋模組“皆可以相容”它牌滿版玻璃背貼:因為Mod NX保護殼設計較包覆,背面玻璃保護貼將“無法相容”\u003c\/span\u003e\u003c\/p\u003e"}; $isMerge = null; $variants = [{"id":12488381300835,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"NPB0108424","requires_shipping":true,"taxable":true,"featured_image":{"id":3869595172963,"product_id":1424424140899,"position":5,"created_at":"2018-08-31T12:28:24+08:00","updated_at":"2021-06-21T15:32:53+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/black_blackphone_8240e7f6-f3ae-4078-88e8-f82da090eec5.png?v=1624260773","variant_ids":[12488381300835]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone XS - 黑色","public_title":"黑色","options":["黑色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-26758,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":944137502819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/black_blackphone_8240e7f6-f3ae-4078-88e8-f82da090eec5.png?v=1624260773"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":12488381300835,"title":"黑色","option1":"黑色","option2":null,"option3":null,"sku":"NPB0108424","requires_shipping":true,"taxable":true,"featured_image":{"id":3869595172963,"product_id":1424424140899,"position":5,"created_at":"2018-08-31T12:28:24+08:00","updated_at":"2021-06-21T15:32:53+08:00","alt":null,"width":1500,"height":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/black_blackphone_8240e7f6-f3ae-4078-88e8-f82da090eec5.png?v=1624260773","variant_ids":[12488381300835]},"available":true,"name":"犀牛盾Mod NX防摔手機殼 - iPhone XS - 黑色","public_title":"黑色","options":["黑色"],"price":80000,"weight":100,"compare_at_price":null,"inventory_quantity":-26758,"inventory_management":null,"inventory_policy":"deny","barcode":null,"featured_media":{"alt":null,"id":944137502819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1500,"width":1500,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/black_blackphone_8240e7f6-f3ae-4078-88e8-f82da090eec5.png?v=1624260773"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }