$product = {"id":7369168650339,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡","handle":"iphone-14-pro-mod-nx-printable-pl64","description":null,"published_at":"2024-06-11T16:13:41+08:00","created_at":"2024-04-23T15:37:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-snoopy","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":41793232535651,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31386967769187,"product_id":7369168650339,"position":6,"created_at":"2024-04-23T15:37:24+08:00","updated_at":"2024-04-23T15:37:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34079e11f2b16b2aafd9509a7ed554649e19e9ff_d94179ce-e318-4409-b570-15b173dcbb7a.webp?v=1713857844","variant_ids":[41793232535651]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡 - 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-PL64","featured_media":{"alt":null,"id":23789205946467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34079e11f2b16b2aafd9509a7ed554649e19e9ff_d94179ce-e318-4409-b570-15b173dcbb7a.webp?v=1713857844"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793232601187,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31386969899107,"product_id":7369168650339,"position":8,"created_at":"2024-04-23T15:37:32+08:00","updated_at":"2024-04-23T15:37:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19400379dd2a96195f03347a3a1311f1f681e8e3_b06209df-b2f3-4447-8f01-f593cd3df80d.webp?v=1713857852","variant_ids":[41793232601187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡 - 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-PL64","featured_media":{"alt":null,"id":23789208141923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19400379dd2a96195f03347a3a1311f1f681e8e3_b06209df-b2f3-4447-8f01-f593cd3df80d.webp?v=1713857852"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793232896099,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31386967277667,"product_id":7369168650339,"position":5,"created_at":"2024-04-23T15:37:22+08:00","updated_at":"2024-04-23T15:37:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d46887835304f367184f9eb073f2adf5bcf55436_d97d54f5-bea0-4d3e-9137-bc2745bdef18.webp?v=1713857842","variant_ids":[41793232896099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡 - 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-PL64","featured_media":{"alt":null,"id":23789205487715,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d46887835304f367184f9eb073f2adf5bcf55436_d97d54f5-bea0-4d3e-9137-bc2745bdef18.webp?v=1713857842"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7d2d7b975696f4b4f095482855691746e81efa8_0382ea0c-952b-493a-a27c-4890ea5eca4e.webp?v=1713857831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c3b7913a00eef75aa9b607d2dfccb2096e4c3e_8f0e4888-54fc-4c36-9267-8c8b16fb31d9.webp?v=1713857834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b09c6a591606223f5e471c6a7c32783ad9bdae_688da2cf-08a1-4206-97f0-aa4576315010.webp?v=1713857837","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13c0b08a1382e40baf43ca890b31c5b3fa796fbe_d3c1424f-99c3-4214-a82c-f5c9f0bf4b8d.webp?v=1713857839","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d46887835304f367184f9eb073f2adf5bcf55436_d97d54f5-bea0-4d3e-9137-bc2745bdef18.webp?v=1713857842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34079e11f2b16b2aafd9509a7ed554649e19e9ff_d94179ce-e318-4409-b570-15b173dcbb7a.webp?v=1713857844","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c943394bdb9aa5fed43b6987ca115f8cc43b8a72_af0b5196-1dd1-4029-935d-47574860750d.webp?v=1713857850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19400379dd2a96195f03347a3a1311f1f681e8e3_b06209df-b2f3-4447-8f01-f593cd3df80d.webp?v=1713857852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1b337bd1d853036345e51dfd90e165348851af1_11519799-8021-40f3-b7a0-8253307b1778.webp?v=1713857855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e3e9f4b1a52568c8241b4f01e5cb9545164772d_0830b0ea-9005-47ac-a794-888691fe3e9e.webp?v=1713857857"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7d2d7b975696f4b4f095482855691746e81efa8_0382ea0c-952b-493a-a27c-4890ea5eca4e.webp?v=1713857831","options":["color"],"media":[{"alt":null,"id":23789202866275,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7d2d7b975696f4b4f095482855691746e81efa8_0382ea0c-952b-493a-a27c-4890ea5eca4e.webp?v=1713857831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7d2d7b975696f4b4f095482855691746e81efa8_0382ea0c-952b-493a-a27c-4890ea5eca4e.webp?v=1713857831","width":2000},{"alt":null,"id":23789203456099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c3b7913a00eef75aa9b607d2dfccb2096e4c3e_8f0e4888-54fc-4c36-9267-8c8b16fb31d9.webp?v=1713857834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c3b7913a00eef75aa9b607d2dfccb2096e4c3e_8f0e4888-54fc-4c36-9267-8c8b16fb31d9.webp?v=1713857834","width":2000},{"alt":null,"id":23789204176995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b09c6a591606223f5e471c6a7c32783ad9bdae_688da2cf-08a1-4206-97f0-aa4576315010.webp?v=1713857837"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b09c6a591606223f5e471c6a7c32783ad9bdae_688da2cf-08a1-4206-97f0-aa4576315010.webp?v=1713857837","width":2000},{"alt":null,"id":23789204799587,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13c0b08a1382e40baf43ca890b31c5b3fa796fbe_d3c1424f-99c3-4214-a82c-f5c9f0bf4b8d.webp?v=1713857839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13c0b08a1382e40baf43ca890b31c5b3fa796fbe_d3c1424f-99c3-4214-a82c-f5c9f0bf4b8d.webp?v=1713857839","width":2000},{"alt":null,"id":23789205487715,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d46887835304f367184f9eb073f2adf5bcf55436_d97d54f5-bea0-4d3e-9137-bc2745bdef18.webp?v=1713857842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d46887835304f367184f9eb073f2adf5bcf55436_d97d54f5-bea0-4d3e-9137-bc2745bdef18.webp?v=1713857842","width":2000},{"alt":null,"id":23789205946467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34079e11f2b16b2aafd9509a7ed554649e19e9ff_d94179ce-e318-4409-b570-15b173dcbb7a.webp?v=1713857844"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34079e11f2b16b2aafd9509a7ed554649e19e9ff_d94179ce-e318-4409-b570-15b173dcbb7a.webp?v=1713857844","width":2000},{"alt":null,"id":23789207552099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c943394bdb9aa5fed43b6987ca115f8cc43b8a72_af0b5196-1dd1-4029-935d-47574860750d.webp?v=1713857850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c943394bdb9aa5fed43b6987ca115f8cc43b8a72_af0b5196-1dd1-4029-935d-47574860750d.webp?v=1713857850","width":2000},{"alt":null,"id":23789208141923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19400379dd2a96195f03347a3a1311f1f681e8e3_b06209df-b2f3-4447-8f01-f593cd3df80d.webp?v=1713857852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19400379dd2a96195f03347a3a1311f1f681e8e3_b06209df-b2f3-4447-8f01-f593cd3df80d.webp?v=1713857852","width":2000},{"alt":null,"id":23789208666211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1b337bd1d853036345e51dfd90e165348851af1_11519799-8021-40f3-b7a0-8253307b1778.webp?v=1713857855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1b337bd1d853036345e51dfd90e165348851af1_11519799-8021-40f3-b7a0-8253307b1778.webp?v=1713857855","width":2000},{"alt":null,"id":23789209387107,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e3e9f4b1a52568c8241b4f01e5cb9545164772d_0830b0ea-9005-47ac-a794-888691fe3e9e.webp?v=1713857857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e3e9f4b1a52568c8241b4f01e5cb9545164772d_0830b0ea-9005-47ac-a794-888691fe3e9e.webp?v=1713857857","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41793232535651,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31386967769187,"product_id":7369168650339,"position":6,"created_at":"2024-04-23T15:37:24+08:00","updated_at":"2024-04-23T15:37:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34079e11f2b16b2aafd9509a7ed554649e19e9ff_d94179ce-e318-4409-b570-15b173dcbb7a.webp?v=1713857844","variant_ids":[41793232535651]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡 - 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-PL64","featured_media":{"alt":null,"id":23789205946467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34079e11f2b16b2aafd9509a7ed554649e19e9ff_d94179ce-e318-4409-b570-15b173dcbb7a.webp?v=1713857844"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793232601187,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31386969899107,"product_id":7369168650339,"position":8,"created_at":"2024-04-23T15:37:32+08:00","updated_at":"2024-04-23T15:37:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19400379dd2a96195f03347a3a1311f1f681e8e3_b06209df-b2f3-4447-8f01-f593cd3df80d.webp?v=1713857852","variant_ids":[41793232601187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡 - 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-PL64","featured_media":{"alt":null,"id":23789208141923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19400379dd2a96195f03347a3a1311f1f681e8e3_b06209df-b2f3-4447-8f01-f593cd3df80d.webp?v=1713857852"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793232896099,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31386967277667,"product_id":7369168650339,"position":5,"created_at":"2024-04-23T15:37:22+08:00","updated_at":"2024-04-23T15:37:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d46887835304f367184f9eb073f2adf5bcf55436_d97d54f5-bea0-4d3e-9137-bc2745bdef18.webp?v=1713857842","variant_ids":[41793232896099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡 - 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-PL64","featured_media":{"alt":null,"id":23789205487715,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d46887835304f367184f9eb073f2adf5bcf55436_d97d54f5-bea0-4d3e-9137-bc2745bdef18.webp?v=1713857842"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41793232535651,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31386967769187,"product_id":7369168650339,"position":6,"created_at":"2024-04-23T15:37:24+08:00","updated_at":"2024-04-23T15:37:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34079e11f2b16b2aafd9509a7ed554649e19e9ff_d94179ce-e318-4409-b570-15b173dcbb7a.webp?v=1713857844","variant_ids":[41793232535651]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡 - 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-PL64","featured_media":{"alt":null,"id":23789205946467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34079e11f2b16b2aafd9509a7ed554649e19e9ff_d94179ce-e318-4409-b570-15b173dcbb7a.webp?v=1713857844"}},"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: "停產" }