$product = {"id":7407840100451,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 雲朵綿綿","handle":"iphone-14-pro-mod-nx-printable-yb10","description":null,"published_at":"2024-06-11T16:24:18+08:00","created_at":"2024-05-03T11:00:21+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-carebears","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":41879489314915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470498676835,"product_id":7407840100451,"position":3,"created_at":"2024-05-03T11:00:28+08:00","updated_at":"2024-05-03T11:00:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/078f65e02c91a46163522a31c73a7dfa7b613d93_e533630d-ad56-43ba-a559-b21aee649710.webp?v=1714705228","variant_ids":[41879489314915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 雲朵綿綿 - 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-YB10","featured_media":{"alt":null,"id":23875402465379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/078f65e02c91a46163522a31c73a7dfa7b613d93_e533630d-ad56-43ba-a559-b21aee649710.webp?v=1714705228"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879489478755,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470498349155,"product_id":7407840100451,"position":2,"created_at":"2024-05-03T11:00:26+08:00","updated_at":"2024-05-03T11:00:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7002ac87e0f9a0e12e20a39aa51ee6921c192390_d2a94f84-1c6b-41dd-8440-fdbe106d2eb4.webp?v=1714705226","variant_ids":[41879489478755]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 雲朵綿綿 - 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-YB10","featured_media":{"alt":null,"id":23875402104931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7002ac87e0f9a0e12e20a39aa51ee6921c192390_d2a94f84-1c6b-41dd-8440-fdbe106d2eb4.webp?v=1714705226"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879489806435,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470499528803,"product_id":7407840100451,"position":5,"created_at":"2024-05-03T11:00:33+08:00","updated_at":"2024-05-03T11:00:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd90fcda6940da23e89e1991b5f0ccd9d264440_07754253-e399-49cd-b0de-580c14fbee1c.webp?v=1714705233","variant_ids":[41879489806435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 雲朵綿綿 - 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-YB10","featured_media":{"alt":null,"id":23875403284579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd90fcda6940da23e89e1991b5f0ccd9d264440_07754253-e399-49cd-b0de-580c14fbee1c.webp?v=1714705233"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8b63f337d66e182d48fe3c55f6d95af8c56012_ae34c549-ecb9-4654-8313-3c9ca03b639d.webp?v=1714705223","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7002ac87e0f9a0e12e20a39aa51ee6921c192390_d2a94f84-1c6b-41dd-8440-fdbe106d2eb4.webp?v=1714705226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/078f65e02c91a46163522a31c73a7dfa7b613d93_e533630d-ad56-43ba-a559-b21aee649710.webp?v=1714705228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da26dff1e3790d06d13d47dae2865da0863fb350_27aca077-4c1a-4ca2-a570-07d63281e321.webp?v=1714705230","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd90fcda6940da23e89e1991b5f0ccd9d264440_07754253-e399-49cd-b0de-580c14fbee1c.webp?v=1714705233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9eba0eb51cc62da9356a6dcaed436524acd2c3f_71084b73-4c85-46f4-b54e-1efb5a5690ee.webp?v=1714705235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ad53581e82e536e335eed90ca9eb1c5abfb78c1_fc037aad-c1f9-4bd2-9ce6-5ec657c7d480.webp?v=1714705238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfc5323e16426848fb3d35934c29232b718cafa5_4b933043-18bd-43cd-836a-03ab6430f408.webp?v=1714705240","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce3a8b6b58daf7776e1bef18aa301ee9215fa67_de8e6dc5-5119-487c-9007-f8aa018fb3dd.webp?v=1714705243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a6e82685334c5f74cab386e700c91d229955e_da11ce49-63e3-45bc-b69b-19091c0bec6c.webp?v=1714705245"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8b63f337d66e182d48fe3c55f6d95af8c56012_ae34c549-ecb9-4654-8313-3c9ca03b639d.webp?v=1714705223","options":["color"],"media":[{"alt":null,"id":23875401777251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8b63f337d66e182d48fe3c55f6d95af8c56012_ae34c549-ecb9-4654-8313-3c9ca03b639d.webp?v=1714705223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8b63f337d66e182d48fe3c55f6d95af8c56012_ae34c549-ecb9-4654-8313-3c9ca03b639d.webp?v=1714705223","width":2000},{"alt":null,"id":23875402104931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7002ac87e0f9a0e12e20a39aa51ee6921c192390_d2a94f84-1c6b-41dd-8440-fdbe106d2eb4.webp?v=1714705226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7002ac87e0f9a0e12e20a39aa51ee6921c192390_d2a94f84-1c6b-41dd-8440-fdbe106d2eb4.webp?v=1714705226","width":2000},{"alt":null,"id":23875402465379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/078f65e02c91a46163522a31c73a7dfa7b613d93_e533630d-ad56-43ba-a559-b21aee649710.webp?v=1714705228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/078f65e02c91a46163522a31c73a7dfa7b613d93_e533630d-ad56-43ba-a559-b21aee649710.webp?v=1714705228","width":2000},{"alt":null,"id":23875402825827,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da26dff1e3790d06d13d47dae2865da0863fb350_27aca077-4c1a-4ca2-a570-07d63281e321.webp?v=1714705230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da26dff1e3790d06d13d47dae2865da0863fb350_27aca077-4c1a-4ca2-a570-07d63281e321.webp?v=1714705230","width":2000},{"alt":null,"id":23875403284579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd90fcda6940da23e89e1991b5f0ccd9d264440_07754253-e399-49cd-b0de-580c14fbee1c.webp?v=1714705233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd90fcda6940da23e89e1991b5f0ccd9d264440_07754253-e399-49cd-b0de-580c14fbee1c.webp?v=1714705233","width":2000},{"alt":null,"id":23875403612259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9eba0eb51cc62da9356a6dcaed436524acd2c3f_71084b73-4c85-46f4-b54e-1efb5a5690ee.webp?v=1714705235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9eba0eb51cc62da9356a6dcaed436524acd2c3f_71084b73-4c85-46f4-b54e-1efb5a5690ee.webp?v=1714705235","width":2000},{"alt":null,"id":23875404071011,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ad53581e82e536e335eed90ca9eb1c5abfb78c1_fc037aad-c1f9-4bd2-9ce6-5ec657c7d480.webp?v=1714705238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ad53581e82e536e335eed90ca9eb1c5abfb78c1_fc037aad-c1f9-4bd2-9ce6-5ec657c7d480.webp?v=1714705238","width":2000},{"alt":null,"id":23875404529763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfc5323e16426848fb3d35934c29232b718cafa5_4b933043-18bd-43cd-836a-03ab6430f408.webp?v=1714705240"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfc5323e16426848fb3d35934c29232b718cafa5_4b933043-18bd-43cd-836a-03ab6430f408.webp?v=1714705240","width":2000},{"alt":null,"id":23875404955747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce3a8b6b58daf7776e1bef18aa301ee9215fa67_de8e6dc5-5119-487c-9007-f8aa018fb3dd.webp?v=1714705243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce3a8b6b58daf7776e1bef18aa301ee9215fa67_de8e6dc5-5119-487c-9007-f8aa018fb3dd.webp?v=1714705243","width":2000},{"alt":null,"id":23875405414499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a6e82685334c5f74cab386e700c91d229955e_da11ce49-63e3-45bc-b69b-19091c0bec6c.webp?v=1714705245"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a6e82685334c5f74cab386e700c91d229955e_da11ce49-63e3-45bc-b69b-19091c0bec6c.webp?v=1714705245","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879489314915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470498676835,"product_id":7407840100451,"position":3,"created_at":"2024-05-03T11:00:28+08:00","updated_at":"2024-05-03T11:00:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/078f65e02c91a46163522a31c73a7dfa7b613d93_e533630d-ad56-43ba-a559-b21aee649710.webp?v=1714705228","variant_ids":[41879489314915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 雲朵綿綿 - 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-YB10","featured_media":{"alt":null,"id":23875402465379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/078f65e02c91a46163522a31c73a7dfa7b613d93_e533630d-ad56-43ba-a559-b21aee649710.webp?v=1714705228"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879489478755,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470498349155,"product_id":7407840100451,"position":2,"created_at":"2024-05-03T11:00:26+08:00","updated_at":"2024-05-03T11:00:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7002ac87e0f9a0e12e20a39aa51ee6921c192390_d2a94f84-1c6b-41dd-8440-fdbe106d2eb4.webp?v=1714705226","variant_ids":[41879489478755]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 雲朵綿綿 - 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-YB10","featured_media":{"alt":null,"id":23875402104931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7002ac87e0f9a0e12e20a39aa51ee6921c192390_d2a94f84-1c6b-41dd-8440-fdbe106d2eb4.webp?v=1714705226"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879489806435,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470499528803,"product_id":7407840100451,"position":5,"created_at":"2024-05-03T11:00:33+08:00","updated_at":"2024-05-03T11:00:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd90fcda6940da23e89e1991b5f0ccd9d264440_07754253-e399-49cd-b0de-580c14fbee1c.webp?v=1714705233","variant_ids":[41879489806435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 雲朵綿綿 - 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-YB10","featured_media":{"alt":null,"id":23875403284579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd90fcda6940da23e89e1991b5f0ccd9d264440_07754253-e399-49cd-b0de-580c14fbee1c.webp?v=1714705233"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879489314915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470498676835,"product_id":7407840100451,"position":3,"created_at":"2024-05-03T11:00:28+08:00","updated_at":"2024-05-03T11:00:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/078f65e02c91a46163522a31c73a7dfa7b613d93_e533630d-ad56-43ba-a559-b21aee649710.webp?v=1714705228","variant_ids":[41879489314915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 雲朵綿綿 - 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-YB10","featured_media":{"alt":null,"id":23875402465379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/078f65e02c91a46163522a31c73a7dfa7b613d93_e533630d-ad56-43ba-a559-b21aee649710.webp?v=1714705228"}},"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: "停產" }