$product = {"id":7407852683363,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念","handle":"iphone-14-pro-mod-nx-printable-yf05","description":null,"published_at":"2024-06-11T16:24:38+08:00","created_at":"2024-05-03T11:02:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-stitch","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":41879647092835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470527709283,"product_id":7407852683363,"position":3,"created_at":"2024-05-03T11:02:50+08:00","updated_at":"2024-05-03T11:02:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556c8a94a1b4553ff65947475e8b2cdf6075d803_a4e5ad94-0241-4aa4-a5f9-f666ee0199cd.webp?v=1714705370","variant_ids":[41879647092835]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23875431465059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556c8a94a1b4553ff65947475e8b2cdf6075d803_a4e5ad94-0241-4aa4-a5f9-f666ee0199cd.webp?v=1714705370"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879647158371,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470531412067,"product_id":7407852683363,"position":7,"created_at":"2024-05-03T11:03:01+08:00","updated_at":"2024-05-03T11:03:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7375eba3b5d54622d766a86881491e80bd3b1b_0be0a868-dbf6-4211-8225-5770316e078c.webp?v=1714705381","variant_ids":[41879647158371]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23875435200611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7375eba3b5d54622d766a86881491e80bd3b1b_0be0a868-dbf6-4211-8225-5770316e078c.webp?v=1714705381"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879647387747,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470526267491,"product_id":7407852683363,"position":2,"created_at":"2024-05-03T11:02:47+08:00","updated_at":"2024-05-03T11:02:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb91f5db9c268ec1eb8679dada7ed02f427c5d00_f1404aa7-81d7-4c8e-8963-40cafc416029.webp?v=1714705367","variant_ids":[41879647387747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23875430023267,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb91f5db9c268ec1eb8679dada7ed02f427c5d00_f1404aa7-81d7-4c8e-8963-40cafc416029.webp?v=1714705367"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34a02873578f28f5a9907cf48ce7104d8e75d488_9773b2d6-793c-4b0e-9d34-12ca66b20b64.webp?v=1714705365","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb91f5db9c268ec1eb8679dada7ed02f427c5d00_f1404aa7-81d7-4c8e-8963-40cafc416029.webp?v=1714705367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556c8a94a1b4553ff65947475e8b2cdf6075d803_a4e5ad94-0241-4aa4-a5f9-f666ee0199cd.webp?v=1714705370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03e5878561d4909b69604edcfa0c6284f75f25c8_e20e8c40-370a-4f48-962d-0c4e88b7a647.webp?v=1714705372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4da582bd2fa554046ec03637d154ea8b56aa68c2_c150ff8f-1bbd-4937-832d-d3f7064d783c.webp?v=1714705375","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505e1aa51920696153e73fab24e55b634a147f96_62d9b642-319b-43c4-888e-35e994390dc5.webp?v=1714705377","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7375eba3b5d54622d766a86881491e80bd3b1b_0be0a868-dbf6-4211-8225-5770316e078c.webp?v=1714705381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da9c2f6f614e747c1dc50b1cb02dcc8b4b0c547_86c484ca-5786-4fd8-85af-64a23729c6cf.webp?v=1714705383","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/890d3e1003d61f701148089e7cb94e9552743d57_57b1fbc5-190f-46da-8b54-dc3d17ed1cc9.webp?v=1714705385","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/873edc12ae4de5fe67e636de92382e62b96f44b8_62a0f7fc-bdb7-4e3f-a136-2134342bb1b5.webp?v=1714705388"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34a02873578f28f5a9907cf48ce7104d8e75d488_9773b2d6-793c-4b0e-9d34-12ca66b20b64.webp?v=1714705365","options":["color"],"media":[{"alt":null,"id":23875429236835,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34a02873578f28f5a9907cf48ce7104d8e75d488_9773b2d6-793c-4b0e-9d34-12ca66b20b64.webp?v=1714705365"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34a02873578f28f5a9907cf48ce7104d8e75d488_9773b2d6-793c-4b0e-9d34-12ca66b20b64.webp?v=1714705365","width":2000},{"alt":null,"id":23875430023267,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb91f5db9c268ec1eb8679dada7ed02f427c5d00_f1404aa7-81d7-4c8e-8963-40cafc416029.webp?v=1714705367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb91f5db9c268ec1eb8679dada7ed02f427c5d00_f1404aa7-81d7-4c8e-8963-40cafc416029.webp?v=1714705367","width":2000},{"alt":null,"id":23875431465059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556c8a94a1b4553ff65947475e8b2cdf6075d803_a4e5ad94-0241-4aa4-a5f9-f666ee0199cd.webp?v=1714705370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556c8a94a1b4553ff65947475e8b2cdf6075d803_a4e5ad94-0241-4aa4-a5f9-f666ee0199cd.webp?v=1714705370","width":2000},{"alt":null,"id":23875432874083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03e5878561d4909b69604edcfa0c6284f75f25c8_e20e8c40-370a-4f48-962d-0c4e88b7a647.webp?v=1714705372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03e5878561d4909b69604edcfa0c6284f75f25c8_e20e8c40-370a-4f48-962d-0c4e88b7a647.webp?v=1714705372","width":2000},{"alt":null,"id":23875433758819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4da582bd2fa554046ec03637d154ea8b56aa68c2_c150ff8f-1bbd-4937-832d-d3f7064d783c.webp?v=1714705375"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4da582bd2fa554046ec03637d154ea8b56aa68c2_c150ff8f-1bbd-4937-832d-d3f7064d783c.webp?v=1714705375","width":2000},{"alt":null,"id":23875434741859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505e1aa51920696153e73fab24e55b634a147f96_62d9b642-319b-43c4-888e-35e994390dc5.webp?v=1714705377"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505e1aa51920696153e73fab24e55b634a147f96_62d9b642-319b-43c4-888e-35e994390dc5.webp?v=1714705377","width":2000},{"alt":null,"id":23875435200611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7375eba3b5d54622d766a86881491e80bd3b1b_0be0a868-dbf6-4211-8225-5770316e078c.webp?v=1714705381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7375eba3b5d54622d766a86881491e80bd3b1b_0be0a868-dbf6-4211-8225-5770316e078c.webp?v=1714705381","width":2000},{"alt":null,"id":23875437396067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da9c2f6f614e747c1dc50b1cb02dcc8b4b0c547_86c484ca-5786-4fd8-85af-64a23729c6cf.webp?v=1714705383"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da9c2f6f614e747c1dc50b1cb02dcc8b4b0c547_86c484ca-5786-4fd8-85af-64a23729c6cf.webp?v=1714705383","width":2000},{"alt":null,"id":23875438739555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/890d3e1003d61f701148089e7cb94e9552743d57_57b1fbc5-190f-46da-8b54-dc3d17ed1cc9.webp?v=1714705385"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/890d3e1003d61f701148089e7cb94e9552743d57_57b1fbc5-190f-46da-8b54-dc3d17ed1cc9.webp?v=1714705385","width":2000},{"alt":null,"id":23875439591523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/873edc12ae4de5fe67e636de92382e62b96f44b8_62a0f7fc-bdb7-4e3f-a136-2134342bb1b5.webp?v=1714705388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/873edc12ae4de5fe67e636de92382e62b96f44b8_62a0f7fc-bdb7-4e3f-a136-2134342bb1b5.webp?v=1714705388","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879647092835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470527709283,"product_id":7407852683363,"position":3,"created_at":"2024-05-03T11:02:50+08:00","updated_at":"2024-05-03T11:02:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556c8a94a1b4553ff65947475e8b2cdf6075d803_a4e5ad94-0241-4aa4-a5f9-f666ee0199cd.webp?v=1714705370","variant_ids":[41879647092835]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23875431465059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556c8a94a1b4553ff65947475e8b2cdf6075d803_a4e5ad94-0241-4aa4-a5f9-f666ee0199cd.webp?v=1714705370"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879647158371,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470531412067,"product_id":7407852683363,"position":7,"created_at":"2024-05-03T11:03:01+08:00","updated_at":"2024-05-03T11:03:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7375eba3b5d54622d766a86881491e80bd3b1b_0be0a868-dbf6-4211-8225-5770316e078c.webp?v=1714705381","variant_ids":[41879647158371]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23875435200611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7375eba3b5d54622d766a86881491e80bd3b1b_0be0a868-dbf6-4211-8225-5770316e078c.webp?v=1714705381"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879647387747,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470526267491,"product_id":7407852683363,"position":2,"created_at":"2024-05-03T11:02:47+08:00","updated_at":"2024-05-03T11:02:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb91f5db9c268ec1eb8679dada7ed02f427c5d00_f1404aa7-81d7-4c8e-8963-40cafc416029.webp?v=1714705367","variant_ids":[41879647387747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23875430023267,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb91f5db9c268ec1eb8679dada7ed02f427c5d00_f1404aa7-81d7-4c8e-8963-40cafc416029.webp?v=1714705367"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879647092835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470527709283,"product_id":7407852683363,"position":3,"created_at":"2024-05-03T11:02:50+08:00","updated_at":"2024-05-03T11:02:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556c8a94a1b4553ff65947475e8b2cdf6075d803_a4e5ad94-0241-4aa4-a5f9-f666ee0199cd.webp?v=1714705370","variant_ids":[41879647092835]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23875431465059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/556c8a94a1b4553ff65947475e8b2cdf6075d803_a4e5ad94-0241-4aa4-a5f9-f666ee0199cd.webp?v=1714705370"}},"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: "停產" }