$product = {"id":7414012018787,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - 街頭貓貓","handle":"iphone-13-mini-mod-nx-magsafe-printable-hq01","description":null,"published_at":"2024-06-11T17:47:40+08:00","created_at":"2024-05-05T14:00:38+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Pixel Jeff 皮傑","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-pixeljeff","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-pixeljeff","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":41903311356003,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-HQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484456730723,"product_id":7414012018787,"position":10,"created_at":"2024-05-05T14:01:01+08:00","updated_at":"2024-05-05T14:01:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2147e6f7ae7e824096465ab638a21f4ef821c689_c98adb38-bd16-4094-853a-e6b2cb8802d7.webp?v=1714888861","variant_ids":[41903311356003]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - 街頭貓貓 - 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-HQ01","featured_media":{"alt":null,"id":23889750818915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2147e6f7ae7e824096465ab638a21f4ef821c689_c98adb38-bd16-4094-853a-e6b2cb8802d7.webp?v=1714888861"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903311421539,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-HQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484454273123,"product_id":7414012018787,"position":6,"created_at":"2024-05-05T14:00:52+08:00","updated_at":"2024-05-05T14:00:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c942aea3ec1a61c106f7fc30779d8fe617b8ba8c_e16001f6-f2db-4f8d-9048-9971eee4365e.webp?v=1714888852","variant_ids":[41903311421539]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - 街頭貓貓 - 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-HQ01","featured_media":{"alt":null,"id":23889748426851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c942aea3ec1a61c106f7fc30779d8fe617b8ba8c_e16001f6-f2db-4f8d-9048-9971eee4365e.webp?v=1714888852"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903311650915,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-HQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484455944291,"product_id":7414012018787,"position":9,"created_at":"2024-05-05T14:00:59+08:00","updated_at":"2024-05-05T14:00:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4db9a3f5d11aaa520e7471bb34a28c9c1141aa64_ae9711b9-a917-4e84-b7bb-f8e48ba5d253.webp?v=1714888859","variant_ids":[41903311650915]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - 街頭貓貓 - 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-HQ01","featured_media":{"alt":null,"id":23889749770339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4db9a3f5d11aaa520e7471bb34a28c9c1141aa64_ae9711b9-a917-4e84-b7bb-f8e48ba5d253.webp?v=1714888859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c9c4ad4de487d8f01e6b60b936d1b2dcebbd91_3210790f-257b-4fdd-acf3-08dd14bd3922.webp?v=1714888841","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4d8d041f12a079500f99e4a57001d1cd62deca1_0025800b-ad7f-44dc-ad5e-ed3a929d80b5.webp?v=1714888843","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cd754cf739c074c9d870177d2da5f96d1a49e45_4f9bcc68-fbc1-440d-9116-8538a4617182.webp?v=1714888845","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe8a0080257503f2f47e162abdaa3a0c8f018de_91e63314-3f46-4a07-8e44-8d8bd37fb5c9.webp?v=1714888848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2c3537cd365f2d1d6fe249a9447dde96c615309_b4efc13e-62bd-4585-ab60-8836359212ee.webp?v=1714888850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c942aea3ec1a61c106f7fc30779d8fe617b8ba8c_e16001f6-f2db-4f8d-9048-9971eee4365e.webp?v=1714888852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7be921302896b21eddaa22ecb63d51c25fe8c10a_1f558986-6be0-4ad4-9552-dc8179c2f7a9.webp?v=1714888854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a98d8f3e741a3302cc5bf00da03f7e3afde5172_20f167b1-4535-4d9d-a4fb-18ad6027dba3.webp?v=1714888857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4db9a3f5d11aaa520e7471bb34a28c9c1141aa64_ae9711b9-a917-4e84-b7bb-f8e48ba5d253.webp?v=1714888859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2147e6f7ae7e824096465ab638a21f4ef821c689_c98adb38-bd16-4094-853a-e6b2cb8802d7.webp?v=1714888861"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c9c4ad4de487d8f01e6b60b936d1b2dcebbd91_3210790f-257b-4fdd-acf3-08dd14bd3922.webp?v=1714888841","options":["color"],"media":[{"alt":null,"id":23889746493539,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c9c4ad4de487d8f01e6b60b936d1b2dcebbd91_3210790f-257b-4fdd-acf3-08dd14bd3922.webp?v=1714888841"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c9c4ad4de487d8f01e6b60b936d1b2dcebbd91_3210790f-257b-4fdd-acf3-08dd14bd3922.webp?v=1714888841","width":2000},{"alt":null,"id":23889746886755,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4d8d041f12a079500f99e4a57001d1cd62deca1_0025800b-ad7f-44dc-ad5e-ed3a929d80b5.webp?v=1714888843"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4d8d041f12a079500f99e4a57001d1cd62deca1_0025800b-ad7f-44dc-ad5e-ed3a929d80b5.webp?v=1714888843","width":2000},{"alt":null,"id":23889747214435,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cd754cf739c074c9d870177d2da5f96d1a49e45_4f9bcc68-fbc1-440d-9116-8538a4617182.webp?v=1714888845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cd754cf739c074c9d870177d2da5f96d1a49e45_4f9bcc68-fbc1-440d-9116-8538a4617182.webp?v=1714888845","width":2000},{"alt":null,"id":23889747607651,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe8a0080257503f2f47e162abdaa3a0c8f018de_91e63314-3f46-4a07-8e44-8d8bd37fb5c9.webp?v=1714888848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe8a0080257503f2f47e162abdaa3a0c8f018de_91e63314-3f46-4a07-8e44-8d8bd37fb5c9.webp?v=1714888848","width":2000},{"alt":null,"id":23889747935331,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2c3537cd365f2d1d6fe249a9447dde96c615309_b4efc13e-62bd-4585-ab60-8836359212ee.webp?v=1714888850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2c3537cd365f2d1d6fe249a9447dde96c615309_b4efc13e-62bd-4585-ab60-8836359212ee.webp?v=1714888850","width":2000},{"alt":null,"id":23889748426851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c942aea3ec1a61c106f7fc30779d8fe617b8ba8c_e16001f6-f2db-4f8d-9048-9971eee4365e.webp?v=1714888852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c942aea3ec1a61c106f7fc30779d8fe617b8ba8c_e16001f6-f2db-4f8d-9048-9971eee4365e.webp?v=1714888852","width":2000},{"alt":null,"id":23889748820067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7be921302896b21eddaa22ecb63d51c25fe8c10a_1f558986-6be0-4ad4-9552-dc8179c2f7a9.webp?v=1714888854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7be921302896b21eddaa22ecb63d51c25fe8c10a_1f558986-6be0-4ad4-9552-dc8179c2f7a9.webp?v=1714888854","width":2000},{"alt":null,"id":23889749278819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a98d8f3e741a3302cc5bf00da03f7e3afde5172_20f167b1-4535-4d9d-a4fb-18ad6027dba3.webp?v=1714888857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a98d8f3e741a3302cc5bf00da03f7e3afde5172_20f167b1-4535-4d9d-a4fb-18ad6027dba3.webp?v=1714888857","width":2000},{"alt":null,"id":23889749770339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4db9a3f5d11aaa520e7471bb34a28c9c1141aa64_ae9711b9-a917-4e84-b7bb-f8e48ba5d253.webp?v=1714888859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4db9a3f5d11aaa520e7471bb34a28c9c1141aa64_ae9711b9-a917-4e84-b7bb-f8e48ba5d253.webp?v=1714888859","width":2000},{"alt":null,"id":23889750818915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2147e6f7ae7e824096465ab638a21f4ef821c689_c98adb38-bd16-4094-853a-e6b2cb8802d7.webp?v=1714888861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2147e6f7ae7e824096465ab638a21f4ef821c689_c98adb38-bd16-4094-853a-e6b2cb8802d7.webp?v=1714888861","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41903311356003,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-HQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484456730723,"product_id":7414012018787,"position":10,"created_at":"2024-05-05T14:01:01+08:00","updated_at":"2024-05-05T14:01:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2147e6f7ae7e824096465ab638a21f4ef821c689_c98adb38-bd16-4094-853a-e6b2cb8802d7.webp?v=1714888861","variant_ids":[41903311356003]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - 街頭貓貓 - 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-HQ01","featured_media":{"alt":null,"id":23889750818915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2147e6f7ae7e824096465ab638a21f4ef821c689_c98adb38-bd16-4094-853a-e6b2cb8802d7.webp?v=1714888861"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903311421539,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-HQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484454273123,"product_id":7414012018787,"position":6,"created_at":"2024-05-05T14:00:52+08:00","updated_at":"2024-05-05T14:00:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c942aea3ec1a61c106f7fc30779d8fe617b8ba8c_e16001f6-f2db-4f8d-9048-9971eee4365e.webp?v=1714888852","variant_ids":[41903311421539]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - 街頭貓貓 - 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-HQ01","featured_media":{"alt":null,"id":23889748426851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c942aea3ec1a61c106f7fc30779d8fe617b8ba8c_e16001f6-f2db-4f8d-9048-9971eee4365e.webp?v=1714888852"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903311650915,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-HQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484455944291,"product_id":7414012018787,"position":9,"created_at":"2024-05-05T14:00:59+08:00","updated_at":"2024-05-05T14:00:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4db9a3f5d11aaa520e7471bb34a28c9c1141aa64_ae9711b9-a917-4e84-b7bb-f8e48ba5d253.webp?v=1714888859","variant_ids":[41903311650915]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - 街頭貓貓 - 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-HQ01","featured_media":{"alt":null,"id":23889749770339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4db9a3f5d11aaa520e7471bb34a28c9c1141aa64_ae9711b9-a917-4e84-b7bb-f8e48ba5d253.webp?v=1714888859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41903311356003,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-HQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":31484456730723,"product_id":7414012018787,"position":10,"created_at":"2024-05-05T14:01:01+08:00","updated_at":"2024-05-05T14:01:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2147e6f7ae7e824096465ab638a21f4ef821c689_c98adb38-bd16-4094-853a-e6b2cb8802d7.webp?v=1714888861","variant_ids":[41903311356003]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - 街頭貓貓 - 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-HQ01","featured_media":{"alt":null,"id":23889750818915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2147e6f7ae7e824096465ab638a21f4ef821c689_c98adb38-bd16-4094-853a-e6b2cb8802d7.webp?v=1714888861"}},"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: "停產" }