Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 熱帶音樂系列-慶祝
$product = {"id":7411200065635,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 熱帶音樂系列-慶祝","handle":"iphone-14-pro-mod-nx-magsafe-printable-yf04","description":null,"published_at":"2024-06-11T17:38:35+08:00","created_at":"2024-05-04T23:44:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-stitch","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":41895900381283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31479835983971,"product_id":7411200065635,"position":6,"created_at":"2024-05-04T23:44:34+08:00","updated_at":"2024-05-04T23:44:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/705f07339e750c94accce5706fdf7159432cde4f_70ec2c17-0ccd-4a8b-9db1-a8cd1c4f8ea7.webp?v=1714837474","variant_ids":[41895900381283]},"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-YF04","featured_media":{"alt":null,"id":23885086425187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/705f07339e750c94accce5706fdf7159432cde4f_70ec2c17-0ccd-4a8b-9db1-a8cd1c4f8ea7.webp?v=1714837474"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41895900446819,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31479833755747,"product_id":7411200065635,"position":1,"created_at":"2024-05-04T23:44:22+08:00","updated_at":"2024-05-04T23:44:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e900395a76a068e0cb9ea7b4f8c9878f2455ca36_67a04168-998e-4e86-a8c5-adc91f3d4ddd.webp?v=1714837462","variant_ids":[41895900446819]},"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-YF04","featured_media":{"alt":null,"id":23885084000355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e900395a76a068e0cb9ea7b4f8c9878f2455ca36_67a04168-998e-4e86-a8c5-adc91f3d4ddd.webp?v=1714837462"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41895900676195,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31479835328611,"product_id":7411200065635,"position":5,"created_at":"2024-05-04T23:44:31+08:00","updated_at":"2024-05-04T23:44:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02b71bb2a860b4262b43d40917b22fba4564f2bd_a83c6cc1-9c2d-4fde-8364-b91547e0345d.webp?v=1714837471","variant_ids":[41895900676195]},"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-YF04","featured_media":{"alt":null,"id":23885085638755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02b71bb2a860b4262b43d40917b22fba4564f2bd_a83c6cc1-9c2d-4fde-8364-b91547e0345d.webp?v=1714837471"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e900395a76a068e0cb9ea7b4f8c9878f2455ca36_67a04168-998e-4e86-a8c5-adc91f3d4ddd.webp?v=1714837462","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c82026bfe12d15a5677164387df356011f2460c1_6b9c5c78-558f-4c8b-8d2b-f78800c3f594.webp?v=1714837464","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b98c089fe936d7be8f9b6a3268181b42bd1e070_1a568002-078a-40aa-8f16-d31746632d0c.webp?v=1714837467","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62fc6d222c8a79cacf2cff767458d2c982be95e9_398e35cb-2dcb-46a1-b0fd-ab9fe3a4bf20.webp?v=1714837469","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02b71bb2a860b4262b43d40917b22fba4564f2bd_a83c6cc1-9c2d-4fde-8364-b91547e0345d.webp?v=1714837471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/705f07339e750c94accce5706fdf7159432cde4f_70ec2c17-0ccd-4a8b-9db1-a8cd1c4f8ea7.webp?v=1714837474","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b08881bda6b2ca55a4290b2bb6f77cd0a630dbd_67ff9c90-36ec-49be-a714-a4b561bb8f5b.webp?v=1714837476","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9efe87d2a1f57614ecb1325c069f94c7ee4a2fa_de58fbe8-f444-4c9d-87c8-c7cc9209da4c.webp?v=1714837479","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce0db4d00e5659737eada3fa802405fe9c39aeb_8590828e-e110-42e7-9264-26999fdf84ec.webp?v=1714837481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05a88ae09aa54b2c076385d0abb09a6882bfb195_10ce1b83-2568-412e-869c-a2f3070501e5.webp?v=1714837484"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e900395a76a068e0cb9ea7b4f8c9878f2455ca36_67a04168-998e-4e86-a8c5-adc91f3d4ddd.webp?v=1714837462","options":["color"],"media":[{"alt":null,"id":23885084000355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e900395a76a068e0cb9ea7b4f8c9878f2455ca36_67a04168-998e-4e86-a8c5-adc91f3d4ddd.webp?v=1714837462"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e900395a76a068e0cb9ea7b4f8c9878f2455ca36_67a04168-998e-4e86-a8c5-adc91f3d4ddd.webp?v=1714837462","width":2000},{"alt":null,"id":23885084524643,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c82026bfe12d15a5677164387df356011f2460c1_6b9c5c78-558f-4c8b-8d2b-f78800c3f594.webp?v=1714837464"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c82026bfe12d15a5677164387df356011f2460c1_6b9c5c78-558f-4c8b-8d2b-f78800c3f594.webp?v=1714837464","width":2000},{"alt":null,"id":23885084819555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b98c089fe936d7be8f9b6a3268181b42bd1e070_1a568002-078a-40aa-8f16-d31746632d0c.webp?v=1714837467"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b98c089fe936d7be8f9b6a3268181b42bd1e070_1a568002-078a-40aa-8f16-d31746632d0c.webp?v=1714837467","width":2000},{"alt":null,"id":23885085278307,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62fc6d222c8a79cacf2cff767458d2c982be95e9_398e35cb-2dcb-46a1-b0fd-ab9fe3a4bf20.webp?v=1714837469"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62fc6d222c8a79cacf2cff767458d2c982be95e9_398e35cb-2dcb-46a1-b0fd-ab9fe3a4bf20.webp?v=1714837469","width":2000},{"alt":null,"id":23885085638755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02b71bb2a860b4262b43d40917b22fba4564f2bd_a83c6cc1-9c2d-4fde-8364-b91547e0345d.webp?v=1714837471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02b71bb2a860b4262b43d40917b22fba4564f2bd_a83c6cc1-9c2d-4fde-8364-b91547e0345d.webp?v=1714837471","width":2000},{"alt":null,"id":23885086425187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/705f07339e750c94accce5706fdf7159432cde4f_70ec2c17-0ccd-4a8b-9db1-a8cd1c4f8ea7.webp?v=1714837474"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/705f07339e750c94accce5706fdf7159432cde4f_70ec2c17-0ccd-4a8b-9db1-a8cd1c4f8ea7.webp?v=1714837474","width":2000},{"alt":null,"id":23885086752867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b08881bda6b2ca55a4290b2bb6f77cd0a630dbd_67ff9c90-36ec-49be-a714-a4b561bb8f5b.webp?v=1714837476"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b08881bda6b2ca55a4290b2bb6f77cd0a630dbd_67ff9c90-36ec-49be-a714-a4b561bb8f5b.webp?v=1714837476","width":2000},{"alt":null,"id":23885087309923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9efe87d2a1f57614ecb1325c069f94c7ee4a2fa_de58fbe8-f444-4c9d-87c8-c7cc9209da4c.webp?v=1714837479"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9efe87d2a1f57614ecb1325c069f94c7ee4a2fa_de58fbe8-f444-4c9d-87c8-c7cc9209da4c.webp?v=1714837479","width":2000},{"alt":null,"id":23885087703139,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce0db4d00e5659737eada3fa802405fe9c39aeb_8590828e-e110-42e7-9264-26999fdf84ec.webp?v=1714837481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce0db4d00e5659737eada3fa802405fe9c39aeb_8590828e-e110-42e7-9264-26999fdf84ec.webp?v=1714837481","width":2000},{"alt":null,"id":23885088260195,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05a88ae09aa54b2c076385d0abb09a6882bfb195_10ce1b83-2568-412e-869c-a2f3070501e5.webp?v=1714837484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05a88ae09aa54b2c076385d0abb09a6882bfb195_10ce1b83-2568-412e-869c-a2f3070501e5.webp?v=1714837484","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41895900381283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31479835983971,"product_id":7411200065635,"position":6,"created_at":"2024-05-04T23:44:34+08:00","updated_at":"2024-05-04T23:44:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/705f07339e750c94accce5706fdf7159432cde4f_70ec2c17-0ccd-4a8b-9db1-a8cd1c4f8ea7.webp?v=1714837474","variant_ids":[41895900381283]},"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-YF04","featured_media":{"alt":null,"id":23885086425187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/705f07339e750c94accce5706fdf7159432cde4f_70ec2c17-0ccd-4a8b-9db1-a8cd1c4f8ea7.webp?v=1714837474"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41895900446819,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31479833755747,"product_id":7411200065635,"position":1,"created_at":"2024-05-04T23:44:22+08:00","updated_at":"2024-05-04T23:44:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e900395a76a068e0cb9ea7b4f8c9878f2455ca36_67a04168-998e-4e86-a8c5-adc91f3d4ddd.webp?v=1714837462","variant_ids":[41895900446819]},"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-YF04","featured_media":{"alt":null,"id":23885084000355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e900395a76a068e0cb9ea7b4f8c9878f2455ca36_67a04168-998e-4e86-a8c5-adc91f3d4ddd.webp?v=1714837462"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41895900676195,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31479835328611,"product_id":7411200065635,"position":5,"created_at":"2024-05-04T23:44:31+08:00","updated_at":"2024-05-04T23:44:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02b71bb2a860b4262b43d40917b22fba4564f2bd_a83c6cc1-9c2d-4fde-8364-b91547e0345d.webp?v=1714837471","variant_ids":[41895900676195]},"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-YF04","featured_media":{"alt":null,"id":23885085638755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02b71bb2a860b4262b43d40917b22fba4564f2bd_a83c6cc1-9c2d-4fde-8364-b91547e0345d.webp?v=1714837471"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41895900381283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31479835983971,"product_id":7411200065635,"position":6,"created_at":"2024-05-04T23:44:34+08:00","updated_at":"2024-05-04T23:44:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/705f07339e750c94accce5706fdf7159432cde4f_70ec2c17-0ccd-4a8b-9db1-a8cd1c4f8ea7.webp?v=1714837474","variant_ids":[41895900381283]},"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-YF04","featured_media":{"alt":null,"id":23885086425187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/705f07339e750c94accce5706fdf7159432cde4f_70ec2c17-0ccd-4a8b-9db1-a8cd1c4f8ea7.webp?v=1714837474"}},"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: "停產"
}