Home
›
iPhone 12 mini SolidSuit 太空 Juno - Jupiter Mission
$product = {"id":7998333976675,"title":"iPhone 12 mini SolidSuit 太空 Juno - Jupiter Mission","handle":"iphone-12-mini-solidsuit-classic-xk31","description":null,"published_at":"2026-04-20T12:11:10+08:00","created_at":"2026-04-20T09:44:28+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":44126037704803,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-XK31","requires_shipping":true,"taxable":true,"featured_image":{"id":36254615273571,"product_id":7998333976675,"position":13,"created_at":"2026-07-14T09:48:49+08:00","updated_at":"2026-07-14T09:48:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16_b2545b0a-4022-4be0-b1dd-840eba76ae34.webp?v=1783993731","variant_ids":[44126037704803]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Juno - Jupiter Mission - 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-XK31","featured_media":{"alt":null,"id":27758730281059,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16_b2545b0a-4022-4be0-b1dd-840eba76ae34.webp?v=1783993731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126042521699,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-XK31","requires_shipping":true,"taxable":true,"featured_image":{"id":36254612422755,"product_id":7998333976675,"position":9,"created_at":"2026-07-14T09:48:41+08:00","updated_at":"2026-07-14T09:48:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d_03c50a66-e54f-4dd9-a29b-a13ea1da86d3.webp?v=1783993723","variant_ids":[44126042521699]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Juno - Jupiter Mission - 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-XK31","featured_media":{"alt":null,"id":27758727364707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d_03c50a66-e54f-4dd9-a29b-a13ea1da86d3.webp?v=1783993723"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126044684387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-XK31","requires_shipping":true,"taxable":true,"featured_image":{"id":36254614290531,"product_id":7998333976675,"position":12,"created_at":"2026-07-14T09:48:47+08:00","updated_at":"2026-07-14T09:48:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77e4e3125998dd97673b7b2cef80404fc87b2c3a_936c14c3-efba-42d8-9019-adb1c9a7358b.webp?v=1783993729","variant_ids":[44126044684387]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Juno - Jupiter Mission - 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-XK31","featured_media":{"alt":null,"id":27758729232483,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77e4e3125998dd97673b7b2cef80404fc87b2c3a_936c14c3-efba-42d8-9019-adb1c9a7358b.webp?v=1783993729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d.webp?v=1776649497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16.webp?v=1776649498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77e4e3125998dd97673b7b2cef80404fc87b2c3a.webp?v=1776649498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbf7208fa2a2efa7a8c4b0de5fa922e74cec03b.webp?v=1776649499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456b21cb0794b15d5e6a669a6bc7fbb2422598e3.webp?v=1776649499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706bdc585684e406048ddbb3d77b37234b53ab4.webp?v=1776649500","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4526ae2ce2dd18c7ea359d3c4b06c4bde3586362.webp?v=1776649502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0dc00f599fa207963990790e18dbd36c4dd332.webp?v=1776649504","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d_03c50a66-e54f-4dd9-a29b-a13ea1da86d3.webp?v=1783993723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456b21cb0794b15d5e6a669a6bc7fbb2422598e3_5842b5d3-472b-445b-8a72-31204c8ba5fc.webp?v=1783993725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706bdc585684e406048ddbb3d77b37234b53ab4_9a99b853-9598-4a15-b73d-78933808b4c7.webp?v=1783993727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77e4e3125998dd97673b7b2cef80404fc87b2c3a_936c14c3-efba-42d8-9019-adb1c9a7358b.webp?v=1783993729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16_b2545b0a-4022-4be0-b1dd-840eba76ae34.webp?v=1783993731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbf7208fa2a2efa7a8c4b0de5fa922e74cec03b_30648517-83cf-4e52-a96b-04005aba377b.webp?v=1783993733"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d.webp?v=1776649497","options":["color"],"media":[{"alt":null,"id":27200620167267,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d.webp?v=1776649497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d.webp?v=1776649497","width":2000},{"alt":null,"id":27200620626019,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16.webp?v=1776649498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16.webp?v=1776649498","width":2000},{"alt":null,"id":27200621150307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77e4e3125998dd97673b7b2cef80404fc87b2c3a.webp?v=1776649498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77e4e3125998dd97673b7b2cef80404fc87b2c3a.webp?v=1776649498","width":2000},{"alt":null,"id":27200621740131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbf7208fa2a2efa7a8c4b0de5fa922e74cec03b.webp?v=1776649499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbf7208fa2a2efa7a8c4b0de5fa922e74cec03b.webp?v=1776649499","width":2000},{"alt":null,"id":27200622297187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456b21cb0794b15d5e6a669a6bc7fbb2422598e3.webp?v=1776649499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456b21cb0794b15d5e6a669a6bc7fbb2422598e3.webp?v=1776649499","width":2000},{"alt":null,"id":27200622788707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706bdc585684e406048ddbb3d77b37234b53ab4.webp?v=1776649500"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706bdc585684e406048ddbb3d77b37234b53ab4.webp?v=1776649500","width":2000},{"alt":null,"id":27200622985315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4526ae2ce2dd18c7ea359d3c4b06c4bde3586362.webp?v=1776649502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4526ae2ce2dd18c7ea359d3c4b06c4bde3586362.webp?v=1776649502","width":2000},{"alt":null,"id":27200623738979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0dc00f599fa207963990790e18dbd36c4dd332.webp?v=1776649504"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0dc00f599fa207963990790e18dbd36c4dd332.webp?v=1776649504","width":2000},{"alt":null,"id":27758727364707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d_03c50a66-e54f-4dd9-a29b-a13ea1da86d3.webp?v=1783993723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d_03c50a66-e54f-4dd9-a29b-a13ea1da86d3.webp?v=1783993723","width":2000},{"alt":null,"id":27758727725155,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456b21cb0794b15d5e6a669a6bc7fbb2422598e3_5842b5d3-472b-445b-8a72-31204c8ba5fc.webp?v=1783993725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456b21cb0794b15d5e6a669a6bc7fbb2422598e3_5842b5d3-472b-445b-8a72-31204c8ba5fc.webp?v=1783993725","width":2000},{"alt":null,"id":27758728478819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706bdc585684e406048ddbb3d77b37234b53ab4_9a99b853-9598-4a15-b73d-78933808b4c7.webp?v=1783993727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1706bdc585684e406048ddbb3d77b37234b53ab4_9a99b853-9598-4a15-b73d-78933808b4c7.webp?v=1783993727","width":2000},{"alt":null,"id":27758729232483,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77e4e3125998dd97673b7b2cef80404fc87b2c3a_936c14c3-efba-42d8-9019-adb1c9a7358b.webp?v=1783993729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77e4e3125998dd97673b7b2cef80404fc87b2c3a_936c14c3-efba-42d8-9019-adb1c9a7358b.webp?v=1783993729","width":2000},{"alt":null,"id":27758730281059,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16_b2545b0a-4022-4be0-b1dd-840eba76ae34.webp?v=1783993731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16_b2545b0a-4022-4be0-b1dd-840eba76ae34.webp?v=1783993731","width":2000},{"alt":null,"id":27758731264099,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbf7208fa2a2efa7a8c4b0de5fa922e74cec03b_30648517-83cf-4e52-a96b-04005aba377b.webp?v=1783993733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbf7208fa2a2efa7a8c4b0de5fa922e74cec03b_30648517-83cf-4e52-a96b-04005aba377b.webp?v=1783993733","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44126037704803,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-XK31","requires_shipping":true,"taxable":true,"featured_image":{"id":36254615273571,"product_id":7998333976675,"position":13,"created_at":"2026-07-14T09:48:49+08:00","updated_at":"2026-07-14T09:48:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16_b2545b0a-4022-4be0-b1dd-840eba76ae34.webp?v=1783993731","variant_ids":[44126037704803]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Juno - Jupiter Mission - 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-XK31","featured_media":{"alt":null,"id":27758730281059,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16_b2545b0a-4022-4be0-b1dd-840eba76ae34.webp?v=1783993731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126042521699,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-XK31","requires_shipping":true,"taxable":true,"featured_image":{"id":36254612422755,"product_id":7998333976675,"position":9,"created_at":"2026-07-14T09:48:41+08:00","updated_at":"2026-07-14T09:48:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d_03c50a66-e54f-4dd9-a29b-a13ea1da86d3.webp?v=1783993723","variant_ids":[44126042521699]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Juno - Jupiter Mission - 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-XK31","featured_media":{"alt":null,"id":27758727364707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d532c91375a82d28902c1ffeed88771347461a8d_03c50a66-e54f-4dd9-a29b-a13ea1da86d3.webp?v=1783993723"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126044684387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-XK31","requires_shipping":true,"taxable":true,"featured_image":{"id":36254614290531,"product_id":7998333976675,"position":12,"created_at":"2026-07-14T09:48:47+08:00","updated_at":"2026-07-14T09:48:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77e4e3125998dd97673b7b2cef80404fc87b2c3a_936c14c3-efba-42d8-9019-adb1c9a7358b.webp?v=1783993729","variant_ids":[44126044684387]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Juno - Jupiter Mission - 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-XK31","featured_media":{"alt":null,"id":27758729232483,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77e4e3125998dd97673b7b2cef80404fc87b2c3a_936c14c3-efba-42d8-9019-adb1c9a7358b.webp?v=1783993729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44126037704803,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-XK31","requires_shipping":true,"taxable":true,"featured_image":{"id":36254615273571,"product_id":7998333976675,"position":13,"created_at":"2026-07-14T09:48:49+08:00","updated_at":"2026-07-14T09:48:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16_b2545b0a-4022-4be0-b1dd-840eba76ae34.webp?v=1783993731","variant_ids":[44126037704803]},"available":true,"name":"iPhone 12 mini SolidSuit 太空 Juno - Jupiter Mission - 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-XK31","featured_media":{"alt":null,"id":27758730281059,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c79f1f7287716dd0f2a69a8b264ccc0c0988a16_b2545b0a-4022-4be0-b1dd-840eba76ae34.webp?v=1783993731"}},"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: "停產"
}