Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(花蓮)
$product = {"id":7411305513059,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(花蓮)","handle":"iphone-14-pro-mod-nx-magsafe-printable-ae02","description":null,"published_at":"2024-06-11T17:41:21+08:00","created_at":"2024-05-05T00:04:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX MagSafe 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 14 Pro","discountable-item","member","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller","reseller-modnx-magsafe-chi-po-lin-series","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41897209757795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480098816099,"product_id":7411305513059,"position":6,"created_at":"2024-05-05T00:04:22+08:00","updated_at":"2024-05-05T00:04:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0b5f58f7ef649cf46679081c816352389ebd75_178ba0b2-f0a1-48e0-9f02-bafaa2e8c67c.webp?v=1714838662","variant_ids":[41897209757795]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(花蓮) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-AE02","featured_media":{"alt":null,"id":23885349617763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0b5f58f7ef649cf46679081c816352389ebd75_178ba0b2-f0a1-48e0-9f02-bafaa2e8c67c.webp?v=1714838662"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897209823331,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480100094051,"product_id":7411305513059,"position":8,"created_at":"2024-05-05T00:04:27+08:00","updated_at":"2024-05-05T00:04:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2561d68e2237ccd79374ee139a1dc9a713c8e8d_5a9d1e96-cc9d-412d-9c70-2b459bd2d68f.webp?v=1714838667","variant_ids":[41897209823331]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(花蓮) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-AE02","featured_media":{"alt":null,"id":23885350895715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2561d68e2237ccd79374ee139a1dc9a713c8e8d_5a9d1e96-cc9d-412d-9c70-2b459bd2d68f.webp?v=1714838667"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897210085475,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480096424035,"product_id":7411305513059,"position":2,"created_at":"2024-05-05T00:04:12+08:00","updated_at":"2024-05-05T00:04:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ab083edd178d49a244cd198f5ce071262dd1fe_2b40c54b-04d0-4c3f-8e7a-f8fb5249ba90.webp?v=1714838652","variant_ids":[41897210085475]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(花蓮) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-AE02","featured_media":{"alt":null,"id":23885347225699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ab083edd178d49a244cd198f5ce071262dd1fe_2b40c54b-04d0-4c3f-8e7a-f8fb5249ba90.webp?v=1714838652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985b63fdc63c82a8914353ca4488c2c50ee687f5_882e8e79-d789-4955-ab60-6c40ea5b9a4a.webp?v=1714838649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ab083edd178d49a244cd198f5ce071262dd1fe_2b40c54b-04d0-4c3f-8e7a-f8fb5249ba90.webp?v=1714838652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a770902380d44469f47af94d92d7cee3811678a_8a63ef23-77d5-4f04-91ea-35f1b6ceefb0.webp?v=1714838655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2b9e1fbbca6d98f5f10376ea9a6c07cdd3b14e1_50b5a55e-a5fe-406d-afaa-45b6ede141d3.webp?v=1714838657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/308d184084647bc50db026c193cfbd0f97ba1001_d6481810-a25f-4100-bf9d-a06ea08b0a45.webp?v=1714838659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0b5f58f7ef649cf46679081c816352389ebd75_178ba0b2-f0a1-48e0-9f02-bafaa2e8c67c.webp?v=1714838662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e791def78e7e2b9d16a5027245d0eeb194e6d28_b6fb7bc4-7964-4254-974f-deca0fe8afef.webp?v=1714838664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2561d68e2237ccd79374ee139a1dc9a713c8e8d_5a9d1e96-cc9d-412d-9c70-2b459bd2d68f.webp?v=1714838667","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdb6fb88bbba852ec967dd5b8948811984e5b468_a1ef8be2-d5ae-4033-8cd3-5d153e78a7cc.webp?v=1714838669","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63e9fce8aeeec45cbaae53cad0db131f215b39d0_b8bf151a-5395-4c70-bcc0-3af04a19c888.webp?v=1714838672"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985b63fdc63c82a8914353ca4488c2c50ee687f5_882e8e79-d789-4955-ab60-6c40ea5b9a4a.webp?v=1714838649","options":["color"],"media":[{"alt":null,"id":23885346701411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985b63fdc63c82a8914353ca4488c2c50ee687f5_882e8e79-d789-4955-ab60-6c40ea5b9a4a.webp?v=1714838649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985b63fdc63c82a8914353ca4488c2c50ee687f5_882e8e79-d789-4955-ab60-6c40ea5b9a4a.webp?v=1714838649","width":2000},{"alt":null,"id":23885347225699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ab083edd178d49a244cd198f5ce071262dd1fe_2b40c54b-04d0-4c3f-8e7a-f8fb5249ba90.webp?v=1714838652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ab083edd178d49a244cd198f5ce071262dd1fe_2b40c54b-04d0-4c3f-8e7a-f8fb5249ba90.webp?v=1714838652","width":2000},{"alt":null,"id":23885347979363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a770902380d44469f47af94d92d7cee3811678a_8a63ef23-77d5-4f04-91ea-35f1b6ceefb0.webp?v=1714838655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a770902380d44469f47af94d92d7cee3811678a_8a63ef23-77d5-4f04-91ea-35f1b6ceefb0.webp?v=1714838655","width":2000},{"alt":null,"id":23885348569187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2b9e1fbbca6d98f5f10376ea9a6c07cdd3b14e1_50b5a55e-a5fe-406d-afaa-45b6ede141d3.webp?v=1714838657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2b9e1fbbca6d98f5f10376ea9a6c07cdd3b14e1_50b5a55e-a5fe-406d-afaa-45b6ede141d3.webp?v=1714838657","width":2000},{"alt":null,"id":23885349191779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/308d184084647bc50db026c193cfbd0f97ba1001_d6481810-a25f-4100-bf9d-a06ea08b0a45.webp?v=1714838659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/308d184084647bc50db026c193cfbd0f97ba1001_d6481810-a25f-4100-bf9d-a06ea08b0a45.webp?v=1714838659","width":2000},{"alt":null,"id":23885349617763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0b5f58f7ef649cf46679081c816352389ebd75_178ba0b2-f0a1-48e0-9f02-bafaa2e8c67c.webp?v=1714838662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0b5f58f7ef649cf46679081c816352389ebd75_178ba0b2-f0a1-48e0-9f02-bafaa2e8c67c.webp?v=1714838662","width":2000},{"alt":null,"id":23885350207587,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e791def78e7e2b9d16a5027245d0eeb194e6d28_b6fb7bc4-7964-4254-974f-deca0fe8afef.webp?v=1714838664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e791def78e7e2b9d16a5027245d0eeb194e6d28_b6fb7bc4-7964-4254-974f-deca0fe8afef.webp?v=1714838664","width":2000},{"alt":null,"id":23885350895715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2561d68e2237ccd79374ee139a1dc9a713c8e8d_5a9d1e96-cc9d-412d-9c70-2b459bd2d68f.webp?v=1714838667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2561d68e2237ccd79374ee139a1dc9a713c8e8d_5a9d1e96-cc9d-412d-9c70-2b459bd2d68f.webp?v=1714838667","width":2000},{"alt":null,"id":23885351354467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdb6fb88bbba852ec967dd5b8948811984e5b468_a1ef8be2-d5ae-4033-8cd3-5d153e78a7cc.webp?v=1714838669"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdb6fb88bbba852ec967dd5b8948811984e5b468_a1ef8be2-d5ae-4033-8cd3-5d153e78a7cc.webp?v=1714838669","width":2000},{"alt":null,"id":23885351944291,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63e9fce8aeeec45cbaae53cad0db131f215b39d0_b8bf151a-5395-4c70-bcc0-3af04a19c888.webp?v=1714838672"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63e9fce8aeeec45cbaae53cad0db131f215b39d0_b8bf151a-5395-4c70-bcc0-3af04a19c888.webp?v=1714838672","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41897209757795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480098816099,"product_id":7411305513059,"position":6,"created_at":"2024-05-05T00:04:22+08:00","updated_at":"2024-05-05T00:04:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0b5f58f7ef649cf46679081c816352389ebd75_178ba0b2-f0a1-48e0-9f02-bafaa2e8c67c.webp?v=1714838662","variant_ids":[41897209757795]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(花蓮) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-AE02","featured_media":{"alt":null,"id":23885349617763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0b5f58f7ef649cf46679081c816352389ebd75_178ba0b2-f0a1-48e0-9f02-bafaa2e8c67c.webp?v=1714838662"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897209823331,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480100094051,"product_id":7411305513059,"position":8,"created_at":"2024-05-05T00:04:27+08:00","updated_at":"2024-05-05T00:04:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2561d68e2237ccd79374ee139a1dc9a713c8e8d_5a9d1e96-cc9d-412d-9c70-2b459bd2d68f.webp?v=1714838667","variant_ids":[41897209823331]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(花蓮) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-AE02","featured_media":{"alt":null,"id":23885350895715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2561d68e2237ccd79374ee139a1dc9a713c8e8d_5a9d1e96-cc9d-412d-9c70-2b459bd2d68f.webp?v=1714838667"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897210085475,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480096424035,"product_id":7411305513059,"position":2,"created_at":"2024-05-05T00:04:12+08:00","updated_at":"2024-05-05T00:04:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ab083edd178d49a244cd198f5ce071262dd1fe_2b40c54b-04d0-4c3f-8e7a-f8fb5249ba90.webp?v=1714838652","variant_ids":[41897210085475]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(花蓮) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-AE02","featured_media":{"alt":null,"id":23885347225699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ab083edd178d49a244cd198f5ce071262dd1fe_2b40c54b-04d0-4c3f-8e7a-f8fb5249ba90.webp?v=1714838652"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41897209757795,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480098816099,"product_id":7411305513059,"position":6,"created_at":"2024-05-05T00:04:22+08:00","updated_at":"2024-05-05T00:04:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0b5f58f7ef649cf46679081c816352389ebd75_178ba0b2-f0a1-48e0-9f02-bafaa2e8c67c.webp?v=1714838662","variant_ids":[41897209757795]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(花蓮) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-AE02","featured_media":{"alt":null,"id":23885349617763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0b5f58f7ef649cf46679081c816352389ebd75_178ba0b2-f0a1-48e0-9f02-bafaa2e8c67c.webp?v=1714838662"}},"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: "停產"
}