$product = {"id":7769808076899,"title":"iPhone X SolidSuit ilovedoodle White Cat Flowers - 白貓花朵","handle":"iphone-x-solidsuit-classic-xf49","description":null,"published_at":"2025-04-16T14:18:45+08:00","created_at":"2025-04-15T20:44:43+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":43304024899683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34195182813283,"product_id":7769808076899,"position":7,"created_at":"2025-07-16T12:15:59+08:00","updated_at":"2025-07-16T12:16:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c.webp?v=1752639361","variant_ids":[43304024899683]},"available":true,"name":"iPhone X SolidSuit ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25828505059427,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c.webp?v=1752639361"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304029061219,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34195181895779,"product_id":7769808076899,"position":4,"created_at":"2025-07-16T12:15:57+08:00","updated_at":"2025-07-16T12:15:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6edc87307a5336aaea1c0ce7bad6d9d851c03f5.webp?v=1752639359","variant_ids":[43304029061219]},"available":true,"name":"iPhone X SolidSuit ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25828504567907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6edc87307a5336aaea1c0ce7bad6d9d851c03f5.webp?v=1752639359"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf51c97f5e43c0df4c961bea1422a59f625bebe8_38e21d1f-a262-4ab5-96d2-338a6d87893e.webp?v=1744721090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20226d1d36d29a4aba60e9ffa9e4f073ddb6e73d.webp?v=1752639358","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/089ba06235d778848e6cab7d09cf0b9b534fba00.webp?v=1752639359","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6edc87307a5336aaea1c0ce7bad6d9d851c03f5.webp?v=1752639359","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4b1471d73d1d458e766f5fb28c55c38a2bb2a2c.webp?v=1752639360","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31c8b77747ea71297aca54784fe67fbc9086f86a.webp?v=1752639361","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c.webp?v=1752639361","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c_505f8e3e-83a0-4d98-94ed-d915dc6bb2b4.webp?v=1752649461","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31c8b77747ea71297aca54784fe67fbc9086f86a_bea3af83-7ce6-4a1a-9bda-dbd15e1336ff.webp?v=1752649461","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4b1471d73d1d458e766f5fb28c55c38a2bb2a2c_4226136e-6ae7-4f6f-b7d2-cb2d230ba035.webp?v=1752649462","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/089ba06235d778848e6cab7d09cf0b9b534fba00_c5434470-4073-4be6-a551-cb83e1107808.webp?v=1752649463","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6edc87307a5336aaea1c0ce7bad6d9d851c03f5_03b098a6-a5ab-44ae-9498-67b08f48e462.webp?v=1752649463","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20226d1d36d29a4aba60e9ffa9e4f073ddb6e73d_5dc13123-2089-48d3-b193-49c4573cc742.webp?v=1752649464"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf51c97f5e43c0df4c961bea1422a59f625bebe8_38e21d1f-a262-4ab5-96d2-338a6d87893e.webp?v=1744721090","options":["color"],"media":[{"alt":null,"id":25496299274339,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf51c97f5e43c0df4c961bea1422a59f625bebe8_38e21d1f-a262-4ab5-96d2-338a6d87893e.webp?v=1744721090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf51c97f5e43c0df4c961bea1422a59f625bebe8_38e21d1f-a262-4ab5-96d2-338a6d87893e.webp?v=1744721090","width":2000},{"alt":null,"id":25828504109155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20226d1d36d29a4aba60e9ffa9e4f073ddb6e73d.webp?v=1752639358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20226d1d36d29a4aba60e9ffa9e4f073ddb6e73d.webp?v=1752639358","width":2000},{"alt":null,"id":25828504338531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/089ba06235d778848e6cab7d09cf0b9b534fba00.webp?v=1752639359"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/089ba06235d778848e6cab7d09cf0b9b534fba00.webp?v=1752639359","width":2000},{"alt":null,"id":25828504567907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6edc87307a5336aaea1c0ce7bad6d9d851c03f5.webp?v=1752639359"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6edc87307a5336aaea1c0ce7bad6d9d851c03f5.webp?v=1752639359","width":2000},{"alt":null,"id":25828504698979,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4b1471d73d1d458e766f5fb28c55c38a2bb2a2c.webp?v=1752639360"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4b1471d73d1d458e766f5fb28c55c38a2bb2a2c.webp?v=1752639360","width":2000},{"alt":null,"id":25828504862819,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31c8b77747ea71297aca54784fe67fbc9086f86a.webp?v=1752639361"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31c8b77747ea71297aca54784fe67fbc9086f86a.webp?v=1752639361","width":2000},{"alt":null,"id":25828505059427,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c.webp?v=1752639361"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c.webp?v=1752639361","width":2000},{"alt":null,"id":25829853986915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c_505f8e3e-83a0-4d98-94ed-d915dc6bb2b4.webp?v=1752649461"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c_505f8e3e-83a0-4d98-94ed-d915dc6bb2b4.webp?v=1752649461","width":2000},{"alt":null,"id":25829854216291,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31c8b77747ea71297aca54784fe67fbc9086f86a_bea3af83-7ce6-4a1a-9bda-dbd15e1336ff.webp?v=1752649461"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31c8b77747ea71297aca54784fe67fbc9086f86a_bea3af83-7ce6-4a1a-9bda-dbd15e1336ff.webp?v=1752649461","width":2000},{"alt":null,"id":25829854543971,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4b1471d73d1d458e766f5fb28c55c38a2bb2a2c_4226136e-6ae7-4f6f-b7d2-cb2d230ba035.webp?v=1752649462"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4b1471d73d1d458e766f5fb28c55c38a2bb2a2c_4226136e-6ae7-4f6f-b7d2-cb2d230ba035.webp?v=1752649462","width":2000},{"alt":null,"id":25829854806115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/089ba06235d778848e6cab7d09cf0b9b534fba00_c5434470-4073-4be6-a551-cb83e1107808.webp?v=1752649463"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/089ba06235d778848e6cab7d09cf0b9b534fba00_c5434470-4073-4be6-a551-cb83e1107808.webp?v=1752649463","width":2000},{"alt":null,"id":25829854969955,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6edc87307a5336aaea1c0ce7bad6d9d851c03f5_03b098a6-a5ab-44ae-9498-67b08f48e462.webp?v=1752649463"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6edc87307a5336aaea1c0ce7bad6d9d851c03f5_03b098a6-a5ab-44ae-9498-67b08f48e462.webp?v=1752649463","width":2000},{"alt":null,"id":25829855133795,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20226d1d36d29a4aba60e9ffa9e4f073ddb6e73d_5dc13123-2089-48d3-b193-49c4573cc742.webp?v=1752649464"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20226d1d36d29a4aba60e9ffa9e4f073ddb6e73d_5dc13123-2089-48d3-b193-49c4573cc742.webp?v=1752649464","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43304024899683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34195182813283,"product_id":7769808076899,"position":7,"created_at":"2025-07-16T12:15:59+08:00","updated_at":"2025-07-16T12:16:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c.webp?v=1752639361","variant_ids":[43304024899683]},"available":true,"name":"iPhone X SolidSuit ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25828505059427,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c.webp?v=1752639361"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304029061219,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34195181895779,"product_id":7769808076899,"position":4,"created_at":"2025-07-16T12:15:57+08:00","updated_at":"2025-07-16T12:15:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6edc87307a5336aaea1c0ce7bad6d9d851c03f5.webp?v=1752639359","variant_ids":[43304029061219]},"available":true,"name":"iPhone X SolidSuit ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25828504567907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6edc87307a5336aaea1c0ce7bad6d9d851c03f5.webp?v=1752639359"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43304024899683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34195182813283,"product_id":7769808076899,"position":7,"created_at":"2025-07-16T12:15:59+08:00","updated_at":"2025-07-16T12:16:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c.webp?v=1752639361","variant_ids":[43304024899683]},"available":true,"name":"iPhone X SolidSuit ilovedoodle White Cat Flowers - 白貓花朵 - 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-XF49","featured_media":{"alt":null,"id":25828505059427,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c4cbef36d71f118032d05324759993d84c6ed2c.webp?v=1752639361"}},"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: "停產"
}