Home
›
iPhone XS SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達
$product = {"id":7809212153955,"title":"iPhone XS SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達","handle":"iphone-xs-solidsuit-classic-pb147","description":null,"published_at":"2025-06-06T18:42:28+08:00","created_at":"2025-06-03T16:03:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區迪士尼-星際大戰 Star Wars","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-star-wars","device-iPhone XS","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":43420153806947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082931601507,"product_id":7809212153955,"position":15,"created_at":"2026-01-09T10:16:33+08:00","updated_at":"2026-01-09T10:16:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_3e173cdc-b65e-476d-97c5-32d735a942ea.webp?v=1767924995","variant_ids":[43420153806947]},"available":true,"name":"iPhone XS 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":26639870132323,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_3e173cdc-b65e-476d-97c5-32d735a942ea.webp?v=1767924995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43420156624995,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":33964305776739,"product_id":7809212153955,"position":1,"created_at":"2025-06-03T16:03:54+08:00","updated_at":"2025-06-03T16:03:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e_18908622-f9a7-4dd9-a242-913d42da8178.webp?v=1748937835","variant_ids":[43420156624995]},"available":true,"name":"iPhone XS 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":25661922902115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e_18908622-f9a7-4dd9-a242-913d42da8178.webp?v=1748937835"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e_18908622-f9a7-4dd9-a242-913d42da8178.webp?v=1748937835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_88c28748-aa11-4f80-8ce1-a59c90cd8fd1.webp?v=1767858233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1.webp?v=1767858234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7.webp?v=1767858234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_e8dffc28-bfe0-4917-8b7b-49aa08abcf24.webp?v=1767860515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_93d9a2f9-12ad-41dc-98ce-068225181aa5.webp?v=1767860515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_48de2165-91f7-4459-9709-6fdfc5bd7832.webp?v=1767860515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_b6a50c83-348e-483a-80e4-1143f394eca1.webp?v=1767861102","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_74521fd6-4980-47ae-a587-3003c982e636.webp?v=1767861103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_a67b208c-9639-4d5d-80d0-e64715800444.webp?v=1767861103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_38cf4cca-ef25-4172-b909-2f8004707aee.webp?v=1767861400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_869090e4-f506-4456-9cd8-692dc5bf2f4f.webp?v=1767861400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_968cffe5-91a1-4d20-9919-11f9f5981f2e.webp?v=1767861401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_dfb148c5-3ca9-426d-9274-93105990da84.webp?v=1767924994","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_3e173cdc-b65e-476d-97c5-32d735a942ea.webp?v=1767924995","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_39548542-7991-4088-9e92-82e7ab987240.webp?v=1767924995"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e_18908622-f9a7-4dd9-a242-913d42da8178.webp?v=1748937835","options":["color"],"media":[{"alt":null,"id":25661922902115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e_18908622-f9a7-4dd9-a242-913d42da8178.webp?v=1748937835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e_18908622-f9a7-4dd9-a242-913d42da8178.webp?v=1748937835","width":2000},{"alt":null,"id":26636219154531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_88c28748-aa11-4f80-8ce1-a59c90cd8fd1.webp?v=1767858233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_88c28748-aa11-4f80-8ce1-a59c90cd8fd1.webp?v=1767858233","width":2000},{"alt":null,"id":26636219711587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1.webp?v=1767858234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1.webp?v=1767858234","width":2000},{"alt":null,"id":26636220235875,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7.webp?v=1767858234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7.webp?v=1767858234","width":2000},{"alt":null,"id":26636286328931,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_e8dffc28-bfe0-4917-8b7b-49aa08abcf24.webp?v=1767860515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_e8dffc28-bfe0-4917-8b7b-49aa08abcf24.webp?v=1767860515","width":2000},{"alt":null,"id":26636286754915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_93d9a2f9-12ad-41dc-98ce-068225181aa5.webp?v=1767860515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_93d9a2f9-12ad-41dc-98ce-068225181aa5.webp?v=1767860515","width":2000},{"alt":null,"id":26636287180899,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_48de2165-91f7-4459-9709-6fdfc5bd7832.webp?v=1767860515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_48de2165-91f7-4459-9709-6fdfc5bd7832.webp?v=1767860515","width":2000},{"alt":null,"id":26636328697955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_b6a50c83-348e-483a-80e4-1143f394eca1.webp?v=1767861102"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_b6a50c83-348e-483a-80e4-1143f394eca1.webp?v=1767861102","width":2000},{"alt":null,"id":26636328894563,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_74521fd6-4980-47ae-a587-3003c982e636.webp?v=1767861103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_74521fd6-4980-47ae-a587-3003c982e636.webp?v=1767861103","width":2000},{"alt":null,"id":26636329386083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_a67b208c-9639-4d5d-80d0-e64715800444.webp?v=1767861103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_a67b208c-9639-4d5d-80d0-e64715800444.webp?v=1767861103","width":2000},{"alt":null,"id":26636369494115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_38cf4cca-ef25-4172-b909-2f8004707aee.webp?v=1767861400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_38cf4cca-ef25-4172-b909-2f8004707aee.webp?v=1767861400","width":2000},{"alt":null,"id":26636369952867,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_869090e4-f506-4456-9cd8-692dc5bf2f4f.webp?v=1767861400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_869090e4-f506-4456-9cd8-692dc5bf2f4f.webp?v=1767861400","width":2000},{"alt":null,"id":26636370542691,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_968cffe5-91a1-4d20-9919-11f9f5981f2e.webp?v=1767861401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_968cffe5-91a1-4d20-9919-11f9f5981f2e.webp?v=1767861401","width":2000},{"alt":null,"id":26639869608035,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_dfb148c5-3ca9-426d-9274-93105990da84.webp?v=1767924994"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b041813d04b2d79bf3ffbca45f473de7a98a27a4_dfb148c5-3ca9-426d-9274-93105990da84.webp?v=1767924994","width":2000},{"alt":null,"id":26639870132323,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_3e173cdc-b65e-476d-97c5-32d735a942ea.webp?v=1767924995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_3e173cdc-b65e-476d-97c5-32d735a942ea.webp?v=1767924995","width":2000},{"alt":null,"id":26639870558307,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_39548542-7991-4088-9e92-82e7ab987240.webp?v=1767924995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894a1a8a36ae800caeb998adbee8dcb03b1e5ba1_39548542-7991-4088-9e92-82e7ab987240.webp?v=1767924995","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43420153806947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082931601507,"product_id":7809212153955,"position":15,"created_at":"2026-01-09T10:16:33+08:00","updated_at":"2026-01-09T10:16:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_3e173cdc-b65e-476d-97c5-32d735a942ea.webp?v=1767924995","variant_ids":[43420153806947]},"available":true,"name":"iPhone XS 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":26639870132323,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_3e173cdc-b65e-476d-97c5-32d735a942ea.webp?v=1767924995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43420156624995,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":33964305776739,"product_id":7809212153955,"position":1,"created_at":"2025-06-03T16:03:54+08:00","updated_at":"2025-06-03T16:03:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e_18908622-f9a7-4dd9-a242-913d42da8178.webp?v=1748937835","variant_ids":[43420156624995]},"available":true,"name":"iPhone XS 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":25661922902115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c176031be0a0369dd1149bf67ab3174ac23fc0e_18908622-f9a7-4dd9-a242-913d42da8178.webp?v=1748937835"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43420153806947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082931601507,"product_id":7809212153955,"position":15,"created_at":"2026-01-09T10:16:33+08:00","updated_at":"2026-01-09T10:16:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_3e173cdc-b65e-476d-97c5-32d735a942ea.webp?v=1767924995","variant_ids":[43420153806947]},"available":true,"name":"iPhone XS 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":26639870132323,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/168275c5d2024ecf6f70f75ad5ba127391c67ae7_3e173cdc-b65e-476d-97c5-32d735a942ea.webp?v=1767924995"}},"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: "停產"
}