$product = {"id":7408465182819,"title":"犀牛盾Mod NX手機殼 - iPhone 12 Pro Max - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗","handle":"iphone-12-pro-max-mod-nx-printable-hq02","description":null,"published_at":"2024-06-11T16:37:59+08:00","created_at":"2024-05-03T15:31:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Pixel Jeff 皮傑","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-pixeljeff","device-iPhone 12 pro max","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-pixeljeff","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":41885784866915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118724-HQ02","requires_shipping":true,"taxable":true,"featured_image":{"id":31472347283555,"product_id":7408465182819,"position":1,"created_at":"2024-05-03T15:32:00+08:00","updated_at":"2024-05-03T15:32:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8f42cce1fbfd3a94cea5f1e258d7e06c4dc4f3_ae1d8758-c5d3-4e26-831c-cdd4c8d794e5.webp?v=1714721520","variant_ids":[41885784866915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 Pro Max - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗 - 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":"NPB0118724-HQ02","featured_media":{"alt":null,"id":23877263917155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8f42cce1fbfd3a94cea5f1e258d7e06c4dc4f3_ae1d8758-c5d3-4e26-831c-cdd4c8d794e5.webp?v=1714721520"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8f42cce1fbfd3a94cea5f1e258d7e06c4dc4f3_ae1d8758-c5d3-4e26-831c-cdd4c8d794e5.webp?v=1714721520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e457aba4d2471ac3deea877b0ae21e45b66486b0_eba506c6-0253-4e02-8c2c-2af9044b10b0.webp?v=1714721523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35aee5ceeb7be41b7e962d9dd228757b5f1fef06_d585ef4c-ccc5-4b8b-86d0-d8f331a8bafb.webp?v=1714721525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffe7526d19c0a0270e73f5fab0c9fdb94dc48d5e_1968bf61-03b8-4705-bfdd-ede2f51f9c19.webp?v=1714721527","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d8f00ef388b2a9a3614d29ceb1c5b9b365f297f_aecddc68-814b-447a-ae38-a2b465957f60.webp?v=1714721530","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e46a3a35bcfb24355ff3705d7b64ca0e90fc4b6f_67ae28d0-94b8-4c21-a138-47d79c41af53.webp?v=1714721532","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a0f892156580c65b534370ac903c726410367e9_7b4024ac-1be7-455d-a9f5-1dd57997f518.webp?v=1714721534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63f7998fa801a86fb75fa12d8de8198304dc85e_a2267f20-32e2-4c7d-a0be-3f2204ca928d.webp?v=1714721537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4cb84014ce53da1ad26ecfe3cc834c56c5d8a3d_3f10aa8f-7233-4402-af5e-4c37572519b6.webp?v=1714721539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac05b1922c33176eab16e9465914a61fd9d2f26f_86e9691f-8267-429d-8cde-fdeba707ded1.webp?v=1714721541"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8f42cce1fbfd3a94cea5f1e258d7e06c4dc4f3_ae1d8758-c5d3-4e26-831c-cdd4c8d794e5.webp?v=1714721520","options":["color"],"media":[{"alt":null,"id":23877263917155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8f42cce1fbfd3a94cea5f1e258d7e06c4dc4f3_ae1d8758-c5d3-4e26-831c-cdd4c8d794e5.webp?v=1714721520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8f42cce1fbfd3a94cea5f1e258d7e06c4dc4f3_ae1d8758-c5d3-4e26-831c-cdd4c8d794e5.webp?v=1714721520","width":2000},{"alt":null,"id":23877264343139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e457aba4d2471ac3deea877b0ae21e45b66486b0_eba506c6-0253-4e02-8c2c-2af9044b10b0.webp?v=1714721523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e457aba4d2471ac3deea877b0ae21e45b66486b0_eba506c6-0253-4e02-8c2c-2af9044b10b0.webp?v=1714721523","width":2000},{"alt":null,"id":23877264801891,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35aee5ceeb7be41b7e962d9dd228757b5f1fef06_d585ef4c-ccc5-4b8b-86d0-d8f331a8bafb.webp?v=1714721525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35aee5ceeb7be41b7e962d9dd228757b5f1fef06_d585ef4c-ccc5-4b8b-86d0-d8f331a8bafb.webp?v=1714721525","width":2000},{"alt":null,"id":23877265064035,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffe7526d19c0a0270e73f5fab0c9fdb94dc48d5e_1968bf61-03b8-4705-bfdd-ede2f51f9c19.webp?v=1714721527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffe7526d19c0a0270e73f5fab0c9fdb94dc48d5e_1968bf61-03b8-4705-bfdd-ede2f51f9c19.webp?v=1714721527","width":2000},{"alt":null,"id":23877265686627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d8f00ef388b2a9a3614d29ceb1c5b9b365f297f_aecddc68-814b-447a-ae38-a2b465957f60.webp?v=1714721530"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d8f00ef388b2a9a3614d29ceb1c5b9b365f297f_aecddc68-814b-447a-ae38-a2b465957f60.webp?v=1714721530","width":2000},{"alt":null,"id":23877266047075,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e46a3a35bcfb24355ff3705d7b64ca0e90fc4b6f_67ae28d0-94b8-4c21-a138-47d79c41af53.webp?v=1714721532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e46a3a35bcfb24355ff3705d7b64ca0e90fc4b6f_67ae28d0-94b8-4c21-a138-47d79c41af53.webp?v=1714721532","width":2000},{"alt":null,"id":23877266604131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a0f892156580c65b534370ac903c726410367e9_7b4024ac-1be7-455d-a9f5-1dd57997f518.webp?v=1714721534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a0f892156580c65b534370ac903c726410367e9_7b4024ac-1be7-455d-a9f5-1dd57997f518.webp?v=1714721534","width":2000},{"alt":null,"id":23877266866275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63f7998fa801a86fb75fa12d8de8198304dc85e_a2267f20-32e2-4c7d-a0be-3f2204ca928d.webp?v=1714721537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63f7998fa801a86fb75fa12d8de8198304dc85e_a2267f20-32e2-4c7d-a0be-3f2204ca928d.webp?v=1714721537","width":2000},{"alt":null,"id":23877267390563,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4cb84014ce53da1ad26ecfe3cc834c56c5d8a3d_3f10aa8f-7233-4402-af5e-4c37572519b6.webp?v=1714721539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4cb84014ce53da1ad26ecfe3cc834c56c5d8a3d_3f10aa8f-7233-4402-af5e-4c37572519b6.webp?v=1714721539","width":2000},{"alt":null,"id":23877267816547,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac05b1922c33176eab16e9465914a61fd9d2f26f_86e9691f-8267-429d-8cde-fdeba707ded1.webp?v=1714721541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac05b1922c33176eab16e9465914a61fd9d2f26f_86e9691f-8267-429d-8cde-fdeba707ded1.webp?v=1714721541","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41885784866915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118724-HQ02","requires_shipping":true,"taxable":true,"featured_image":{"id":31472347283555,"product_id":7408465182819,"position":1,"created_at":"2024-05-03T15:32:00+08:00","updated_at":"2024-05-03T15:32:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8f42cce1fbfd3a94cea5f1e258d7e06c4dc4f3_ae1d8758-c5d3-4e26-831c-cdd4c8d794e5.webp?v=1714721520","variant_ids":[41885784866915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 Pro Max - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗 - 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":"NPB0118724-HQ02","featured_media":{"alt":null,"id":23877263917155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8f42cce1fbfd3a94cea5f1e258d7e06c4dc4f3_ae1d8758-c5d3-4e26-831c-cdd4c8d794e5.webp?v=1714721520"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41885784866915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118724-HQ02","requires_shipping":true,"taxable":true,"featured_image":{"id":31472347283555,"product_id":7408465182819,"position":1,"created_at":"2024-05-03T15:32:00+08:00","updated_at":"2024-05-03T15:32:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8f42cce1fbfd3a94cea5f1e258d7e06c4dc4f3_ae1d8758-c5d3-4e26-831c-cdd4c8d794e5.webp?v=1714721520","variant_ids":[41885784866915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 Pro Max - 【聯名設計款】 - Pixel Jeff 皮傑 - 街頭狗狗 - 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":"NPB0118724-HQ02","featured_media":{"alt":null,"id":23877263917155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d8f42cce1fbfd3a94cea5f1e258d7e06c4dc4f3_ae1d8758-c5d3-4e26-831c-cdd4c8d794e5.webp?v=1714721520"}},"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: "停產" }