$product = {"id":7769876201571,"title":"iPhone 13 mini Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓","handle":"iphone-13-mini-mod-nx-printable-xf50","description":null,"published_at":"2025-04-16T13:51:02+08:00","created_at":"2025-04-15T21:35:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Mini","merge","reseller-ilovedoodle"],"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":43304360804451,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196741914723,"product_id":7769876201571,"position":10,"created_at":"2025-07-16T14:50:20+08:00","updated_at":"2025-07-16T14:50:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09c5fd6f74c425118946ad6a901eab2b93df193a_cb45a265-d013-424b-8c85-f00601b3b4d9.webp?v=1752648622","variant_ids":[43304360804451]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF50","featured_media":{"alt":null,"id":25829519786083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09c5fd6f74c425118946ad6a901eab2b93df193a_cb45a265-d013-424b-8c85-f00601b3b4d9.webp?v=1752648622"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304367390819,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196740407395,"product_id":7769876201571,"position":7,"created_at":"2025-07-16T14:50:18+08:00","updated_at":"2025-07-16T14:50:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20c940c8838d88783145cc3c2c406e1df9066b7a_e104e914-2f4e-4839-8122-4806723bd620.webp?v=1752648620","variant_ids":[43304367390819]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-XF50","featured_media":{"alt":null,"id":25829519032419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20c940c8838d88783145cc3c2c406e1df9066b7a_e104e914-2f4e-4839-8122-4806723bd620.webp?v=1752648620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304367554659,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196738998371,"product_id":7769876201571,"position":4,"created_at":"2025-07-16T14:50:17+08:00","updated_at":"2025-07-16T14:50:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1b54603c96b33db301534ae7fc2c84a15bebba_928592ce-46da-42c8-b5c8-b52164f9754c.webp?v=1752648618","variant_ids":[43304367554659]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-XF50","featured_media":{"alt":null,"id":25829518475363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1b54603c96b33db301534ae7fc2c84a15bebba_928592ce-46da-42c8-b5c8-b52164f9754c.webp?v=1752648618"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bc8993ab180e5a85109b75fde8cf5a61c3d00f9.webp?v=1744724127","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ae3d2013b7b4c6f981e2baa70351e9b60fc341c_9f5a9a08-2037-42db-9660-451a7c7d116f.webp?v=1752648617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ed88e6463946154446a4fe68aaa41199e4b80bc_abbc3279-bed8-4a26-b20b-754778454d43.webp?v=1752648618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1b54603c96b33db301534ae7fc2c84a15bebba_928592ce-46da-42c8-b5c8-b52164f9754c.webp?v=1752648618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16443e935b3f4cf9831b68a132f6c006c6200a45_f5a244da-2f50-421b-98b0-755aee2e661f.webp?v=1752648619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8cba608cb47817d86caf83b2d6eedcd1d63a5d2_e9251591-5e23-4218-bf13-fe312ead729c.webp?v=1752648620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20c940c8838d88783145cc3c2c406e1df9066b7a_e104e914-2f4e-4839-8122-4806723bd620.webp?v=1752648620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4bf855ae090ed8c42e3aa46c7021cc49d2f393d_4805d45f-83b7-4add-8c73-361c5ad59bce.webp?v=1752648621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e21847e1f01d839a938910b3c7483a2b46b618_31dae23b-3faa-4cc7-acef-229a692be764.webp?v=1752648622","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09c5fd6f74c425118946ad6a901eab2b93df193a_cb45a265-d013-424b-8c85-f00601b3b4d9.webp?v=1752648622","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53712a551ce325f8156d038b689376646830d91b_f09ce5df-0b86-4b18-977a-146a099001f2.webp?v=1752648623"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bc8993ab180e5a85109b75fde8cf5a61c3d00f9.webp?v=1744724127","options":["color"],"media":[{"alt":null,"id":25496401150051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bc8993ab180e5a85109b75fde8cf5a61c3d00f9.webp?v=1744724127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bc8993ab180e5a85109b75fde8cf5a61c3d00f9.webp?v=1744724127","width":2000},{"alt":null,"id":25829518245987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ae3d2013b7b4c6f981e2baa70351e9b60fc341c_9f5a9a08-2037-42db-9660-451a7c7d116f.webp?v=1752648617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ae3d2013b7b4c6f981e2baa70351e9b60fc341c_9f5a9a08-2037-42db-9660-451a7c7d116f.webp?v=1752648617","width":2000},{"alt":null,"id":25829518377059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ed88e6463946154446a4fe68aaa41199e4b80bc_abbc3279-bed8-4a26-b20b-754778454d43.webp?v=1752648618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ed88e6463946154446a4fe68aaa41199e4b80bc_abbc3279-bed8-4a26-b20b-754778454d43.webp?v=1752648618","width":2000},{"alt":null,"id":25829518475363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1b54603c96b33db301534ae7fc2c84a15bebba_928592ce-46da-42c8-b5c8-b52164f9754c.webp?v=1752648618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1b54603c96b33db301534ae7fc2c84a15bebba_928592ce-46da-42c8-b5c8-b52164f9754c.webp?v=1752648618","width":2000},{"alt":null,"id":25829518606435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16443e935b3f4cf9831b68a132f6c006c6200a45_f5a244da-2f50-421b-98b0-755aee2e661f.webp?v=1752648619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16443e935b3f4cf9831b68a132f6c006c6200a45_f5a244da-2f50-421b-98b0-755aee2e661f.webp?v=1752648619","width":2000},{"alt":null,"id":25829518835811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8cba608cb47817d86caf83b2d6eedcd1d63a5d2_e9251591-5e23-4218-bf13-fe312ead729c.webp?v=1752648620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8cba608cb47817d86caf83b2d6eedcd1d63a5d2_e9251591-5e23-4218-bf13-fe312ead729c.webp?v=1752648620","width":2000},{"alt":null,"id":25829519032419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20c940c8838d88783145cc3c2c406e1df9066b7a_e104e914-2f4e-4839-8122-4806723bd620.webp?v=1752648620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20c940c8838d88783145cc3c2c406e1df9066b7a_e104e914-2f4e-4839-8122-4806723bd620.webp?v=1752648620","width":2000},{"alt":null,"id":25829519261795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4bf855ae090ed8c42e3aa46c7021cc49d2f393d_4805d45f-83b7-4add-8c73-361c5ad59bce.webp?v=1752648621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4bf855ae090ed8c42e3aa46c7021cc49d2f393d_4805d45f-83b7-4add-8c73-361c5ad59bce.webp?v=1752648621","width":2000},{"alt":null,"id":25829519523939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e21847e1f01d839a938910b3c7483a2b46b618_31dae23b-3faa-4cc7-acef-229a692be764.webp?v=1752648622"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e21847e1f01d839a938910b3c7483a2b46b618_31dae23b-3faa-4cc7-acef-229a692be764.webp?v=1752648622","width":2000},{"alt":null,"id":25829519786083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09c5fd6f74c425118946ad6a901eab2b93df193a_cb45a265-d013-424b-8c85-f00601b3b4d9.webp?v=1752648622"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09c5fd6f74c425118946ad6a901eab2b93df193a_cb45a265-d013-424b-8c85-f00601b3b4d9.webp?v=1752648622","width":2000},{"alt":null,"id":25829520146531,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53712a551ce325f8156d038b689376646830d91b_f09ce5df-0b86-4b18-977a-146a099001f2.webp?v=1752648623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53712a551ce325f8156d038b689376646830d91b_f09ce5df-0b86-4b18-977a-146a099001f2.webp?v=1752648623","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43304360804451,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196741914723,"product_id":7769876201571,"position":10,"created_at":"2025-07-16T14:50:20+08:00","updated_at":"2025-07-16T14:50:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09c5fd6f74c425118946ad6a901eab2b93df193a_cb45a265-d013-424b-8c85-f00601b3b4d9.webp?v=1752648622","variant_ids":[43304360804451]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF50","featured_media":{"alt":null,"id":25829519786083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09c5fd6f74c425118946ad6a901eab2b93df193a_cb45a265-d013-424b-8c85-f00601b3b4d9.webp?v=1752648622"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304367390819,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196740407395,"product_id":7769876201571,"position":7,"created_at":"2025-07-16T14:50:18+08:00","updated_at":"2025-07-16T14:50:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20c940c8838d88783145cc3c2c406e1df9066b7a_e104e914-2f4e-4839-8122-4806723bd620.webp?v=1752648620","variant_ids":[43304367390819]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-XF50","featured_media":{"alt":null,"id":25829519032419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20c940c8838d88783145cc3c2c406e1df9066b7a_e104e914-2f4e-4839-8122-4806723bd620.webp?v=1752648620"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304367554659,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196738998371,"product_id":7769876201571,"position":4,"created_at":"2025-07-16T14:50:17+08:00","updated_at":"2025-07-16T14:50:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1b54603c96b33db301534ae7fc2c84a15bebba_928592ce-46da-42c8-b5c8-b52164f9754c.webp?v=1752648618","variant_ids":[43304367554659]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-XF50","featured_media":{"alt":null,"id":25829518475363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e1b54603c96b33db301534ae7fc2c84a15bebba_928592ce-46da-42c8-b5c8-b52164f9754c.webp?v=1752648618"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43304360804451,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196741914723,"product_id":7769876201571,"position":10,"created_at":"2025-07-16T14:50:20+08:00","updated_at":"2025-07-16T14:50:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09c5fd6f74c425118946ad6a901eab2b93df193a_cb45a265-d013-424b-8c85-f00601b3b4d9.webp?v=1752648622","variant_ids":[43304360804451]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF50","featured_media":{"alt":null,"id":25829519786083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09c5fd6f74c425118946ad6a901eab2b93df193a_cb45a265-d013-424b-8c85-f00601b3b4d9.webp?v=1752648622"}},"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: "停產"
}