Home
›
iPhone X SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達
$product = {"id":7809124302947,"title":"iPhone X SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達","handle":"iphone-x-solidsuit-classic-pb147","description":null,"published_at":"2025-06-06T19:25:41+08:00","created_at":"2025-06-03T15:26:01+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區迪士尼-星際大戰 Star Wars","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-star-wars","device-iPhone X","merge","reseller-star-wars"],"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":43419766030435,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082931503203,"product_id":7809124302947,"position":15,"created_at":"2026-01-09T10:16:32+08:00","updated_at":"2026-01-09T10:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_0fdb20f4-8843-4970-bbd9-692ec3b8b2b6.webp?v=1767924994","variant_ids":[43419766030435]},"available":true,"name":"iPhone X SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達 - 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-PB147","featured_media":{"alt":null,"id":26639870034019,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_0fdb20f4-8843-4970-bbd9-692ec3b8b2b6.webp?v=1767924994"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43419767799907,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":33963986026595,"product_id":7809124302947,"position":1,"created_at":"2025-06-03T15:26:05+08:00","updated_at":"2025-06-03T15:26:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e.webp?v=1748935567","variant_ids":[43419767799907]},"available":true,"name":"iPhone X SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達 - 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-PB147","featured_media":{"alt":null,"id":25661702897763,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e.webp?v=1748935567"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e.webp?v=1748935567","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4.webp?v=1767858233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_2f9a42c1-aa84-4b49-bb5d-449b48d99e03.webp?v=1767858234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_2d9e7dc2-acf7-4dae-8a52-a9fcedf99d30.webp?v=1767858234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_315ad62f-6b04-4c42-9745-35ee3fe01af4.webp?v=1767860514","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_04154562-88d4-49de-a0fc-17eb96a3ddf4.webp?v=1767860515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_1d3ea678-0526-45e0-af27-9852a5b79e3f.webp?v=1767860516","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_4e376a75-fdab-4e69-94fe-8f9d7a341557.webp?v=1767861102","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_e7e71532-5dbe-4457-a702-ffe1b3be4c37.webp?v=1767861103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_131340e9-fff1-40fc-bdd5-d487a7c7dc22.webp?v=1767861105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_f810a973-a1f3-4d96-a1c8-871f6d08813d.webp?v=1767861399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_ffaa023a-6de3-4dab-bf1a-107702d6c1ad.webp?v=1767861400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_e3474e55-1870-46ab-aeb9-40a9b8f64948.webp?v=1767861402","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_aad0e647-946a-42aa-9a27-4479ca2a5376.webp?v=1767924994","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_0fdb20f4-8843-4970-bbd9-692ec3b8b2b6.webp?v=1767924994","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_4e90f98e-345d-418e-abd6-2e2cf71a02d7.webp?v=1767924995"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e.webp?v=1748935567","options":["color"],"media":[{"alt":null,"id":25661702897763,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e.webp?v=1748935567"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e.webp?v=1748935567","width":2000},{"alt":null,"id":26636219121763,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4.webp?v=1767858233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4.webp?v=1767858233","width":2000},{"alt":null,"id":26636219842659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_2f9a42c1-aa84-4b49-bb5d-449b48d99e03.webp?v=1767858234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_2f9a42c1-aa84-4b49-bb5d-449b48d99e03.webp?v=1767858234","width":2000},{"alt":null,"id":26636220366947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_2d9e7dc2-acf7-4dae-8a52-a9fcedf99d30.webp?v=1767858234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_2d9e7dc2-acf7-4dae-8a52-a9fcedf99d30.webp?v=1767858234","width":2000},{"alt":null,"id":26636286296163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_315ad62f-6b04-4c42-9745-35ee3fe01af4.webp?v=1767860514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_315ad62f-6b04-4c42-9745-35ee3fe01af4.webp?v=1767860514","width":2000},{"alt":null,"id":26636286820451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_04154562-88d4-49de-a0fc-17eb96a3ddf4.webp?v=1767860515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_04154562-88d4-49de-a0fc-17eb96a3ddf4.webp?v=1767860515","width":2000},{"alt":null,"id":26636287213667,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_1d3ea678-0526-45e0-af27-9852a5b79e3f.webp?v=1767860516"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_1d3ea678-0526-45e0-af27-9852a5b79e3f.webp?v=1767860516","width":2000},{"alt":null,"id":26636328730723,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_4e376a75-fdab-4e69-94fe-8f9d7a341557.webp?v=1767861102"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_4e376a75-fdab-4e69-94fe-8f9d7a341557.webp?v=1767861102","width":2000},{"alt":null,"id":26636329156707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_e7e71532-5dbe-4457-a702-ffe1b3be4c37.webp?v=1767861103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_e7e71532-5dbe-4457-a702-ffe1b3be4c37.webp?v=1767861103","width":2000},{"alt":null,"id":26636329549923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_131340e9-fff1-40fc-bdd5-d487a7c7dc22.webp?v=1767861105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_131340e9-fff1-40fc-bdd5-d487a7c7dc22.webp?v=1767861105","width":2000},{"alt":null,"id":26636369559651,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_f810a973-a1f3-4d96-a1c8-871f6d08813d.webp?v=1767861399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_f810a973-a1f3-4d96-a1c8-871f6d08813d.webp?v=1767861399","width":2000},{"alt":null,"id":26636370215011,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_ffaa023a-6de3-4dab-bf1a-107702d6c1ad.webp?v=1767861400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_ffaa023a-6de3-4dab-bf1a-107702d6c1ad.webp?v=1767861400","width":2000},{"alt":null,"id":26636370608227,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_e3474e55-1870-46ab-aeb9-40a9b8f64948.webp?v=1767861402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_e3474e55-1870-46ab-aeb9-40a9b8f64948.webp?v=1767861402","width":2000},{"alt":null,"id":26639869640803,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_aad0e647-946a-42aa-9a27-4479ca2a5376.webp?v=1767924994"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_aad0e647-946a-42aa-9a27-4479ca2a5376.webp?v=1767924994","width":2000},{"alt":null,"id":26639870034019,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_0fdb20f4-8843-4970-bbd9-692ec3b8b2b6.webp?v=1767924994"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_0fdb20f4-8843-4970-bbd9-692ec3b8b2b6.webp?v=1767924994","width":2000},{"alt":null,"id":26639870427235,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_4e90f98e-345d-418e-abd6-2e2cf71a02d7.webp?v=1767924995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_4e90f98e-345d-418e-abd6-2e2cf71a02d7.webp?v=1767924995","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43419766030435,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082931503203,"product_id":7809124302947,"position":15,"created_at":"2026-01-09T10:16:32+08:00","updated_at":"2026-01-09T10:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_0fdb20f4-8843-4970-bbd9-692ec3b8b2b6.webp?v=1767924994","variant_ids":[43419766030435]},"available":true,"name":"iPhone X SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達 - 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-PB147","featured_media":{"alt":null,"id":26639870034019,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_0fdb20f4-8843-4970-bbd9-692ec3b8b2b6.webp?v=1767924994"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43419767799907,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":33963986026595,"product_id":7809124302947,"position":1,"created_at":"2025-06-03T15:26:05+08:00","updated_at":"2025-06-03T15:26:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e.webp?v=1748935567","variant_ids":[43419767799907]},"available":true,"name":"iPhone X SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達 - 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-PB147","featured_media":{"alt":null,"id":25661702897763,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e.webp?v=1748935567"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43419766030435,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082931503203,"product_id":7809124302947,"position":15,"created_at":"2026-01-09T10:16:32+08:00","updated_at":"2026-01-09T10:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_0fdb20f4-8843-4970-bbd9-692ec3b8b2b6.webp?v=1767924994","variant_ids":[43419766030435]},"available":true,"name":"iPhone X SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達 - 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-PB147","featured_media":{"alt":null,"id":26639870034019,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_0fdb20f4-8843-4970-bbd9-692ec3b8b2b6.webp?v=1767924994"}},"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: "停產"
}