Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(花蓮)
$product = {"id":7413975351395,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(花蓮)","handle":"iphone-13-mini-mod-nx-magsafe-printable-ae02","description":null,"published_at":"2024-06-11T17:46:38+08:00","created_at":"2024-05-05T13:53:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX MagSafe 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 13 mini","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":41902889238627,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31484371075171,"product_id":7413975351395,"position":10,"created_at":"2024-05-05T13:54:07+08:00","updated_at":"2024-05-05T13:54:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345f4c81cbb929e991176e4c202421b3f2f8e92b_ec403705-46b4-47f2-a148-69c43214034c.webp?v=1714888447","variant_ids":[41902889238627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(花蓮) - 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":"MPB0122824-AE02","featured_media":{"alt":null,"id":23889664933987,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345f4c81cbb929e991176e4c202421b3f2f8e92b_ec403705-46b4-47f2-a148-69c43214034c.webp?v=1714888447"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902889304163,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31484366127203,"product_id":7413975351395,"position":1,"created_at":"2024-05-05T13:53:46+08:00","updated_at":"2024-05-05T13:53:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca76462cb92eaf7f8996c766c7bd17aa3d0790b8_5f22fcfe-f5f0-45d7-9bc9-6723fd38882e.webp?v=1714888426","variant_ids":[41902889304163]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(花蓮) - 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":"MPB0122804-AE02","featured_media":{"alt":null,"id":23889659822179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca76462cb92eaf7f8996c766c7bd17aa3d0790b8_5f22fcfe-f5f0-45d7-9bc9-6723fd38882e.webp?v=1714888426"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902889631843,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31484367667299,"product_id":7413975351395,"position":4,"created_at":"2024-05-05T13:53:53+08:00","updated_at":"2024-05-05T13:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/363e306f414c1d19d9b4cb3e2f6a61bf98960a91_f2cf1fb6-1d3c-4ade-a9d9-c4628886080f.webp?v=1714888433","variant_ids":[41902889631843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(花蓮) - 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":"MPB01228J5-AE02","featured_media":{"alt":null,"id":23889661362275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/363e306f414c1d19d9b4cb3e2f6a61bf98960a91_f2cf1fb6-1d3c-4ade-a9d9-c4628886080f.webp?v=1714888433"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca76462cb92eaf7f8996c766c7bd17aa3d0790b8_5f22fcfe-f5f0-45d7-9bc9-6723fd38882e.webp?v=1714888426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f9c51d001cff6302e3ac9706f62ad0543e6d6c_2d2b1cbb-3890-45a6-8e3a-ce9b5afafa35.webp?v=1714888428","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9b1777466d6ed0aab46fae62dd86df940a22c4c_042584c2-97e3-42b2-8807-7397b5a895bb.webp?v=1714888431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/363e306f414c1d19d9b4cb3e2f6a61bf98960a91_f2cf1fb6-1d3c-4ade-a9d9-c4628886080f.webp?v=1714888433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b9de9389338d691e7da2a60ee8a982ddc0eea0_495e0648-b53c-411a-a727-f8d13797a445.webp?v=1714888436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f311a93ce28fd1cd9f32a9747bff2145e861a8_0c0d9a07-2e3e-4112-92c0-bc3d618e526f.webp?v=1714888438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/900f4a2a396799ba692d7ee79b087b653e6dcf2a_65a23360-65e6-49e7-af98-fe252310a83a.webp?v=1714888440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e3d2dbdf0234a3b93e425b83333fcb5b6ecdf3_2d8b0497-2464-4f6e-acf0-f5663e70accf.webp?v=1714888443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90c8fe6396ed3382322a6cf6a9217c6de8cb30d5_15c78b07-5d5d-4be0-8053-5f2c7cb8747d.webp?v=1714888445","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345f4c81cbb929e991176e4c202421b3f2f8e92b_ec403705-46b4-47f2-a148-69c43214034c.webp?v=1714888447"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca76462cb92eaf7f8996c766c7bd17aa3d0790b8_5f22fcfe-f5f0-45d7-9bc9-6723fd38882e.webp?v=1714888426","options":["color"],"media":[{"alt":null,"id":23889659822179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca76462cb92eaf7f8996c766c7bd17aa3d0790b8_5f22fcfe-f5f0-45d7-9bc9-6723fd38882e.webp?v=1714888426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca76462cb92eaf7f8996c766c7bd17aa3d0790b8_5f22fcfe-f5f0-45d7-9bc9-6723fd38882e.webp?v=1714888426","width":2000},{"alt":null,"id":23889660313699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f9c51d001cff6302e3ac9706f62ad0543e6d6c_2d2b1cbb-3890-45a6-8e3a-ce9b5afafa35.webp?v=1714888428"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f9c51d001cff6302e3ac9706f62ad0543e6d6c_2d2b1cbb-3890-45a6-8e3a-ce9b5afafa35.webp?v=1714888428","width":2000},{"alt":null,"id":23889660772451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9b1777466d6ed0aab46fae62dd86df940a22c4c_042584c2-97e3-42b2-8807-7397b5a895bb.webp?v=1714888431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9b1777466d6ed0aab46fae62dd86df940a22c4c_042584c2-97e3-42b2-8807-7397b5a895bb.webp?v=1714888431","width":2000},{"alt":null,"id":23889661362275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/363e306f414c1d19d9b4cb3e2f6a61bf98960a91_f2cf1fb6-1d3c-4ade-a9d9-c4628886080f.webp?v=1714888433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/363e306f414c1d19d9b4cb3e2f6a61bf98960a91_f2cf1fb6-1d3c-4ade-a9d9-c4628886080f.webp?v=1714888433","width":2000},{"alt":null,"id":23889661952099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b9de9389338d691e7da2a60ee8a982ddc0eea0_495e0648-b53c-411a-a727-f8d13797a445.webp?v=1714888436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b9de9389338d691e7da2a60ee8a982ddc0eea0_495e0648-b53c-411a-a727-f8d13797a445.webp?v=1714888436","width":2000},{"alt":null,"id":23889662410851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f311a93ce28fd1cd9f32a9747bff2145e861a8_0c0d9a07-2e3e-4112-92c0-bc3d618e526f.webp?v=1714888438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f311a93ce28fd1cd9f32a9747bff2145e861a8_0c0d9a07-2e3e-4112-92c0-bc3d618e526f.webp?v=1714888438","width":2000},{"alt":null,"id":23889663066211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/900f4a2a396799ba692d7ee79b087b653e6dcf2a_65a23360-65e6-49e7-af98-fe252310a83a.webp?v=1714888440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/900f4a2a396799ba692d7ee79b087b653e6dcf2a_65a23360-65e6-49e7-af98-fe252310a83a.webp?v=1714888440","width":2000},{"alt":null,"id":23889663623267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e3d2dbdf0234a3b93e425b83333fcb5b6ecdf3_2d8b0497-2464-4f6e-acf0-f5663e70accf.webp?v=1714888443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e3d2dbdf0234a3b93e425b83333fcb5b6ecdf3_2d8b0497-2464-4f6e-acf0-f5663e70accf.webp?v=1714888443","width":2000},{"alt":null,"id":23889664278627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90c8fe6396ed3382322a6cf6a9217c6de8cb30d5_15c78b07-5d5d-4be0-8053-5f2c7cb8747d.webp?v=1714888445"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90c8fe6396ed3382322a6cf6a9217c6de8cb30d5_15c78b07-5d5d-4be0-8053-5f2c7cb8747d.webp?v=1714888445","width":2000},{"alt":null,"id":23889664933987,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345f4c81cbb929e991176e4c202421b3f2f8e92b_ec403705-46b4-47f2-a148-69c43214034c.webp?v=1714888447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345f4c81cbb929e991176e4c202421b3f2f8e92b_ec403705-46b4-47f2-a148-69c43214034c.webp?v=1714888447","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41902889238627,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31484371075171,"product_id":7413975351395,"position":10,"created_at":"2024-05-05T13:54:07+08:00","updated_at":"2024-05-05T13:54:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345f4c81cbb929e991176e4c202421b3f2f8e92b_ec403705-46b4-47f2-a148-69c43214034c.webp?v=1714888447","variant_ids":[41902889238627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(花蓮) - 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":"MPB0122824-AE02","featured_media":{"alt":null,"id":23889664933987,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345f4c81cbb929e991176e4c202421b3f2f8e92b_ec403705-46b4-47f2-a148-69c43214034c.webp?v=1714888447"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902889304163,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31484366127203,"product_id":7413975351395,"position":1,"created_at":"2024-05-05T13:53:46+08:00","updated_at":"2024-05-05T13:53:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca76462cb92eaf7f8996c766c7bd17aa3d0790b8_5f22fcfe-f5f0-45d7-9bc9-6723fd38882e.webp?v=1714888426","variant_ids":[41902889304163]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(花蓮) - 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":"MPB0122804-AE02","featured_media":{"alt":null,"id":23889659822179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca76462cb92eaf7f8996c766c7bd17aa3d0790b8_5f22fcfe-f5f0-45d7-9bc9-6723fd38882e.webp?v=1714888426"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902889631843,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31484367667299,"product_id":7413975351395,"position":4,"created_at":"2024-05-05T13:53:53+08:00","updated_at":"2024-05-05T13:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/363e306f414c1d19d9b4cb3e2f6a61bf98960a91_f2cf1fb6-1d3c-4ade-a9d9-c4628886080f.webp?v=1714888433","variant_ids":[41902889631843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(花蓮) - 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":"MPB01228J5-AE02","featured_media":{"alt":null,"id":23889661362275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/363e306f414c1d19d9b4cb3e2f6a61bf98960a91_f2cf1fb6-1d3c-4ade-a9d9-c4628886080f.webp?v=1714888433"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41902889238627,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31484371075171,"product_id":7413975351395,"position":10,"created_at":"2024-05-05T13:54:07+08:00","updated_at":"2024-05-05T13:54:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345f4c81cbb929e991176e4c202421b3f2f8e92b_ec403705-46b4-47f2-a148-69c43214034c.webp?v=1714888447","variant_ids":[41902889238627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(花蓮) - 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":"MPB0122824-AE02","featured_media":{"alt":null,"id":23889664933987,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345f4c81cbb929e991176e4c202421b3f2f8e92b_ec403705-46b4-47f2-a148-69c43214034c.webp?v=1714888447"}},"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: "停產"
}