Home
›
iPhone 12 mini SolidSuit 太空 Ceres - Kerwan Crater
$product = {"id":7998334632035,"title":"iPhone 12 mini SolidSuit 太空 Ceres - Kerwan Crater","handle":"iphone-12-mini-solidsuit-classic-xk56","description":null,"published_at":"2026-04-20T12:11:01+08:00","created_at":"2026-04-20T09:44:30+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nasa","device-iPhone 12 Mini","merge","reseller-nasa"],"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":44126038392931,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-XK56","requires_shipping":true,"taxable":true,"featured_image":{"id":36254615896163,"product_id":7998334632035,"position":9,"created_at":"2026-07-14T09:48:50+08:00","updated_at":"2026-07-14T09:48:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120_1d3c9588-ea1f-4647-9964-18c363e2f5a9.webp?v=1783993732","variant_ids":[44126038392931]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Ceres - Kerwan Crater - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-XK56","featured_media":{"alt":null,"id":27758730838115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120_1d3c9588-ea1f-4647-9964-18c363e2f5a9.webp?v=1783993732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126047928419,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-XK56","requires_shipping":true,"taxable":true,"featured_image":{"id":36254616846435,"product_id":7998334632035,"position":10,"created_at":"2026-07-14T09:48:52+08:00","updated_at":"2026-07-14T09:48:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58_9e7ae8e0-952f-4198-8a29-3d7384433926.webp?v=1783993734","variant_ids":[44126047928419]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Ceres - Kerwan Crater - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-XK56","featured_media":{"alt":null,"id":27758731755619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58_9e7ae8e0-952f-4198-8a29-3d7384433926.webp?v=1783993734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126049599587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-XK56","requires_shipping":true,"taxable":true,"featured_image":{"id":36254619500643,"product_id":7998334632035,"position":14,"created_at":"2026-07-14T09:49:11+08:00","updated_at":"2026-07-14T09:49:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73232d109530371636eb73da4555e738fb3fb73_3dc9d113-ba51-4a7b-8974-3b04e3beb292.webp?v=1783993753","variant_ids":[44126049599587]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Ceres - Kerwan Crater - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-XK56","featured_media":{"alt":null,"id":27758734442595,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73232d109530371636eb73da4555e738fb3fb73_3dc9d113-ba51-4a7b-8974-3b04e3beb292.webp?v=1783993753"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58.webp?v=1776649504","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc817d765652fd9b00298d90233d7079a84dc324.webp?v=1776649505","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f9247728c23f460584cf6b7b55f684ef20dca39.webp?v=1776649506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73232d109530371636eb73da4555e738fb3fb73.webp?v=1776649507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fa803f5e6b26a9aa5707c23508cc8aa5fc60651.webp?v=1776649507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e420dad511afe884da222df94d13f8e1e8c717cf.webp?v=1776649508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005c791dc4323d96e88adecd2d07b1becac065ce.webp?v=1776649509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120.webp?v=1776649510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120_1d3c9588-ea1f-4647-9964-18c363e2f5a9.webp?v=1783993732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58_9e7ae8e0-952f-4198-8a29-3d7384433926.webp?v=1783993734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e420dad511afe884da222df94d13f8e1e8c717cf_7f401328-7f7e-475a-82bc-793cef78fae9.webp?v=1783993736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f9247728c23f460584cf6b7b55f684ef20dca39_6c540cf5-b67b-4e66-a51b-7d12f4a2e18a.webp?v=1783993738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005c791dc4323d96e88adecd2d07b1becac065ce_5f4e3c7a-1a8a-42bd-87cc-04eced368f20.webp?v=1783993740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73232d109530371636eb73da4555e738fb3fb73_3dc9d113-ba51-4a7b-8974-3b04e3beb292.webp?v=1783993753"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58.webp?v=1776649504","options":["color"],"media":[{"alt":null,"id":27200625279075,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58.webp?v=1776649504"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58.webp?v=1776649504","width":2000},{"alt":null,"id":27200625868899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc817d765652fd9b00298d90233d7079a84dc324.webp?v=1776649505"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc817d765652fd9b00298d90233d7079a84dc324.webp?v=1776649505","width":2000},{"alt":null,"id":27200626360419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f9247728c23f460584cf6b7b55f684ef20dca39.webp?v=1776649506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f9247728c23f460584cf6b7b55f684ef20dca39.webp?v=1776649506","width":2000},{"alt":null,"id":27200626917475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73232d109530371636eb73da4555e738fb3fb73.webp?v=1776649507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73232d109530371636eb73da4555e738fb3fb73.webp?v=1776649507","width":2000},{"alt":null,"id":27200627310691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fa803f5e6b26a9aa5707c23508cc8aa5fc60651.webp?v=1776649507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fa803f5e6b26a9aa5707c23508cc8aa5fc60651.webp?v=1776649507","width":2000},{"alt":null,"id":27200627867747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e420dad511afe884da222df94d13f8e1e8c717cf.webp?v=1776649508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e420dad511afe884da222df94d13f8e1e8c717cf.webp?v=1776649508","width":2000},{"alt":null,"id":27200628097123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005c791dc4323d96e88adecd2d07b1becac065ce.webp?v=1776649509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005c791dc4323d96e88adecd2d07b1becac065ce.webp?v=1776649509","width":2000},{"alt":null,"id":27200628457571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120.webp?v=1776649510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120.webp?v=1776649510","width":2000},{"alt":null,"id":27758730838115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120_1d3c9588-ea1f-4647-9964-18c363e2f5a9.webp?v=1783993732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120_1d3c9588-ea1f-4647-9964-18c363e2f5a9.webp?v=1783993732","width":2000},{"alt":null,"id":27758731755619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58_9e7ae8e0-952f-4198-8a29-3d7384433926.webp?v=1783993734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58_9e7ae8e0-952f-4198-8a29-3d7384433926.webp?v=1783993734","width":2000},{"alt":null,"id":27758732673123,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e420dad511afe884da222df94d13f8e1e8c717cf_7f401328-7f7e-475a-82bc-793cef78fae9.webp?v=1783993736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e420dad511afe884da222df94d13f8e1e8c717cf_7f401328-7f7e-475a-82bc-793cef78fae9.webp?v=1783993736","width":2000},{"alt":null,"id":27758733557859,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f9247728c23f460584cf6b7b55f684ef20dca39_6c540cf5-b67b-4e66-a51b-7d12f4a2e18a.webp?v=1783993738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f9247728c23f460584cf6b7b55f684ef20dca39_6c540cf5-b67b-4e66-a51b-7d12f4a2e18a.webp?v=1783993738","width":2000},{"alt":null,"id":27758734114915,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005c791dc4323d96e88adecd2d07b1becac065ce_5f4e3c7a-1a8a-42bd-87cc-04eced368f20.webp?v=1783993740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005c791dc4323d96e88adecd2d07b1becac065ce_5f4e3c7a-1a8a-42bd-87cc-04eced368f20.webp?v=1783993740","width":2000},{"alt":null,"id":27758734442595,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73232d109530371636eb73da4555e738fb3fb73_3dc9d113-ba51-4a7b-8974-3b04e3beb292.webp?v=1783993753"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73232d109530371636eb73da4555e738fb3fb73_3dc9d113-ba51-4a7b-8974-3b04e3beb292.webp?v=1783993753","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44126038392931,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-XK56","requires_shipping":true,"taxable":true,"featured_image":{"id":36254615896163,"product_id":7998334632035,"position":9,"created_at":"2026-07-14T09:48:50+08:00","updated_at":"2026-07-14T09:48:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120_1d3c9588-ea1f-4647-9964-18c363e2f5a9.webp?v=1783993732","variant_ids":[44126038392931]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Ceres - Kerwan Crater - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-XK56","featured_media":{"alt":null,"id":27758730838115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120_1d3c9588-ea1f-4647-9964-18c363e2f5a9.webp?v=1783993732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126047928419,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-XK56","requires_shipping":true,"taxable":true,"featured_image":{"id":36254616846435,"product_id":7998334632035,"position":10,"created_at":"2026-07-14T09:48:52+08:00","updated_at":"2026-07-14T09:48:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58_9e7ae8e0-952f-4198-8a29-3d7384433926.webp?v=1783993734","variant_ids":[44126047928419]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Ceres - Kerwan Crater - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-XK56","featured_media":{"alt":null,"id":27758731755619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc644ed898cc7efd1c31d08cf959a59e5537fc58_9e7ae8e0-952f-4198-8a29-3d7384433926.webp?v=1783993734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126049599587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-XK56","requires_shipping":true,"taxable":true,"featured_image":{"id":36254619500643,"product_id":7998334632035,"position":14,"created_at":"2026-07-14T09:49:11+08:00","updated_at":"2026-07-14T09:49:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73232d109530371636eb73da4555e738fb3fb73_3dc9d113-ba51-4a7b-8974-3b04e3beb292.webp?v=1783993753","variant_ids":[44126049599587]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Ceres - Kerwan Crater - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-XK56","featured_media":{"alt":null,"id":27758734442595,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73232d109530371636eb73da4555e738fb3fb73_3dc9d113-ba51-4a7b-8974-3b04e3beb292.webp?v=1783993753"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44126038392931,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-XK56","requires_shipping":true,"taxable":true,"featured_image":{"id":36254615896163,"product_id":7998334632035,"position":9,"created_at":"2026-07-14T09:48:50+08:00","updated_at":"2026-07-14T09:48:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120_1d3c9588-ea1f-4647-9964-18c363e2f5a9.webp?v=1783993732","variant_ids":[44126038392931]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Ceres - Kerwan Crater - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-XK56","featured_media":{"alt":null,"id":27758730838115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/045f14bbd582d1880602d2207a9fbea94ece5120_1d3c9588-ea1f-4647-9964-18c363e2f5a9.webp?v=1783993732"}},"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: "停產"
}