$product = {"id":7407417688163,"title":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥","handle":"iphone-15-plus-mod-nx-printable-fz04","description":null,"published_at":"2024-06-11T16:15:35+08:00","created_at":"2024-05-03T09:46:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-柴語錄 Shiba Says","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-shiba-says","device-iPhone 15 Plus","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-shiba-says","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":41874958745699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0129624-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31469517865059,"product_id":7407417688163,"position":8,"created_at":"2024-05-03T09:46:36+08:00","updated_at":"2024-05-03T09:46:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6cdd1abf57e01890b482207051e85a0a8043eb2_3d206f67-e7b1-4378-a655-fbb61733c425.webp?v=1714700796","variant_ids":[41874958745699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - 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":"NPB0129624-FZ04","featured_media":{"alt":null,"id":23874418933859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6cdd1abf57e01890b482207051e85a0a8043eb2_3d206f67-e7b1-4378-a655-fbb61733c425.webp?v=1714700796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41874958876771,"title":"Mod NX-櫻花粉邊框","option1":"Mod NX-櫻花粉邊框","option2":null,"option3":null,"sku":"NPB0129657-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31469518389347,"product_id":7407417688163,"position":9,"created_at":"2024-05-03T09:46:39+08:00","updated_at":"2024-05-03T09:46:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7be2b7adafbb3340b24561ac9c006bbfd19a09e_01e916fd-48cf-484a-ac1d-747147cbac4d.webp?v=1714700799","variant_ids":[41874958876771]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - 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":"NPB0129657-FZ04","featured_media":{"alt":null,"id":23874419556451,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7be2b7adafbb3340b24561ac9c006bbfd19a09e_01e916fd-48cf-484a-ac1d-747147cbac4d.webp?v=1714700799"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/132d36d7a9fd606141be88aaeb574826953f24a9_c1ec5ee8-b607-4cc2-9355-8c03760e31b2.webp?v=1714700779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7f853bab95e27468de7fc22c6ae8812bf249f_db2edee9-7ea3-4ba5-9937-22b28cd0532a.webp?v=1714700781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176bb21d50c639827ee7800d6de3fabfd2461d51_0bb3fb15-26b5-406a-86bf-a364dc0d29e0.webp?v=1714700784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f05220ee3422fa6790ce60ecfb942a60f1667ff_6eecbfcb-4a9c-4487-a469-7349ac25a3f8.webp?v=1714700787","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec713def70b16a0a59e6a385a50a2ae276594b0e_5b70039e-0a2f-4204-b7a3-90db2e426e4a.webp?v=1714700789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2c53447598feeeef7ef4566eb06edbaf0882246_2c69c770-fdcc-4d35-8916-d4634f68af00.webp?v=1714700791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/130f1f0cf564524c7c4181bd5e30e995c424e791_a5f74333-30b5-4049-a137-a4dd68df9a59.webp?v=1714700794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6cdd1abf57e01890b482207051e85a0a8043eb2_3d206f67-e7b1-4378-a655-fbb61733c425.webp?v=1714700796","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7be2b7adafbb3340b24561ac9c006bbfd19a09e_01e916fd-48cf-484a-ac1d-747147cbac4d.webp?v=1714700799","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc40c6b3563f7d71442fae2759ec4c836255d14a_64256eb0-a67f-409a-82fa-87923137d38c.webp?v=1714700801"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/132d36d7a9fd606141be88aaeb574826953f24a9_c1ec5ee8-b607-4cc2-9355-8c03760e31b2.webp?v=1714700779","options":["color"],"media":[{"alt":null,"id":23874414051427,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/132d36d7a9fd606141be88aaeb574826953f24a9_c1ec5ee8-b607-4cc2-9355-8c03760e31b2.webp?v=1714700779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/132d36d7a9fd606141be88aaeb574826953f24a9_c1ec5ee8-b607-4cc2-9355-8c03760e31b2.webp?v=1714700779","width":2000},{"alt":null,"id":23874414477411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7f853bab95e27468de7fc22c6ae8812bf249f_db2edee9-7ea3-4ba5-9937-22b28cd0532a.webp?v=1714700781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40f7f853bab95e27468de7fc22c6ae8812bf249f_db2edee9-7ea3-4ba5-9937-22b28cd0532a.webp?v=1714700781","width":2000},{"alt":null,"id":23874415231075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176bb21d50c639827ee7800d6de3fabfd2461d51_0bb3fb15-26b5-406a-86bf-a364dc0d29e0.webp?v=1714700784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/176bb21d50c639827ee7800d6de3fabfd2461d51_0bb3fb15-26b5-406a-86bf-a364dc0d29e0.webp?v=1714700784","width":2000},{"alt":null,"id":23874416246883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f05220ee3422fa6790ce60ecfb942a60f1667ff_6eecbfcb-4a9c-4487-a469-7349ac25a3f8.webp?v=1714700787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f05220ee3422fa6790ce60ecfb942a60f1667ff_6eecbfcb-4a9c-4487-a469-7349ac25a3f8.webp?v=1714700787","width":2000},{"alt":null,"id":23874416771171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec713def70b16a0a59e6a385a50a2ae276594b0e_5b70039e-0a2f-4204-b7a3-90db2e426e4a.webp?v=1714700789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec713def70b16a0a59e6a385a50a2ae276594b0e_5b70039e-0a2f-4204-b7a3-90db2e426e4a.webp?v=1714700789","width":2000},{"alt":null,"id":23874417590371,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2c53447598feeeef7ef4566eb06edbaf0882246_2c69c770-fdcc-4d35-8916-d4634f68af00.webp?v=1714700791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2c53447598feeeef7ef4566eb06edbaf0882246_2c69c770-fdcc-4d35-8916-d4634f68af00.webp?v=1714700791","width":2000},{"alt":null,"id":23874418409571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/130f1f0cf564524c7c4181bd5e30e995c424e791_a5f74333-30b5-4049-a137-a4dd68df9a59.webp?v=1714700794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/130f1f0cf564524c7c4181bd5e30e995c424e791_a5f74333-30b5-4049-a137-a4dd68df9a59.webp?v=1714700794","width":2000},{"alt":null,"id":23874418933859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6cdd1abf57e01890b482207051e85a0a8043eb2_3d206f67-e7b1-4378-a655-fbb61733c425.webp?v=1714700796"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6cdd1abf57e01890b482207051e85a0a8043eb2_3d206f67-e7b1-4378-a655-fbb61733c425.webp?v=1714700796","width":2000},{"alt":null,"id":23874419556451,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7be2b7adafbb3340b24561ac9c006bbfd19a09e_01e916fd-48cf-484a-ac1d-747147cbac4d.webp?v=1714700799"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7be2b7adafbb3340b24561ac9c006bbfd19a09e_01e916fd-48cf-484a-ac1d-747147cbac4d.webp?v=1714700799","width":2000},{"alt":null,"id":23874419884131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc40c6b3563f7d71442fae2759ec4c836255d14a_64256eb0-a67f-409a-82fa-87923137d38c.webp?v=1714700801"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc40c6b3563f7d71442fae2759ec4c836255d14a_64256eb0-a67f-409a-82fa-87923137d38c.webp?v=1714700801","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41874958745699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0129624-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31469517865059,"product_id":7407417688163,"position":8,"created_at":"2024-05-03T09:46:36+08:00","updated_at":"2024-05-03T09:46:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6cdd1abf57e01890b482207051e85a0a8043eb2_3d206f67-e7b1-4378-a655-fbb61733c425.webp?v=1714700796","variant_ids":[41874958745699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - 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":"NPB0129624-FZ04","featured_media":{"alt":null,"id":23874418933859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6cdd1abf57e01890b482207051e85a0a8043eb2_3d206f67-e7b1-4378-a655-fbb61733c425.webp?v=1714700796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41874958876771,"title":"Mod NX-櫻花粉邊框","option1":"Mod NX-櫻花粉邊框","option2":null,"option3":null,"sku":"NPB0129657-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31469518389347,"product_id":7407417688163,"position":9,"created_at":"2024-05-03T09:46:39+08:00","updated_at":"2024-05-03T09:46:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7be2b7adafbb3340b24561ac9c006bbfd19a09e_01e916fd-48cf-484a-ac1d-747147cbac4d.webp?v=1714700799","variant_ids":[41874958876771]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - 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":"NPB0129657-FZ04","featured_media":{"alt":null,"id":23874419556451,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7be2b7adafbb3340b24561ac9c006bbfd19a09e_01e916fd-48cf-484a-ac1d-747147cbac4d.webp?v=1714700799"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41874958745699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0129624-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31469517865059,"product_id":7407417688163,"position":8,"created_at":"2024-05-03T09:46:36+08:00","updated_at":"2024-05-03T09:46:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6cdd1abf57e01890b482207051e85a0a8043eb2_3d206f67-e7b1-4378-a655-fbb61733c425.webp?v=1714700796","variant_ids":[41874958745699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 15 Plus - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - 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":"NPB0129624-FZ04","featured_media":{"alt":null,"id":23874418933859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6cdd1abf57e01890b482207051e85a0a8043eb2_3d206f67-e7b1-4378-a655-fbb61733c425.webp?v=1714700796"}},"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: "停產" }