$product = {"id":7407807889507,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 生日8","handle":"iphone-14-pro-mod-nx-printable-iv02","description":null,"published_at":"2024-06-11T16:23:26+08:00","created_at":"2024-05-03T10:53:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-1chun","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":41879078994019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470417477731,"product_id":7407807889507,"position":9,"created_at":"2024-05-03T10:54:03+08:00","updated_at":"2024-05-03T10:54:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9318ceac2d692e679905cf6f5d92de08c6439a1e_59297956-2f14-4558-bdb4-68b154c603db.webp?v=1714704843","variant_ids":[41879078994019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 生日8 - 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-IV02","featured_media":{"alt":null,"id":23875320807523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9318ceac2d692e679905cf6f5d92de08c6439a1e_59297956-2f14-4558-bdb4-68b154c603db.webp?v=1714704843"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879079059555,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470413873251,"product_id":7407807889507,"position":3,"created_at":"2024-05-03T10:53:48+08:00","updated_at":"2024-05-03T10:53:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adf13c8593838f477e4052aceb75d75fb6b55c97_21f02d8f-dfbb-432b-9265-d231df2288bb.webp?v=1714704828","variant_ids":[41879079059555]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 生日8 - 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-IV02","featured_media":{"alt":null,"id":23875317137507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adf13c8593838f477e4052aceb75d75fb6b55c97_21f02d8f-dfbb-432b-9265-d231df2288bb.webp?v=1714704828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879079321699,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470416199779,"product_id":7407807889507,"position":7,"created_at":"2024-05-03T10:53:58+08:00","updated_at":"2024-05-03T10:53:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383c633b89b5878ec6d580ae1fa3b7a1ba9d6ba7_2f2891be-1119-4b73-9f51-3b5dafb1af0f.webp?v=1714704838","variant_ids":[41879079321699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 生日8 - 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-IV02","featured_media":{"alt":null,"id":23875319529571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383c633b89b5878ec6d580ae1fa3b7a1ba9d6ba7_2f2891be-1119-4b73-9f51-3b5dafb1af0f.webp?v=1714704838"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbf674a469bbb9ab23ddf029cc22a6e18dcb3372_a62662ea-ccba-4473-bbc8-bbb6b3be3ea5.webp?v=1714704823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361479ae94ce0868c9e564c60a478e8594531e0a_3be17947-87a5-4817-ab64-163ec8fbcf9f.webp?v=1714704825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adf13c8593838f477e4052aceb75d75fb6b55c97_21f02d8f-dfbb-432b-9265-d231df2288bb.webp?v=1714704828","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1baed5b263e123e9121456cc1d428c7364c331_74b33da5-c716-472e-a0d0-c88a3b001983.webp?v=1714704830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42336368ceab595cbed35cc0fc3aaeb6be94d5ba_1bcbf97f-a77e-4264-a086-d4b95ac85dc6.webp?v=1714704833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5187b64579a3399800ee22466accf5919262a4d_c6f31c2c-a76d-41b2-aae0-346a0b0dab30.webp?v=1714704836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383c633b89b5878ec6d580ae1fa3b7a1ba9d6ba7_2f2891be-1119-4b73-9f51-3b5dafb1af0f.webp?v=1714704838","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b41fd6563b95b029227f7bfefd1c72ff66d8475d_5e812246-a44a-4b9c-9a2c-9d52aea9a8e3.webp?v=1714704841","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9318ceac2d692e679905cf6f5d92de08c6439a1e_59297956-2f14-4558-bdb4-68b154c603db.webp?v=1714704843","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f2e1089098b68f68ff01f8c32f7f93048e595a_97af517a-ae5e-47b9-9c71-15899cab4a78.webp?v=1714704846"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbf674a469bbb9ab23ddf029cc22a6e18dcb3372_a62662ea-ccba-4473-bbc8-bbb6b3be3ea5.webp?v=1714704823","options":["color"],"media":[{"alt":null,"id":23875315826787,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbf674a469bbb9ab23ddf029cc22a6e18dcb3372_a62662ea-ccba-4473-bbc8-bbb6b3be3ea5.webp?v=1714704823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbf674a469bbb9ab23ddf029cc22a6e18dcb3372_a62662ea-ccba-4473-bbc8-bbb6b3be3ea5.webp?v=1714704823","width":2000},{"alt":null,"id":23875316383843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361479ae94ce0868c9e564c60a478e8594531e0a_3be17947-87a5-4817-ab64-163ec8fbcf9f.webp?v=1714704825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361479ae94ce0868c9e564c60a478e8594531e0a_3be17947-87a5-4817-ab64-163ec8fbcf9f.webp?v=1714704825","width":2000},{"alt":null,"id":23875317137507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adf13c8593838f477e4052aceb75d75fb6b55c97_21f02d8f-dfbb-432b-9265-d231df2288bb.webp?v=1714704828"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adf13c8593838f477e4052aceb75d75fb6b55c97_21f02d8f-dfbb-432b-9265-d231df2288bb.webp?v=1714704828","width":2000},{"alt":null,"id":23875317891171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1baed5b263e123e9121456cc1d428c7364c331_74b33da5-c716-472e-a0d0-c88a3b001983.webp?v=1714704830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1baed5b263e123e9121456cc1d428c7364c331_74b33da5-c716-472e-a0d0-c88a3b001983.webp?v=1714704830","width":2000},{"alt":null,"id":23875318448227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42336368ceab595cbed35cc0fc3aaeb6be94d5ba_1bcbf97f-a77e-4264-a086-d4b95ac85dc6.webp?v=1714704833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42336368ceab595cbed35cc0fc3aaeb6be94d5ba_1bcbf97f-a77e-4264-a086-d4b95ac85dc6.webp?v=1714704833","width":2000},{"alt":null,"id":23875319169123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5187b64579a3399800ee22466accf5919262a4d_c6f31c2c-a76d-41b2-aae0-346a0b0dab30.webp?v=1714704836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5187b64579a3399800ee22466accf5919262a4d_c6f31c2c-a76d-41b2-aae0-346a0b0dab30.webp?v=1714704836","width":2000},{"alt":null,"id":23875319529571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383c633b89b5878ec6d580ae1fa3b7a1ba9d6ba7_2f2891be-1119-4b73-9f51-3b5dafb1af0f.webp?v=1714704838"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383c633b89b5878ec6d580ae1fa3b7a1ba9d6ba7_2f2891be-1119-4b73-9f51-3b5dafb1af0f.webp?v=1714704838","width":2000},{"alt":null,"id":23875319988323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b41fd6563b95b029227f7bfefd1c72ff66d8475d_5e812246-a44a-4b9c-9a2c-9d52aea9a8e3.webp?v=1714704841"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b41fd6563b95b029227f7bfefd1c72ff66d8475d_5e812246-a44a-4b9c-9a2c-9d52aea9a8e3.webp?v=1714704841","width":2000},{"alt":null,"id":23875320807523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9318ceac2d692e679905cf6f5d92de08c6439a1e_59297956-2f14-4558-bdb4-68b154c603db.webp?v=1714704843"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9318ceac2d692e679905cf6f5d92de08c6439a1e_59297956-2f14-4558-bdb4-68b154c603db.webp?v=1714704843","width":2000},{"alt":null,"id":23875321069667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f2e1089098b68f68ff01f8c32f7f93048e595a_97af517a-ae5e-47b9-9c71-15899cab4a78.webp?v=1714704846"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f2e1089098b68f68ff01f8c32f7f93048e595a_97af517a-ae5e-47b9-9c71-15899cab4a78.webp?v=1714704846","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879078994019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470417477731,"product_id":7407807889507,"position":9,"created_at":"2024-05-03T10:54:03+08:00","updated_at":"2024-05-03T10:54:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9318ceac2d692e679905cf6f5d92de08c6439a1e_59297956-2f14-4558-bdb4-68b154c603db.webp?v=1714704843","variant_ids":[41879078994019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 生日8 - 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-IV02","featured_media":{"alt":null,"id":23875320807523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9318ceac2d692e679905cf6f5d92de08c6439a1e_59297956-2f14-4558-bdb4-68b154c603db.webp?v=1714704843"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879079059555,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470413873251,"product_id":7407807889507,"position":3,"created_at":"2024-05-03T10:53:48+08:00","updated_at":"2024-05-03T10:53:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adf13c8593838f477e4052aceb75d75fb6b55c97_21f02d8f-dfbb-432b-9265-d231df2288bb.webp?v=1714704828","variant_ids":[41879079059555]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 生日8 - 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-IV02","featured_media":{"alt":null,"id":23875317137507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adf13c8593838f477e4052aceb75d75fb6b55c97_21f02d8f-dfbb-432b-9265-d231df2288bb.webp?v=1714704828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879079321699,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470416199779,"product_id":7407807889507,"position":7,"created_at":"2024-05-03T10:53:58+08:00","updated_at":"2024-05-03T10:53:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383c633b89b5878ec6d580ae1fa3b7a1ba9d6ba7_2f2891be-1119-4b73-9f51-3b5dafb1af0f.webp?v=1714704838","variant_ids":[41879079321699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 生日8 - 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-IV02","featured_media":{"alt":null,"id":23875319529571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383c633b89b5878ec6d580ae1fa3b7a1ba9d6ba7_2f2891be-1119-4b73-9f51-3b5dafb1af0f.webp?v=1714704838"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879078994019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470417477731,"product_id":7407807889507,"position":9,"created_at":"2024-05-03T10:54:03+08:00","updated_at":"2024-05-03T10:54:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9318ceac2d692e679905cf6f5d92de08c6439a1e_59297956-2f14-4558-bdb4-68b154c603db.webp?v=1714704843","variant_ids":[41879078994019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 生日8 - 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-IV02","featured_media":{"alt":null,"id":23875320807523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9318ceac2d692e679905cf6f5d92de08c6439a1e_59297956-2f14-4558-bdb4-68b154c603db.webp?v=1714704843"}},"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: "停產" }