$product = {"id":7408193142883,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Weiweiboy - 可愛大王上甜點","handle":"iphone-13-mini-mod-nx-printable-eo04","description":null,"published_at":"2024-06-11T16:33:54+08:00","created_at":"2024-05-03T12:18:07+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 13 mini","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":41883710619747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471437545571,"product_id":7408193142883,"position":7,"created_at":"2024-05-03T12:18:24+08:00","updated_at":"2024-05-03T12:18:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27daa13f473fd6a3849397d1c49cdd2a752b4ec_cf023652-0a37-4245-9b77-2d17bc1ee8b6.webp?v=1714709904","variant_ids":[41883710619747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 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":"NPB0122824-EO04","featured_media":{"alt":null,"id":23876343890019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27daa13f473fd6a3849397d1c49cdd2a752b4ec_cf023652-0a37-4245-9b77-2d17bc1ee8b6.webp?v=1714709904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883710685283,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471438528611,"product_id":7408193142883,"position":9,"created_at":"2024-05-03T12:18:29+08:00","updated_at":"2024-05-03T12:18:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e75637ee127e3e5bd217f19130224d3efbdd93_b3da4387-0048-4f7b-86c4-9d6059ca9109.webp?v=1714709909","variant_ids":[41883710685283]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 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":"NPB0122804-EO04","featured_media":{"alt":null,"id":23876344873059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e75637ee127e3e5bd217f19130224d3efbdd93_b3da4387-0048-4f7b-86c4-9d6059ca9109.webp?v=1714709909"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883710914659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471437086819,"product_id":7408193142883,"position":6,"created_at":"2024-05-03T12:18:22+08:00","updated_at":"2024-05-03T12:18:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cff6ed7c1f1bbf073863328eb14b9e0e81a7111_29ad7efb-2560-4543-806d-3987d83c107e.webp?v=1714709902","variant_ids":[41883710914659]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 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":"NPB01228J5-EO04","featured_media":{"alt":null,"id":23876343365731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cff6ed7c1f1bbf073863328eb14b9e0e81a7111_29ad7efb-2560-4543-806d-3987d83c107e.webp?v=1714709902"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84e05da7ae9f2db42e9fae83484261605dd53145_146cee16-e0c5-442b-a8cb-4d4ba8211859.webp?v=1714709890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/090d2a1eccd4c2d932b35a51e0edf8bafa748601_f7bfdbcb-71a1-4257-a6a1-bc08e0370f76.webp?v=1714709892","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e73899980ab2b70137d007ed8e44702b4532c802_a6983f56-f006-4163-8e56-17155cef4426.webp?v=1714709894","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82db79278ec1c4475e76f988c718c45fd3222ec4_a714503c-f2d9-42b0-b292-7960b9260361.webp?v=1714709897","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67039f0bd85776051bf6d563bf62ec54ecb56297_68b1fde8-701d-4ce3-be58-5dbcf4168f02.webp?v=1714709899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cff6ed7c1f1bbf073863328eb14b9e0e81a7111_29ad7efb-2560-4543-806d-3987d83c107e.webp?v=1714709902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27daa13f473fd6a3849397d1c49cdd2a752b4ec_cf023652-0a37-4245-9b77-2d17bc1ee8b6.webp?v=1714709904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c483a5d82ebe31e3b5211ee3f04890a0970c4798_d3aacbc7-bd7d-4a03-adb7-eb7a2c2e49e4.webp?v=1714709906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e75637ee127e3e5bd217f19130224d3efbdd93_b3da4387-0048-4f7b-86c4-9d6059ca9109.webp?v=1714709909","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a9bd605d0134c20248e4120bd43f6e2e008efc_24224aa9-2307-49ef-a87c-99ff24947595.webp?v=1714709911"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84e05da7ae9f2db42e9fae83484261605dd53145_146cee16-e0c5-442b-a8cb-4d4ba8211859.webp?v=1714709890","options":["color"],"media":[{"alt":null,"id":23876340449379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84e05da7ae9f2db42e9fae83484261605dd53145_146cee16-e0c5-442b-a8cb-4d4ba8211859.webp?v=1714709890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84e05da7ae9f2db42e9fae83484261605dd53145_146cee16-e0c5-442b-a8cb-4d4ba8211859.webp?v=1714709890","width":2000},{"alt":null,"id":23876340842595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/090d2a1eccd4c2d932b35a51e0edf8bafa748601_f7bfdbcb-71a1-4257-a6a1-bc08e0370f76.webp?v=1714709892"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/090d2a1eccd4c2d932b35a51e0edf8bafa748601_f7bfdbcb-71a1-4257-a6a1-bc08e0370f76.webp?v=1714709892","width":2000},{"alt":null,"id":23876341465187,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e73899980ab2b70137d007ed8e44702b4532c802_a6983f56-f006-4163-8e56-17155cef4426.webp?v=1714709894"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e73899980ab2b70137d007ed8e44702b4532c802_a6983f56-f006-4163-8e56-17155cef4426.webp?v=1714709894","width":2000},{"alt":null,"id":23876342153315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82db79278ec1c4475e76f988c718c45fd3222ec4_a714503c-f2d9-42b0-b292-7960b9260361.webp?v=1714709897"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82db79278ec1c4475e76f988c718c45fd3222ec4_a714503c-f2d9-42b0-b292-7960b9260361.webp?v=1714709897","width":2000},{"alt":null,"id":23876342972515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67039f0bd85776051bf6d563bf62ec54ecb56297_68b1fde8-701d-4ce3-be58-5dbcf4168f02.webp?v=1714709899"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67039f0bd85776051bf6d563bf62ec54ecb56297_68b1fde8-701d-4ce3-be58-5dbcf4168f02.webp?v=1714709899","width":2000},{"alt":null,"id":23876343365731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cff6ed7c1f1bbf073863328eb14b9e0e81a7111_29ad7efb-2560-4543-806d-3987d83c107e.webp?v=1714709902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cff6ed7c1f1bbf073863328eb14b9e0e81a7111_29ad7efb-2560-4543-806d-3987d83c107e.webp?v=1714709902","width":2000},{"alt":null,"id":23876343890019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27daa13f473fd6a3849397d1c49cdd2a752b4ec_cf023652-0a37-4245-9b77-2d17bc1ee8b6.webp?v=1714709904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27daa13f473fd6a3849397d1c49cdd2a752b4ec_cf023652-0a37-4245-9b77-2d17bc1ee8b6.webp?v=1714709904","width":2000},{"alt":null,"id":23876344316003,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c483a5d82ebe31e3b5211ee3f04890a0970c4798_d3aacbc7-bd7d-4a03-adb7-eb7a2c2e49e4.webp?v=1714709906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c483a5d82ebe31e3b5211ee3f04890a0970c4798_d3aacbc7-bd7d-4a03-adb7-eb7a2c2e49e4.webp?v=1714709906","width":2000},{"alt":null,"id":23876344873059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e75637ee127e3e5bd217f19130224d3efbdd93_b3da4387-0048-4f7b-86c4-9d6059ca9109.webp?v=1714709909"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e75637ee127e3e5bd217f19130224d3efbdd93_b3da4387-0048-4f7b-86c4-9d6059ca9109.webp?v=1714709909","width":2000},{"alt":null,"id":23876345331811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a9bd605d0134c20248e4120bd43f6e2e008efc_24224aa9-2307-49ef-a87c-99ff24947595.webp?v=1714709911"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21a9bd605d0134c20248e4120bd43f6e2e008efc_24224aa9-2307-49ef-a87c-99ff24947595.webp?v=1714709911","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883710619747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471437545571,"product_id":7408193142883,"position":7,"created_at":"2024-05-03T12:18:24+08:00","updated_at":"2024-05-03T12:18:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27daa13f473fd6a3849397d1c49cdd2a752b4ec_cf023652-0a37-4245-9b77-2d17bc1ee8b6.webp?v=1714709904","variant_ids":[41883710619747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 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":"NPB0122824-EO04","featured_media":{"alt":null,"id":23876343890019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27daa13f473fd6a3849397d1c49cdd2a752b4ec_cf023652-0a37-4245-9b77-2d17bc1ee8b6.webp?v=1714709904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883710685283,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471438528611,"product_id":7408193142883,"position":9,"created_at":"2024-05-03T12:18:29+08:00","updated_at":"2024-05-03T12:18:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e75637ee127e3e5bd217f19130224d3efbdd93_b3da4387-0048-4f7b-86c4-9d6059ca9109.webp?v=1714709909","variant_ids":[41883710685283]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 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":"NPB0122804-EO04","featured_media":{"alt":null,"id":23876344873059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e75637ee127e3e5bd217f19130224d3efbdd93_b3da4387-0048-4f7b-86c4-9d6059ca9109.webp?v=1714709909"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883710914659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471437086819,"product_id":7408193142883,"position":6,"created_at":"2024-05-03T12:18:22+08:00","updated_at":"2024-05-03T12:18:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cff6ed7c1f1bbf073863328eb14b9e0e81a7111_29ad7efb-2560-4543-806d-3987d83c107e.webp?v=1714709902","variant_ids":[41883710914659]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 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":"NPB01228J5-EO04","featured_media":{"alt":null,"id":23876343365731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cff6ed7c1f1bbf073863328eb14b9e0e81a7111_29ad7efb-2560-4543-806d-3987d83c107e.webp?v=1714709902"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883710619747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471437545571,"product_id":7408193142883,"position":7,"created_at":"2024-05-03T12:18:24+08:00","updated_at":"2024-05-03T12:18:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27daa13f473fd6a3849397d1c49cdd2a752b4ec_cf023652-0a37-4245-9b77-2d17bc1ee8b6.webp?v=1714709904","variant_ids":[41883710619747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 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":"NPB0122824-EO04","featured_media":{"alt":null,"id":23876343890019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27daa13f473fd6a3849397d1c49cdd2a752b4ec_cf023652-0a37-4245-9b77-2d17bc1ee8b6.webp?v=1714709904"}},"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: "停產" }