$product = {"id":7414000091235,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 願傷疤 有天開出花(泰國林地濫伐)","handle":"iphone-13-mini-mod-nx-magsafe-printable-af04","description":null,"published_at":"2024-06-11T17:47:20+08:00","created_at":"2024-05-05T13:58:32+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-look","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":41903178612835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484431499363,"product_id":7414000091235,"position":10,"created_at":"2024-05-05T13:58:55+08:00","updated_at":"2024-05-05T13:58:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec5c4b79543e53599c72bf7c75a0c863cd75dc8_dfcb2ce8-1334-4547-87a8-cf6d9762fb1c.webp?v=1714888736","variant_ids":[41903178612835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 願傷疤 有天開出花(泰國林地濫伐) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-AF04","featured_media":{"alt":null,"id":23889725587555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec5c4b79543e53599c72bf7c75a0c863cd75dc8_dfcb2ce8-1334-4547-87a8-cf6d9762fb1c.webp?v=1714888736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903178678371,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-AF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484430712931,"product_id":7414000091235,"position":8,"created_at":"2024-05-05T13:58:51+08:00","updated_at":"2024-05-05T13:58:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb6280da9f24b63bbbc2e5031590bccf9e0429a7_b2df1a26-2eda-419a-8894-fccf6ea6d5ee.webp?v=1714888731","variant_ids":[41903178678371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 願傷疤 有天開出花(泰國林地濫伐) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-AF04","featured_media":{"alt":null,"id":23889724768355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb6280da9f24b63bbbc2e5031590bccf9e0429a7_b2df1a26-2eda-419a-8894-fccf6ea6d5ee.webp?v=1714888731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903178940515,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-AF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484431138915,"product_id":7414000091235,"position":9,"created_at":"2024-05-05T13:58:53+08:00","updated_at":"2024-05-05T13:58:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a5e16257ba39a3170024525afe44a35701c24da_66798990-fbe3-4f3c-9eb7-155b0cd64950.webp?v=1714888733","variant_ids":[41903178940515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 願傷疤 有天開出花(泰國林地濫伐) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-AF04","featured_media":{"alt":null,"id":23889725161571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a5e16257ba39a3170024525afe44a35701c24da_66798990-fbe3-4f3c-9eb7-155b0cd64950.webp?v=1714888733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21b6db09970c258b8700748923eef5b7870be823_34af7f7f-e7b5-4ea5-934b-b6c02fc22c71.webp?v=1714888714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5912172b616a0eb71022fabcc3654141da7917f4_082d46e5-13b3-4663-81e5-2d547aa5788b.webp?v=1714888716","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1748d5a7ae628cfd1a9c8b2a0486913ce35a71c_6540d9b7-bcec-4946-8c05-a891f68edbb5.webp?v=1714888719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71a50b7c52494a8b24fec3f015b16e479d3eb268_888347f0-06de-481b-a5dc-e3164d082395.webp?v=1714888721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd59508adeb71b7afe759bc554e584f6c80bc82c_ebe42bbc-c83c-4a51-a4ab-5664b672c114.webp?v=1714888724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8f1cd83ae3508c14d3a21f714a885e2e27ab07_bded2071-45ec-4f6f-a8be-c12f324773b6.webp?v=1714888726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/921f14b886b9d7ed2ad17ca5d6945efaa35e7cac_2a4cdaf5-5c38-4592-9347-54185ca563ae.webp?v=1714888728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb6280da9f24b63bbbc2e5031590bccf9e0429a7_b2df1a26-2eda-419a-8894-fccf6ea6d5ee.webp?v=1714888731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a5e16257ba39a3170024525afe44a35701c24da_66798990-fbe3-4f3c-9eb7-155b0cd64950.webp?v=1714888733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec5c4b79543e53599c72bf7c75a0c863cd75dc8_dfcb2ce8-1334-4547-87a8-cf6d9762fb1c.webp?v=1714888736"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21b6db09970c258b8700748923eef5b7870be823_34af7f7f-e7b5-4ea5-934b-b6c02fc22c71.webp?v=1714888714","options":["color"],"media":[{"alt":null,"id":23889721262179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21b6db09970c258b8700748923eef5b7870be823_34af7f7f-e7b5-4ea5-934b-b6c02fc22c71.webp?v=1714888714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21b6db09970c258b8700748923eef5b7870be823_34af7f7f-e7b5-4ea5-934b-b6c02fc22c71.webp?v=1714888714","width":2000},{"alt":null,"id":23889721983075,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5912172b616a0eb71022fabcc3654141da7917f4_082d46e5-13b3-4663-81e5-2d547aa5788b.webp?v=1714888716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5912172b616a0eb71022fabcc3654141da7917f4_082d46e5-13b3-4663-81e5-2d547aa5788b.webp?v=1714888716","width":2000},{"alt":null,"id":23889722441827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1748d5a7ae628cfd1a9c8b2a0486913ce35a71c_6540d9b7-bcec-4946-8c05-a891f68edbb5.webp?v=1714888719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1748d5a7ae628cfd1a9c8b2a0486913ce35a71c_6540d9b7-bcec-4946-8c05-a891f68edbb5.webp?v=1714888719","width":2000},{"alt":null,"id":23889722900579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71a50b7c52494a8b24fec3f015b16e479d3eb268_888347f0-06de-481b-a5dc-e3164d082395.webp?v=1714888721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71a50b7c52494a8b24fec3f015b16e479d3eb268_888347f0-06de-481b-a5dc-e3164d082395.webp?v=1714888721","width":2000},{"alt":null,"id":23889723457635,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd59508adeb71b7afe759bc554e584f6c80bc82c_ebe42bbc-c83c-4a51-a4ab-5664b672c114.webp?v=1714888724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd59508adeb71b7afe759bc554e584f6c80bc82c_ebe42bbc-c83c-4a51-a4ab-5664b672c114.webp?v=1714888724","width":2000},{"alt":null,"id":23889723949155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8f1cd83ae3508c14d3a21f714a885e2e27ab07_bded2071-45ec-4f6f-a8be-c12f324773b6.webp?v=1714888726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8f1cd83ae3508c14d3a21f714a885e2e27ab07_bded2071-45ec-4f6f-a8be-c12f324773b6.webp?v=1714888726","width":2000},{"alt":null,"id":23889724342371,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/921f14b886b9d7ed2ad17ca5d6945efaa35e7cac_2a4cdaf5-5c38-4592-9347-54185ca563ae.webp?v=1714888728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/921f14b886b9d7ed2ad17ca5d6945efaa35e7cac_2a4cdaf5-5c38-4592-9347-54185ca563ae.webp?v=1714888728","width":2000},{"alt":null,"id":23889724768355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb6280da9f24b63bbbc2e5031590bccf9e0429a7_b2df1a26-2eda-419a-8894-fccf6ea6d5ee.webp?v=1714888731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb6280da9f24b63bbbc2e5031590bccf9e0429a7_b2df1a26-2eda-419a-8894-fccf6ea6d5ee.webp?v=1714888731","width":2000},{"alt":null,"id":23889725161571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a5e16257ba39a3170024525afe44a35701c24da_66798990-fbe3-4f3c-9eb7-155b0cd64950.webp?v=1714888733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a5e16257ba39a3170024525afe44a35701c24da_66798990-fbe3-4f3c-9eb7-155b0cd64950.webp?v=1714888733","width":2000},{"alt":null,"id":23889725587555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec5c4b79543e53599c72bf7c75a0c863cd75dc8_dfcb2ce8-1334-4547-87a8-cf6d9762fb1c.webp?v=1714888736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec5c4b79543e53599c72bf7c75a0c863cd75dc8_dfcb2ce8-1334-4547-87a8-cf6d9762fb1c.webp?v=1714888736","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41903178612835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484431499363,"product_id":7414000091235,"position":10,"created_at":"2024-05-05T13:58:55+08:00","updated_at":"2024-05-05T13:58:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec5c4b79543e53599c72bf7c75a0c863cd75dc8_dfcb2ce8-1334-4547-87a8-cf6d9762fb1c.webp?v=1714888736","variant_ids":[41903178612835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 願傷疤 有天開出花(泰國林地濫伐) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-AF04","featured_media":{"alt":null,"id":23889725587555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec5c4b79543e53599c72bf7c75a0c863cd75dc8_dfcb2ce8-1334-4547-87a8-cf6d9762fb1c.webp?v=1714888736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903178678371,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-AF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484430712931,"product_id":7414000091235,"position":8,"created_at":"2024-05-05T13:58:51+08:00","updated_at":"2024-05-05T13:58:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb6280da9f24b63bbbc2e5031590bccf9e0429a7_b2df1a26-2eda-419a-8894-fccf6ea6d5ee.webp?v=1714888731","variant_ids":[41903178678371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 願傷疤 有天開出花(泰國林地濫伐) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-AF04","featured_media":{"alt":null,"id":23889724768355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb6280da9f24b63bbbc2e5031590bccf9e0429a7_b2df1a26-2eda-419a-8894-fccf6ea6d5ee.webp?v=1714888731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903178940515,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-AF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484431138915,"product_id":7414000091235,"position":9,"created_at":"2024-05-05T13:58:53+08:00","updated_at":"2024-05-05T13:58:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a5e16257ba39a3170024525afe44a35701c24da_66798990-fbe3-4f3c-9eb7-155b0cd64950.webp?v=1714888733","variant_ids":[41903178940515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 願傷疤 有天開出花(泰國林地濫伐) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-AF04","featured_media":{"alt":null,"id":23889725161571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a5e16257ba39a3170024525afe44a35701c24da_66798990-fbe3-4f3c-9eb7-155b0cd64950.webp?v=1714888733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41903178612835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484431499363,"product_id":7414000091235,"position":10,"created_at":"2024-05-05T13:58:55+08:00","updated_at":"2024-05-05T13:58:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec5c4b79543e53599c72bf7c75a0c863cd75dc8_dfcb2ce8-1334-4547-87a8-cf6d9762fb1c.webp?v=1714888736","variant_ids":[41903178612835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Look - 願傷疤 有天開出花(泰國林地濫伐) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-AF04","featured_media":{"alt":null,"id":23889725587555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ec5c4b79543e53599c72bf7c75a0c863cd75dc8_dfcb2ce8-1334-4547-87a8-cf6d9762fb1c.webp?v=1714888736"}},"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: "停產" }