$product = {"id":7827292291171,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) Tour de France French Colors","handle":"iphone-13-mini-solidsuit-magsafe-bumper-back-crossover-design-tdf08","description":null,"published_at":"2025-07-14T10:53:52+08:00","created_at":"2025-06-26T15:28:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tour-de-france","device-iPhone 13 Mini","merge","reseller-tour-de-france"],"price":125000,"price_min":125000,"price_max":125000,"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":43497475866723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-TDF08","requires_shipping":true,"taxable":true,"featured_image":{"id":34082291351651,"product_id":7827292291171,"position":8,"created_at":"2025-06-26T15:28:26+08:00","updated_at":"2025-06-26T15:28:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94980e4154835191b7efbeba2a8e9a1a0508aefd.webp?v=1750922908","variant_ids":[43497475866723]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Tour de France French Colors - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-TDF08","featured_media":{"alt":null,"id":25742965932131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94980e4154835191b7efbeba2a8e9a1a0508aefd.webp?v=1750922908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43497475899491,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-TDF08","requires_shipping":true,"taxable":true,"featured_image":{"id":34082289287267,"product_id":7827292291171,"position":4,"created_at":"2025-06-26T15:28:24+08:00","updated_at":"2025-06-26T15:28:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fdce825e76f1bd3c213ce5937b11d1b0d80a6f9.webp?v=1750922906","variant_ids":[43497475899491]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Tour de France French Colors - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-TDF08","featured_media":{"alt":null,"id":25742964719715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fdce825e76f1bd3c213ce5937b11d1b0d80a6f9.webp?v=1750922906"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85358da4f8309a26d60f77eae63f8583b4ccd6f3.webp?v=1750922904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bbbc3d5851bd5027ed57d5eeca5d24334a81e28.webp?v=1750922905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59dbe0ee2170e71585028eac609c56824b6cbe31.webp?v=1750922905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fdce825e76f1bd3c213ce5937b11d1b0d80a6f9.webp?v=1750922906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc7869adca9dd94969e2c5b3023abe94d7512483.webp?v=1750922906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ced3db4caf49e2902c799c04706c60030dd44da.webp?v=1750922907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7743f24338f8ea71a58421128ca087fd63700593.webp?v=1750922907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94980e4154835191b7efbeba2a8e9a1a0508aefd.webp?v=1750922908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ed86ff6e7dda800e0e2c2c142d255f9f58d2c47.webp?v=1750922908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0daebd459321bda7f63d28d044fe14bb34afbc6a.webp?v=1750922909"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85358da4f8309a26d60f77eae63f8583b4ccd6f3.webp?v=1750922904","options":["color"],"media":[{"alt":null,"id":25742964228195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85358da4f8309a26d60f77eae63f8583b4ccd6f3.webp?v=1750922904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85358da4f8309a26d60f77eae63f8583b4ccd6f3.webp?v=1750922904","width":2000},{"alt":null,"id":25742964392035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bbbc3d5851bd5027ed57d5eeca5d24334a81e28.webp?v=1750922905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bbbc3d5851bd5027ed57d5eeca5d24334a81e28.webp?v=1750922905","width":2000},{"alt":null,"id":25742964523107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59dbe0ee2170e71585028eac609c56824b6cbe31.webp?v=1750922905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59dbe0ee2170e71585028eac609c56824b6cbe31.webp?v=1750922905","width":2000},{"alt":null,"id":25742964719715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fdce825e76f1bd3c213ce5937b11d1b0d80a6f9.webp?v=1750922906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fdce825e76f1bd3c213ce5937b11d1b0d80a6f9.webp?v=1750922906","width":2000},{"alt":null,"id":25742965244003,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc7869adca9dd94969e2c5b3023abe94d7512483.webp?v=1750922906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc7869adca9dd94969e2c5b3023abe94d7512483.webp?v=1750922906","width":2000},{"alt":null,"id":25742965506147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ced3db4caf49e2902c799c04706c60030dd44da.webp?v=1750922907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ced3db4caf49e2902c799c04706c60030dd44da.webp?v=1750922907","width":2000},{"alt":null,"id":25742965735523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7743f24338f8ea71a58421128ca087fd63700593.webp?v=1750922907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7743f24338f8ea71a58421128ca087fd63700593.webp?v=1750922907","width":2000},{"alt":null,"id":25742965932131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94980e4154835191b7efbeba2a8e9a1a0508aefd.webp?v=1750922908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94980e4154835191b7efbeba2a8e9a1a0508aefd.webp?v=1750922908","width":2000},{"alt":null,"id":25742966030435,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ed86ff6e7dda800e0e2c2c142d255f9f58d2c47.webp?v=1750922908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ed86ff6e7dda800e0e2c2c142d255f9f58d2c47.webp?v=1750922908","width":2000},{"alt":null,"id":25742966194275,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0daebd459321bda7f63d28d044fe14bb34afbc6a.webp?v=1750922909"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0daebd459321bda7f63d28d044fe14bb34afbc6a.webp?v=1750922909","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43497475866723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-TDF08","requires_shipping":true,"taxable":true,"featured_image":{"id":34082291351651,"product_id":7827292291171,"position":8,"created_at":"2025-06-26T15:28:26+08:00","updated_at":"2025-06-26T15:28:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94980e4154835191b7efbeba2a8e9a1a0508aefd.webp?v=1750922908","variant_ids":[43497475866723]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Tour de France French Colors - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-TDF08","featured_media":{"alt":null,"id":25742965932131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94980e4154835191b7efbeba2a8e9a1a0508aefd.webp?v=1750922908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43497475899491,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-TDF08","requires_shipping":true,"taxable":true,"featured_image":{"id":34082289287267,"product_id":7827292291171,"position":4,"created_at":"2025-06-26T15:28:24+08:00","updated_at":"2025-06-26T15:28:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fdce825e76f1bd3c213ce5937b11d1b0d80a6f9.webp?v=1750922906","variant_ids":[43497475899491]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Tour de France French Colors - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-TDF08","featured_media":{"alt":null,"id":25742964719715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fdce825e76f1bd3c213ce5937b11d1b0d80a6f9.webp?v=1750922906"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43497475866723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-TDF08","requires_shipping":true,"taxable":true,"featured_image":{"id":34082291351651,"product_id":7827292291171,"position":8,"created_at":"2025-06-26T15:28:26+08:00","updated_at":"2025-06-26T15:28:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94980e4154835191b7efbeba2a8e9a1a0508aefd.webp?v=1750922908","variant_ids":[43497475866723]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Tour de France French Colors - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-TDF08","featured_media":{"alt":null,"id":25742965932131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94980e4154835191b7efbeba2a8e9a1a0508aefd.webp?v=1750922908"}},"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: "停產"
}