$product = {"id":7769898156131,"title":"iPhone X SolidSuit ilovedoodle Peek A Paw - 躲貓貓","handle":"iphone-x-solidsuit-classic-xf48","description":null,"published_at":"2025-04-16T13:41:38+08:00","created_at":"2025-04-15T21:51:06+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone X","merge","reseller-ilovedoodle"],"price":83000,"price_min":83000,"price_max":83000,"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":43304487616611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196847820899,"product_id":7769898156131,"position":10,"created_at":"2025-07-16T14:52:41+08:00","updated_at":"2025-07-16T14:52:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_8923ad2e-7b58-4651-a7a3-b0e6e871717e.webp?v=1752648763","variant_ids":[43304487616611]},"available":true,"name":"iPhone X SolidSuit ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-XF48","featured_media":{"alt":null,"id":25829577687139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_8923ad2e-7b58-4651-a7a3-b0e6e871717e.webp?v=1752648763"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304491417699,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196848541795,"product_id":7769898156131,"position":12,"created_at":"2025-07-16T14:52:42+08:00","updated_at":"2025-07-16T14:52:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b96fd4b4a6b439aba49ee97a332d882aaec06e_c6f06375-6f32-4e9a-b70d-bbfcf0f6768c.webp?v=1752648764","variant_ids":[43304491417699]},"available":true,"name":"iPhone X SolidSuit ilovedoodle Peek A Paw - 躲貓貓 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01064P2-XF48","featured_media":{"alt":null,"id":25829577982051,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b96fd4b4a6b439aba49ee97a332d882aaec06e_c6f06375-6f32-4e9a-b70d-bbfcf0f6768c.webp?v=1752648764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d789b516790a0620d82453c42becfe17aa83a321_cdc3ac0c-4ea6-41e9-9dd8-8a66b17b728f.webp?v=1744725073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d3704b60c8e2084cc0e8ae6605f603260d51e7e_6c8c4a25-5683-48da-99dc-cbb7e471e67f.webp?v=1752639953","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d608b01c081c0302158e1e2e5e3f0fd7576dc2f_7f1ec93f-9bbc-4610-bf54-f73f1be8f7c3.webp?v=1752639954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b96fd4b4a6b439aba49ee97a332d882aaec06e_b2fd93ea-2446-4e3b-96a3-2aea94733b77.webp?v=1752639954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fdd44b6e1bb1c27f86c9f8e6ae013641caace39_01382043-50f2-4f63-b8c3-c4e95d8cb69d.webp?v=1752639954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_bfa075b9-1ee8-4f4a-8773-a5f8ef209bba.webp?v=1752639955","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3185875fa2a24ed31079d6db9f9131d16947f64f_01b92be3-ecaa-42be-9ef0-4d61cca20ba9.webp?v=1752639956","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d608b01c081c0302158e1e2e5e3f0fd7576dc2f_fce697f5-bc65-4be3-b33c-ae71ba4ce995.webp?v=1752648762","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d3704b60c8e2084cc0e8ae6605f603260d51e7e_e3ca0a72-13f0-4b2e-a628-6122042c3aa5.webp?v=1752648762","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_8923ad2e-7b58-4651-a7a3-b0e6e871717e.webp?v=1752648763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3185875fa2a24ed31079d6db9f9131d16947f64f_77f749bb-9c75-4a35-9dfa-2c15745d39f3.webp?v=1752648763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b96fd4b4a6b439aba49ee97a332d882aaec06e_c6f06375-6f32-4e9a-b70d-bbfcf0f6768c.webp?v=1752648764","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fdd44b6e1bb1c27f86c9f8e6ae013641caace39_b8775033-ed86-4fc1-8afb-2d198d107407.webp?v=1752648765"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d789b516790a0620d82453c42becfe17aa83a321_cdc3ac0c-4ea6-41e9-9dd8-8a66b17b728f.webp?v=1744725073","options":["color"],"media":[{"alt":null,"id":25496461672547,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d789b516790a0620d82453c42becfe17aa83a321_cdc3ac0c-4ea6-41e9-9dd8-8a66b17b728f.webp?v=1744725073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d789b516790a0620d82453c42becfe17aa83a321_cdc3ac0c-4ea6-41e9-9dd8-8a66b17b728f.webp?v=1744725073","width":2000},{"alt":null,"id":25828716806243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d3704b60c8e2084cc0e8ae6605f603260d51e7e_6c8c4a25-5683-48da-99dc-cbb7e471e67f.webp?v=1752639953"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d3704b60c8e2084cc0e8ae6605f603260d51e7e_6c8c4a25-5683-48da-99dc-cbb7e471e67f.webp?v=1752639953","width":2000},{"alt":null,"id":25828717199459,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d608b01c081c0302158e1e2e5e3f0fd7576dc2f_7f1ec93f-9bbc-4610-bf54-f73f1be8f7c3.webp?v=1752639954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d608b01c081c0302158e1e2e5e3f0fd7576dc2f_7f1ec93f-9bbc-4610-bf54-f73f1be8f7c3.webp?v=1752639954","width":2000},{"alt":null,"id":25828717363299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b96fd4b4a6b439aba49ee97a332d882aaec06e_b2fd93ea-2446-4e3b-96a3-2aea94733b77.webp?v=1752639954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b96fd4b4a6b439aba49ee97a332d882aaec06e_b2fd93ea-2446-4e3b-96a3-2aea94733b77.webp?v=1752639954","width":2000},{"alt":null,"id":25828717527139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fdd44b6e1bb1c27f86c9f8e6ae013641caace39_01382043-50f2-4f63-b8c3-c4e95d8cb69d.webp?v=1752639954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fdd44b6e1bb1c27f86c9f8e6ae013641caace39_01382043-50f2-4f63-b8c3-c4e95d8cb69d.webp?v=1752639954","width":2000},{"alt":null,"id":25828717789283,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_bfa075b9-1ee8-4f4a-8773-a5f8ef209bba.webp?v=1752639955"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_bfa075b9-1ee8-4f4a-8773-a5f8ef209bba.webp?v=1752639955","width":2000},{"alt":null,"id":25828717985891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3185875fa2a24ed31079d6db9f9131d16947f64f_01b92be3-ecaa-42be-9ef0-4d61cca20ba9.webp?v=1752639956"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3185875fa2a24ed31079d6db9f9131d16947f64f_01b92be3-ecaa-42be-9ef0-4d61cca20ba9.webp?v=1752639956","width":2000},{"alt":null,"id":25829577556067,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d608b01c081c0302158e1e2e5e3f0fd7576dc2f_fce697f5-bc65-4be3-b33c-ae71ba4ce995.webp?v=1752648762"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d608b01c081c0302158e1e2e5e3f0fd7576dc2f_fce697f5-bc65-4be3-b33c-ae71ba4ce995.webp?v=1752648762","width":2000},{"alt":null,"id":25829577621603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d3704b60c8e2084cc0e8ae6605f603260d51e7e_e3ca0a72-13f0-4b2e-a628-6122042c3aa5.webp?v=1752648762"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d3704b60c8e2084cc0e8ae6605f603260d51e7e_e3ca0a72-13f0-4b2e-a628-6122042c3aa5.webp?v=1752648762","width":2000},{"alt":null,"id":25829577687139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_8923ad2e-7b58-4651-a7a3-b0e6e871717e.webp?v=1752648763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_8923ad2e-7b58-4651-a7a3-b0e6e871717e.webp?v=1752648763","width":2000},{"alt":null,"id":25829577785443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3185875fa2a24ed31079d6db9f9131d16947f64f_77f749bb-9c75-4a35-9dfa-2c15745d39f3.webp?v=1752648763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3185875fa2a24ed31079d6db9f9131d16947f64f_77f749bb-9c75-4a35-9dfa-2c15745d39f3.webp?v=1752648763","width":2000},{"alt":null,"id":25829577982051,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b96fd4b4a6b439aba49ee97a332d882aaec06e_c6f06375-6f32-4e9a-b70d-bbfcf0f6768c.webp?v=1752648764"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b96fd4b4a6b439aba49ee97a332d882aaec06e_c6f06375-6f32-4e9a-b70d-bbfcf0f6768c.webp?v=1752648764","width":2000},{"alt":null,"id":25829578408035,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fdd44b6e1bb1c27f86c9f8e6ae013641caace39_b8775033-ed86-4fc1-8afb-2d198d107407.webp?v=1752648765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fdd44b6e1bb1c27f86c9f8e6ae013641caace39_b8775033-ed86-4fc1-8afb-2d198d107407.webp?v=1752648765","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43304487616611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196847820899,"product_id":7769898156131,"position":10,"created_at":"2025-07-16T14:52:41+08:00","updated_at":"2025-07-16T14:52:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_8923ad2e-7b58-4651-a7a3-b0e6e871717e.webp?v=1752648763","variant_ids":[43304487616611]},"available":true,"name":"iPhone X SolidSuit ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-XF48","featured_media":{"alt":null,"id":25829577687139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_8923ad2e-7b58-4651-a7a3-b0e6e871717e.webp?v=1752648763"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304491417699,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196848541795,"product_id":7769898156131,"position":12,"created_at":"2025-07-16T14:52:42+08:00","updated_at":"2025-07-16T14:52:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b96fd4b4a6b439aba49ee97a332d882aaec06e_c6f06375-6f32-4e9a-b70d-bbfcf0f6768c.webp?v=1752648764","variant_ids":[43304491417699]},"available":true,"name":"iPhone X SolidSuit ilovedoodle Peek A Paw - 躲貓貓 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01064P2-XF48","featured_media":{"alt":null,"id":25829577982051,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b96fd4b4a6b439aba49ee97a332d882aaec06e_c6f06375-6f32-4e9a-b70d-bbfcf0f6768c.webp?v=1752648764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43304487616611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196847820899,"product_id":7769898156131,"position":10,"created_at":"2025-07-16T14:52:41+08:00","updated_at":"2025-07-16T14:52:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_8923ad2e-7b58-4651-a7a3-b0e6e871717e.webp?v=1752648763","variant_ids":[43304487616611]},"available":true,"name":"iPhone X SolidSuit ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-XF48","featured_media":{"alt":null,"id":25829577687139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce650b1252853f0f898b0a4007273b6677b18aa7_8923ad2e-7b58-4651-a7a3-b0e6e871717e.webp?v=1752648763"}},"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: "停產"
}