Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 潛水趣
$product = {"id":7369185951843,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 潛水趣","handle":"iphone-12-mini-mod-nx-printable-pl60","description":null,"published_at":"2024-06-11T16:14:04+08:00","created_at":"2024-04-23T15:40:15+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-snoopy","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":41793399029859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PL60","requires_shipping":true,"taxable":true,"featured_image":{"id":31387009613923,"product_id":7369185951843,"position":1,"created_at":"2024-04-23T15:40:17+08:00","updated_at":"2024-04-23T15:40:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4739ca67f0a392ce4654a1e6821d48018f28a295_2a31a14b-a548-4ec6-b74d-bd823a3b7ce7.webp?v=1713858017","variant_ids":[41793399029859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 潛水趣 - 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":"NPB0118424-PL60","featured_media":{"alt":null,"id":23789248118883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4739ca67f0a392ce4654a1e6821d48018f28a295_2a31a14b-a548-4ec6-b74d-bd823a3b7ce7.webp?v=1713858017"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4739ca67f0a392ce4654a1e6821d48018f28a295_2a31a14b-a548-4ec6-b74d-bd823a3b7ce7.webp?v=1713858017","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9924e045075ce85ddc4f001a40d359e2b999f483_fe349543-6583-415c-95f6-afe94b123a16.webp?v=1713858020","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6141a331f534c8cb79b7c868d1a7deb05f13b40c_2f6281f6-2992-4fb1-8e1a-c0a0257fdf12.webp?v=1713858022","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/095cf6f82efdc5c2346f4b4c95256a0783ce525a_114deec5-69cf-429a-bc2a-3e51797865b4.webp?v=1713858025","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0cb2aa2953bd2cd7b29c91cdd1130e466e9edab_9846640b-4cc0-4a01-a757-02b0b0dfa62d.webp?v=1713858027","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9545964530b8ec375c96a46aa94dd83b1a9e30bc_111403cb-1453-4029-b21e-5986d95d2910.webp?v=1713858030","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6fad4352ae6e5917cbe2a3fb12495afa109d43_a13dad54-1ef8-42ad-b77c-65eccd16323a.webp?v=1713858032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06e9bea1a52c1cf1d10e8ff755c11f356223d703_58b5f344-4f4f-49d2-895d-f1506c79ff57.webp?v=1713858034","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2a6706a68e1ca7667089d1862468a9a193e6b69_955ba5f7-dbff-46e8-9488-e250fa327deb.webp?v=1713858037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c15bf45840276529bc7f349ad7291504ed0d65d_50ad283c-df4e-4d7b-8ebc-39e5869ea533.webp?v=1713858040","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/931f130f3cdc142878ecc05d7166cbfc43d053a8_d59a8f9e-f513-4b69-9212-99e19321e6f4.webp?v=1713858042"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4739ca67f0a392ce4654a1e6821d48018f28a295_2a31a14b-a548-4ec6-b74d-bd823a3b7ce7.webp?v=1713858017","options":["color"],"media":[{"alt":null,"id":23789248118883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4739ca67f0a392ce4654a1e6821d48018f28a295_2a31a14b-a548-4ec6-b74d-bd823a3b7ce7.webp?v=1713858017"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4739ca67f0a392ce4654a1e6821d48018f28a295_2a31a14b-a548-4ec6-b74d-bd823a3b7ce7.webp?v=1713858017","width":2000},{"alt":null,"id":23789248708707,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9924e045075ce85ddc4f001a40d359e2b999f483_fe349543-6583-415c-95f6-afe94b123a16.webp?v=1713858020"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9924e045075ce85ddc4f001a40d359e2b999f483_fe349543-6583-415c-95f6-afe94b123a16.webp?v=1713858020","width":2000},{"alt":null,"id":23789249232995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6141a331f534c8cb79b7c868d1a7deb05f13b40c_2f6281f6-2992-4fb1-8e1a-c0a0257fdf12.webp?v=1713858022"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6141a331f534c8cb79b7c868d1a7deb05f13b40c_2f6281f6-2992-4fb1-8e1a-c0a0257fdf12.webp?v=1713858022","width":2000},{"alt":null,"id":23789249855587,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/095cf6f82efdc5c2346f4b4c95256a0783ce525a_114deec5-69cf-429a-bc2a-3e51797865b4.webp?v=1713858025"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/095cf6f82efdc5c2346f4b4c95256a0783ce525a_114deec5-69cf-429a-bc2a-3e51797865b4.webp?v=1713858025","width":2000},{"alt":null,"id":23789250576483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0cb2aa2953bd2cd7b29c91cdd1130e466e9edab_9846640b-4cc0-4a01-a757-02b0b0dfa62d.webp?v=1713858027"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0cb2aa2953bd2cd7b29c91cdd1130e466e9edab_9846640b-4cc0-4a01-a757-02b0b0dfa62d.webp?v=1713858027","width":2000},{"alt":null,"id":23789251100771,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9545964530b8ec375c96a46aa94dd83b1a9e30bc_111403cb-1453-4029-b21e-5986d95d2910.webp?v=1713858030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9545964530b8ec375c96a46aa94dd83b1a9e30bc_111403cb-1453-4029-b21e-5986d95d2910.webp?v=1713858030","width":2000},{"alt":null,"id":23789251952739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6fad4352ae6e5917cbe2a3fb12495afa109d43_a13dad54-1ef8-42ad-b77c-65eccd16323a.webp?v=1713858032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6fad4352ae6e5917cbe2a3fb12495afa109d43_a13dad54-1ef8-42ad-b77c-65eccd16323a.webp?v=1713858032","width":2000},{"alt":null,"id":23789252214883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06e9bea1a52c1cf1d10e8ff755c11f356223d703_58b5f344-4f4f-49d2-895d-f1506c79ff57.webp?v=1713858034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06e9bea1a52c1cf1d10e8ff755c11f356223d703_58b5f344-4f4f-49d2-895d-f1506c79ff57.webp?v=1713858034","width":2000},{"alt":null,"id":23789252903011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2a6706a68e1ca7667089d1862468a9a193e6b69_955ba5f7-dbff-46e8-9488-e250fa327deb.webp?v=1713858037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2a6706a68e1ca7667089d1862468a9a193e6b69_955ba5f7-dbff-46e8-9488-e250fa327deb.webp?v=1713858037","width":2000},{"alt":null,"id":23789253296227,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c15bf45840276529bc7f349ad7291504ed0d65d_50ad283c-df4e-4d7b-8ebc-39e5869ea533.webp?v=1713858040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c15bf45840276529bc7f349ad7291504ed0d65d_50ad283c-df4e-4d7b-8ebc-39e5869ea533.webp?v=1713858040","width":2000},{"alt":null,"id":23789253591139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/931f130f3cdc142878ecc05d7166cbfc43d053a8_d59a8f9e-f513-4b69-9212-99e19321e6f4.webp?v=1713858042"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/931f130f3cdc142878ecc05d7166cbfc43d053a8_d59a8f9e-f513-4b69-9212-99e19321e6f4.webp?v=1713858042","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41793399029859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PL60","requires_shipping":true,"taxable":true,"featured_image":{"id":31387009613923,"product_id":7369185951843,"position":1,"created_at":"2024-04-23T15:40:17+08:00","updated_at":"2024-04-23T15:40:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4739ca67f0a392ce4654a1e6821d48018f28a295_2a31a14b-a548-4ec6-b74d-bd823a3b7ce7.webp?v=1713858017","variant_ids":[41793399029859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 潛水趣 - 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":"NPB0118424-PL60","featured_media":{"alt":null,"id":23789248118883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4739ca67f0a392ce4654a1e6821d48018f28a295_2a31a14b-a548-4ec6-b74d-bd823a3b7ce7.webp?v=1713858017"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41793399029859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PL60","requires_shipping":true,"taxable":true,"featured_image":{"id":31387009613923,"product_id":7369185951843,"position":1,"created_at":"2024-04-23T15:40:17+08:00","updated_at":"2024-04-23T15:40:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4739ca67f0a392ce4654a1e6821d48018f28a295_2a31a14b-a548-4ec6-b74d-bd823a3b7ce7.webp?v=1713858017","variant_ids":[41793399029859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 潛水趣 - 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":"NPB0118424-PL60","featured_media":{"alt":null,"id":23789248118883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4739ca67f0a392ce4654a1e6821d48018f28a295_2a31a14b-a548-4ec6-b74d-bd823a3b7ce7.webp?v=1713858017"}},"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: "停產"
}