Home
›
iPhone 15 Plus SolidX 常態系列 警告:開箱風險自負
$product = {"id":7940050288739,"title":"iPhone 15 Plus SolidX 常態系列 警告:開箱風險自負","handle":"iphone-15-plus-solidx-fug03","description":null,"published_at":"2025-12-19T14:08:12+08:00","created_at":"2025-12-17T12:46:21+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-fuggler","device-iPhone 15 Plus","merge","reseller-fuggler"],"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":43895032676451,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673193447523,"product_id":7940050288739,"position":13,"created_at":"2026-04-20T09:39:11+08:00","updated_at":"2026-04-20T09:39:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920_c939b8b3-e55e-4d99-b566-03916aba8a61.webp?v=1776649153","variant_ids":[43895032676451]},"available":true,"name":"iPhone 15 Plus SolidX 常態系列 警告:開箱風險自負 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-FUG03","featured_media":{"alt":null,"id":27200464617571,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920_c939b8b3-e55e-4d99-b566-03916aba8a61.webp?v=1776649153"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43895032905827,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673193840739,"product_id":7940050288739,"position":16,"created_at":"2026-04-20T09:39:13+08:00","updated_at":"2026-04-20T09:39:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6eb73841e27fdd3508ef819918a5ec4f55f334_289ea240-ffcc-452f-b8a1-dfc718ad3286.webp?v=1776649155","variant_ids":[43895032905827]},"available":true,"name":"iPhone 15 Plus SolidX 常態系列 警告:開箱風險自負 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-FUG03","featured_media":{"alt":null,"id":27200465010787,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6eb73841e27fdd3508ef819918a5ec4f55f334_289ea240-ffcc-452f-b8a1-dfc718ad3286.webp?v=1776649155"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baad3e7caf16938d98973b2732d9d5798f804b74.webp?v=1765946814","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fec7ab496627141d928922c36fad6ca0c13ae3f.webp?v=1765946814","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6eb73841e27fdd3508ef819918a5ec4f55f334.webp?v=1765946815","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639e4deea22b2a94c2e917049d8151b44a49b0aa.webp?v=1765946816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920.webp?v=1765946816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ec4efeb947342d170d84bab193622a0ef945e2e.webp?v=1765946817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac340a9604d08c27f0454e91cdf99d9279b8547f.webp?v=1765946817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65a93c3ed654cfb5433e95218b6c4266f23a135.webp?v=1765946818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e9efe13298744b87213ed3cef75ded1895c8799.webp?v=1765946818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b80330dcedc1e722c898aafa23ca8c3193cbbf32.webp?v=1765946818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e9efe13298744b87213ed3cef75ded1895c8799_4db03e5a-3eb4-447e-a723-574c99607ad3.webp?v=1776649152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639e4deea22b2a94c2e917049d8151b44a49b0aa_a4e7d4cc-a218-495b-bfca-ec5b7bad6980.webp?v=1776649153","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920_c939b8b3-e55e-4d99-b566-03916aba8a61.webp?v=1776649153","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fec7ab496627141d928922c36fad6ca0c13ae3f_9d785ce4-ec0b-4cd5-9433-be1a437d7311.webp?v=1776649154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baad3e7caf16938d98973b2732d9d5798f804b74_c3cf0b6f-ff84-4574-b96c-87f99aa4958b.webp?v=1776649154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6eb73841e27fdd3508ef819918a5ec4f55f334_289ea240-ffcc-452f-b8a1-dfc718ad3286.webp?v=1776649155","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b80330dcedc1e722c898aafa23ca8c3193cbbf32_457c1cd2-4186-482b-aa3b-7c1186d64758.webp?v=1776649155","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65a93c3ed654cfb5433e95218b6c4266f23a135_cfbd27e8-9ab9-4a3a-90ce-c51120e2b563.webp?v=1776649156"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baad3e7caf16938d98973b2732d9d5798f804b74.webp?v=1765946814","options":["color"],"media":[{"alt":null,"id":26522189332579,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baad3e7caf16938d98973b2732d9d5798f804b74.webp?v=1765946814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baad3e7caf16938d98973b2732d9d5798f804b74.webp?v=1765946814","width":2000},{"alt":null,"id":26522189398115,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fec7ab496627141d928922c36fad6ca0c13ae3f.webp?v=1765946814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fec7ab496627141d928922c36fad6ca0c13ae3f.webp?v=1765946814","width":2000},{"alt":null,"id":26522189693027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6eb73841e27fdd3508ef819918a5ec4f55f334.webp?v=1765946815"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6eb73841e27fdd3508ef819918a5ec4f55f334.webp?v=1765946815","width":2000},{"alt":null,"id":26522189725795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639e4deea22b2a94c2e917049d8151b44a49b0aa.webp?v=1765946816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639e4deea22b2a94c2e917049d8151b44a49b0aa.webp?v=1765946816","width":2000},{"alt":null,"id":26522189758563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920.webp?v=1765946816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920.webp?v=1765946816","width":2000},{"alt":null,"id":26522189791331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ec4efeb947342d170d84bab193622a0ef945e2e.webp?v=1765946817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ec4efeb947342d170d84bab193622a0ef945e2e.webp?v=1765946817","width":2000},{"alt":null,"id":26522189856867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac340a9604d08c27f0454e91cdf99d9279b8547f.webp?v=1765946817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac340a9604d08c27f0454e91cdf99d9279b8547f.webp?v=1765946817","width":2000},{"alt":null,"id":26522189889635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65a93c3ed654cfb5433e95218b6c4266f23a135.webp?v=1765946818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65a93c3ed654cfb5433e95218b6c4266f23a135.webp?v=1765946818","width":2000},{"alt":null,"id":26522189922403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e9efe13298744b87213ed3cef75ded1895c8799.webp?v=1765946818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e9efe13298744b87213ed3cef75ded1895c8799.webp?v=1765946818","width":2000},{"alt":null,"id":26522189955171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b80330dcedc1e722c898aafa23ca8c3193cbbf32.webp?v=1765946818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b80330dcedc1e722c898aafa23ca8c3193cbbf32.webp?v=1765946818","width":2000},{"alt":null,"id":27200463994979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e9efe13298744b87213ed3cef75ded1895c8799_4db03e5a-3eb4-447e-a723-574c99607ad3.webp?v=1776649152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e9efe13298744b87213ed3cef75ded1895c8799_4db03e5a-3eb4-447e-a723-574c99607ad3.webp?v=1776649152","width":2000},{"alt":null,"id":27200464355427,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639e4deea22b2a94c2e917049d8151b44a49b0aa_a4e7d4cc-a218-495b-bfca-ec5b7bad6980.webp?v=1776649153"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639e4deea22b2a94c2e917049d8151b44a49b0aa_a4e7d4cc-a218-495b-bfca-ec5b7bad6980.webp?v=1776649153","width":2000},{"alt":null,"id":27200464617571,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920_c939b8b3-e55e-4d99-b566-03916aba8a61.webp?v=1776649153"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920_c939b8b3-e55e-4d99-b566-03916aba8a61.webp?v=1776649153","width":2000},{"alt":null,"id":27200464781411,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fec7ab496627141d928922c36fad6ca0c13ae3f_9d785ce4-ec0b-4cd5-9433-be1a437d7311.webp?v=1776649154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fec7ab496627141d928922c36fad6ca0c13ae3f_9d785ce4-ec0b-4cd5-9433-be1a437d7311.webp?v=1776649154","width":2000},{"alt":null,"id":27200464912483,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baad3e7caf16938d98973b2732d9d5798f804b74_c3cf0b6f-ff84-4574-b96c-87f99aa4958b.webp?v=1776649154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baad3e7caf16938d98973b2732d9d5798f804b74_c3cf0b6f-ff84-4574-b96c-87f99aa4958b.webp?v=1776649154","width":2000},{"alt":null,"id":27200465010787,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6eb73841e27fdd3508ef819918a5ec4f55f334_289ea240-ffcc-452f-b8a1-dfc718ad3286.webp?v=1776649155"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6eb73841e27fdd3508ef819918a5ec4f55f334_289ea240-ffcc-452f-b8a1-dfc718ad3286.webp?v=1776649155","width":2000},{"alt":null,"id":27200465109091,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b80330dcedc1e722c898aafa23ca8c3193cbbf32_457c1cd2-4186-482b-aa3b-7c1186d64758.webp?v=1776649155"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b80330dcedc1e722c898aafa23ca8c3193cbbf32_457c1cd2-4186-482b-aa3b-7c1186d64758.webp?v=1776649155","width":2000},{"alt":null,"id":27200465240163,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65a93c3ed654cfb5433e95218b6c4266f23a135_cfbd27e8-9ab9-4a3a-90ce-c51120e2b563.webp?v=1776649156"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65a93c3ed654cfb5433e95218b6c4266f23a135_cfbd27e8-9ab9-4a3a-90ce-c51120e2b563.webp?v=1776649156","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43895032676451,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673193447523,"product_id":7940050288739,"position":13,"created_at":"2026-04-20T09:39:11+08:00","updated_at":"2026-04-20T09:39:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920_c939b8b3-e55e-4d99-b566-03916aba8a61.webp?v=1776649153","variant_ids":[43895032676451]},"available":true,"name":"iPhone 15 Plus SolidX 常態系列 警告:開箱風險自負 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-FUG03","featured_media":{"alt":null,"id":27200464617571,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920_c939b8b3-e55e-4d99-b566-03916aba8a61.webp?v=1776649153"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43895032905827,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673193840739,"product_id":7940050288739,"position":16,"created_at":"2026-04-20T09:39:13+08:00","updated_at":"2026-04-20T09:39:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6eb73841e27fdd3508ef819918a5ec4f55f334_289ea240-ffcc-452f-b8a1-dfc718ad3286.webp?v=1776649155","variant_ids":[43895032905827]},"available":true,"name":"iPhone 15 Plus SolidX 常態系列 警告:開箱風險自負 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-FUG03","featured_media":{"alt":null,"id":27200465010787,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6eb73841e27fdd3508ef819918a5ec4f55f334_289ea240-ffcc-452f-b8a1-dfc718ad3286.webp?v=1776649155"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43895032676451,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-FUG03","requires_shipping":true,"taxable":true,"featured_image":{"id":35673193447523,"product_id":7940050288739,"position":13,"created_at":"2026-04-20T09:39:11+08:00","updated_at":"2026-04-20T09:39:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920_c939b8b3-e55e-4d99-b566-03916aba8a61.webp?v=1776649153","variant_ids":[43895032676451]},"available":true,"name":"iPhone 15 Plus SolidX 常態系列 警告:開箱風險自負 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-FUG03","featured_media":{"alt":null,"id":27200464617571,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284eac2fefce345951a2c080b93251d9b5130920_c939b8b3-e55e-4d99-b566-03916aba8a61.webp?v=1776649153"}},"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: "停產"
}