$product = {"id":7988650639459,"title":"iPhone 13 Clear 梵谷博物館 Amandier en fleurs - Transparent","handle":"iphone-13-jellytint-vr09","description":null,"published_at":"2026-04-02T14:57:47+08:00","created_at":"2026-03-31T14:59:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-vangoghmuseum","device-iPhone 13","merge","reseller-vangoghmuseum"],"price":128000,"price_min":128000,"price_max":128000,"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":44092482781283,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580595732579,"product_id":7988650639459,"position":11,"created_at":"2026-04-02T11:23:04+08:00","updated_at":"2026-04-02T11:23:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_44bf4540-44b6-4749-b54a-b01ae9327bf5.webp?v=1775100186","variant_ids":[44092482781283]},"available":true,"name":"iPhone 13 Clear 梵谷博物館 Amandier en fleurs - Transparent - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-VR09","featured_media":{"alt":null,"id":27113217327203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_44bf4540-44b6-4749-b54a-b01ae9327bf5.webp?v=1775100186"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092483272803,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580595241059,"product_id":7988650639459,"position":9,"created_at":"2026-04-02T11:23:03+08:00","updated_at":"2026-04-02T11:23:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_ad5c7a41-b6d7-4f83-9018-e60d2b99116e.webp?v=1775100185","variant_ids":[44092483272803]},"available":true,"name":"iPhone 13 Clear 梵谷博物館 Amandier en fleurs - Transparent - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-VR09","featured_media":{"alt":null,"id":27113216835683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_ad5c7a41-b6d7-4f83-9018-e60d2b99116e.webp?v=1775100185"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092483338339,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580595994723,"product_id":7988650639459,"position":12,"created_at":"2026-04-02T11:23:05+08:00","updated_at":"2026-04-02T11:23:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_ba4b9519-8d2b-4f58-a8a8-16c241b6bd78.webp?v=1775100187","variant_ids":[44092483338339]},"available":true,"name":"iPhone 13 Clear 梵谷博物館 Amandier en fleurs - Transparent - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-VR09","featured_media":{"alt":null,"id":27113217589347,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_ba4b9519-8d2b-4f58-a8a8-16c241b6bd78.webp?v=1775100187"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_d20eab38-70ad-4177-b926-856876765c47.webp?v=1774940366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ce56a0ea373181a71c0c16aa98b7fc0e698a77_685b698c-2d49-40ee-a2db-4657ce06e471.webp?v=1774940366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_bc72577a-f252-40b2-9c91-b97b766df22f.webp?v=1774940367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_089eef8f-a3ac-4eec-ab69-b30901e8d58a.webp?v=1774940367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_8d797ecf-b57b-42d2-af87-e821b4f4546e.webp?v=1775021081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_f2630235-9667-412f-9038-33aab39aa884.webp?v=1775021081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ce56a0ea373181a71c0c16aa98b7fc0e698a77_d660bb24-1bc3-408e-b697-a32da070a141.webp?v=1775021082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_76424455-1175-4612-9f90-b3377f6cc59a.webp?v=1775021082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_ad5c7a41-b6d7-4f83-9018-e60d2b99116e.webp?v=1775100185","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ce56a0ea373181a71c0c16aa98b7fc0e698a77_3a923a62-4a97-496a-89e2-3ff0d2c5653d.webp?v=1775100186","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_44bf4540-44b6-4749-b54a-b01ae9327bf5.webp?v=1775100186","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_ba4b9519-8d2b-4f58-a8a8-16c241b6bd78.webp?v=1775100187"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_d20eab38-70ad-4177-b926-856876765c47.webp?v=1774940366","options":["color"],"media":[{"alt":null,"id":27102507270243,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_d20eab38-70ad-4177-b926-856876765c47.webp?v=1774940366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_d20eab38-70ad-4177-b926-856876765c47.webp?v=1774940366","width":2000},{"alt":null,"id":27102507466851,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ce56a0ea373181a71c0c16aa98b7fc0e698a77_685b698c-2d49-40ee-a2db-4657ce06e471.webp?v=1774940366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ce56a0ea373181a71c0c16aa98b7fc0e698a77_685b698c-2d49-40ee-a2db-4657ce06e471.webp?v=1774940366","width":2000},{"alt":null,"id":27102507630691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_bc72577a-f252-40b2-9c91-b97b766df22f.webp?v=1774940367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_bc72577a-f252-40b2-9c91-b97b766df22f.webp?v=1774940367","width":2000},{"alt":null,"id":27102507794531,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_089eef8f-a3ac-4eec-ab69-b30901e8d58a.webp?v=1774940367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_089eef8f-a3ac-4eec-ab69-b30901e8d58a.webp?v=1774940367","width":2000},{"alt":null,"id":27107962224739,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_8d797ecf-b57b-42d2-af87-e821b4f4546e.webp?v=1775021081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_8d797ecf-b57b-42d2-af87-e821b4f4546e.webp?v=1775021081","width":2000},{"alt":null,"id":27107962486883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_f2630235-9667-412f-9038-33aab39aa884.webp?v=1775021081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_f2630235-9667-412f-9038-33aab39aa884.webp?v=1775021081","width":2000},{"alt":null,"id":27107962781795,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ce56a0ea373181a71c0c16aa98b7fc0e698a77_d660bb24-1bc3-408e-b697-a32da070a141.webp?v=1775021082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ce56a0ea373181a71c0c16aa98b7fc0e698a77_d660bb24-1bc3-408e-b697-a32da070a141.webp?v=1775021082","width":2000},{"alt":null,"id":27107963142243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_76424455-1175-4612-9f90-b3377f6cc59a.webp?v=1775021082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_76424455-1175-4612-9f90-b3377f6cc59a.webp?v=1775021082","width":2000},{"alt":null,"id":27113216835683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_ad5c7a41-b6d7-4f83-9018-e60d2b99116e.webp?v=1775100185"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_ad5c7a41-b6d7-4f83-9018-e60d2b99116e.webp?v=1775100185","width":2000},{"alt":null,"id":27113217097827,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ce56a0ea373181a71c0c16aa98b7fc0e698a77_3a923a62-4a97-496a-89e2-3ff0d2c5653d.webp?v=1775100186"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ce56a0ea373181a71c0c16aa98b7fc0e698a77_3a923a62-4a97-496a-89e2-3ff0d2c5653d.webp?v=1775100186","width":2000},{"alt":null,"id":27113217327203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_44bf4540-44b6-4749-b54a-b01ae9327bf5.webp?v=1775100186"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_44bf4540-44b6-4749-b54a-b01ae9327bf5.webp?v=1775100186","width":2000},{"alt":null,"id":27113217589347,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_ba4b9519-8d2b-4f58-a8a8-16c241b6bd78.webp?v=1775100187"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_ba4b9519-8d2b-4f58-a8a8-16c241b6bd78.webp?v=1775100187","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44092482781283,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580595732579,"product_id":7988650639459,"position":11,"created_at":"2026-04-02T11:23:04+08:00","updated_at":"2026-04-02T11:23:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_44bf4540-44b6-4749-b54a-b01ae9327bf5.webp?v=1775100186","variant_ids":[44092482781283]},"available":true,"name":"iPhone 13 Clear 梵谷博物館 Amandier en fleurs - Transparent - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-VR09","featured_media":{"alt":null,"id":27113217327203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_44bf4540-44b6-4749-b54a-b01ae9327bf5.webp?v=1775100186"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092483272803,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580595241059,"product_id":7988650639459,"position":9,"created_at":"2026-04-02T11:23:03+08:00","updated_at":"2026-04-02T11:23:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_ad5c7a41-b6d7-4f83-9018-e60d2b99116e.webp?v=1775100185","variant_ids":[44092483272803]},"available":true,"name":"iPhone 13 Clear 梵谷博物館 Amandier en fleurs - Transparent - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-VR09","featured_media":{"alt":null,"id":27113216835683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1f8c99278fee8ed0264557eab7b4160e983a799_ad5c7a41-b6d7-4f83-9018-e60d2b99116e.webp?v=1775100185"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092483338339,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580595994723,"product_id":7988650639459,"position":12,"created_at":"2026-04-02T11:23:05+08:00","updated_at":"2026-04-02T11:23:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_ba4b9519-8d2b-4f58-a8a8-16c241b6bd78.webp?v=1775100187","variant_ids":[44092483338339]},"available":true,"name":"iPhone 13 Clear 梵谷博物館 Amandier en fleurs - Transparent - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-VR09","featured_media":{"alt":null,"id":27113217589347,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ff624591267fb118d3fa2c3fc4dc3fe6c78ef3b_ba4b9519-8d2b-4f58-a8a8-16c241b6bd78.webp?v=1775100187"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44092482781283,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-VR09","requires_shipping":true,"taxable":true,"featured_image":{"id":35580595732579,"product_id":7988650639459,"position":11,"created_at":"2026-04-02T11:23:04+08:00","updated_at":"2026-04-02T11:23:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_44bf4540-44b6-4749-b54a-b01ae9327bf5.webp?v=1775100186","variant_ids":[44092482781283]},"available":true,"name":"iPhone 13 Clear 梵谷博物館 Amandier en fleurs - Transparent - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-VR09","featured_media":{"alt":null,"id":27113217327203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879c4b418a89932c6406f346126ac478c3bd4d1a_44bf4540-44b6-4749-b54a-b01ae9327bf5.webp?v=1775100186"}},"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: "停產" }