$product = {"id":7408245604451,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2 \u0026 C3PO-塗鴉藝術","handle":"iphone-13-mini-mod-nx-printable-pb34","description":null,"published_at":"2024-06-11T16:35:18+08:00","created_at":"2024-05-03T12:28:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41884262400099,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB34","requires_shipping":true,"taxable":true,"featured_image":{"id":31471567896675,"product_id":7408245604451,"position":1,"created_at":"2024-05-03T12:28:16+08:00","updated_at":"2024-05-03T12:28:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f57a95553b837eff9d3748418892d329348e93_2d6f054d-f9f3-4e62-8e63-e385af4140fb.webp?v=1714710496","variant_ids":[41884262400099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2 \u0026 C3PO-塗鴉藝術 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB34","featured_media":{"alt":null,"id":23876474732643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f57a95553b837eff9d3748418892d329348e93_2d6f054d-f9f3-4e62-8e63-e385af4140fb.webp?v=1714710496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884262465635,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB34","requires_shipping":true,"taxable":true,"featured_image":{"id":31471569895523,"product_id":7408245604451,"position":10,"created_at":"2024-05-03T12:28:37+08:00","updated_at":"2024-05-03T12:28:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d0f990fca7a4b146f027295d14f9a1cf88e217d_a566c7fe-2e17-46e0-a0b1-4da403e6e77b.webp?v=1714710517","variant_ids":[41884262465635]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2 \u0026 C3PO-塗鴉藝術 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB34","featured_media":{"alt":null,"id":23876476895331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d0f990fca7a4b146f027295d14f9a1cf88e217d_a566c7fe-2e17-46e0-a0b1-4da403e6e77b.webp?v=1714710517"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884262695011,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB34","requires_shipping":true,"taxable":true,"featured_image":{"id":31471569502307,"product_id":7408245604451,"position":7,"created_at":"2024-05-03T12:28:30+08:00","updated_at":"2024-05-03T12:28:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de25ded8dcb819c16238286e30814458e5c4432_578c7a72-567a-4814-b9b6-775da91283d7.webp?v=1714710510","variant_ids":[41884262695011]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2 \u0026 C3PO-塗鴉藝術 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB34","featured_media":{"alt":null,"id":23876476502115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de25ded8dcb819c16238286e30814458e5c4432_578c7a72-567a-4814-b9b6-775da91283d7.webp?v=1714710510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f57a95553b837eff9d3748418892d329348e93_2d6f054d-f9f3-4e62-8e63-e385af4140fb.webp?v=1714710496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e9aecbd51d32946f42624a001d084e4d1ccc450_a7e6b937-6abf-4def-8c17-be1049f32222.webp?v=1714710499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358c7106bac0ceba75205b88ddbe226a57866a3a_b1f907c5-c819-47f2-bd74-4c70e8a3f63b.webp?v=1714710501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b524320e0be547bc1f334d77eb3bfd07d7b180_03ccdbd6-240a-4d3b-962d-1cf5f0bf8820.webp?v=1714710503","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b81ec8236afb8453c2f2d2ec3755097db2bb3db_40b57b46-54a9-48f1-a769-89505fbddb5e.webp?v=1714710506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d229e0417fcc05425c9ee209e2a3c99ec3be9247_8a33ac6e-8de0-4745-ad67-11ae28bd0337.webp?v=1714710508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de25ded8dcb819c16238286e30814458e5c4432_578c7a72-567a-4814-b9b6-775da91283d7.webp?v=1714710510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b9323c268428f6c946549cfa9932691bed7172d_d810d3ba-762c-435a-8218-220b9f86586e.webp?v=1714710513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780a8690f456493aa19ca9ac10a6f133b5e10233_64deaa7f-bf22-46ae-9522-4333b64a0927.webp?v=1714710515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d0f990fca7a4b146f027295d14f9a1cf88e217d_a566c7fe-2e17-46e0-a0b1-4da403e6e77b.webp?v=1714710517"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f57a95553b837eff9d3748418892d329348e93_2d6f054d-f9f3-4e62-8e63-e385af4140fb.webp?v=1714710496","options":["color"],"media":[{"alt":null,"id":23876474732643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f57a95553b837eff9d3748418892d329348e93_2d6f054d-f9f3-4e62-8e63-e385af4140fb.webp?v=1714710496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f57a95553b837eff9d3748418892d329348e93_2d6f054d-f9f3-4e62-8e63-e385af4140fb.webp?v=1714710496","width":2000},{"alt":null,"id":23876475093091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e9aecbd51d32946f42624a001d084e4d1ccc450_a7e6b937-6abf-4def-8c17-be1049f32222.webp?v=1714710499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e9aecbd51d32946f42624a001d084e4d1ccc450_a7e6b937-6abf-4def-8c17-be1049f32222.webp?v=1714710499","width":2000},{"alt":null,"id":23876475682915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358c7106bac0ceba75205b88ddbe226a57866a3a_b1f907c5-c819-47f2-bd74-4c70e8a3f63b.webp?v=1714710501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358c7106bac0ceba75205b88ddbe226a57866a3a_b1f907c5-c819-47f2-bd74-4c70e8a3f63b.webp?v=1714710501","width":2000},{"alt":null,"id":23876475879523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b524320e0be547bc1f334d77eb3bfd07d7b180_03ccdbd6-240a-4d3b-962d-1cf5f0bf8820.webp?v=1714710503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85b524320e0be547bc1f334d77eb3bfd07d7b180_03ccdbd6-240a-4d3b-962d-1cf5f0bf8820.webp?v=1714710503","width":2000},{"alt":null,"id":23876476108899,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b81ec8236afb8453c2f2d2ec3755097db2bb3db_40b57b46-54a9-48f1-a769-89505fbddb5e.webp?v=1714710506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b81ec8236afb8453c2f2d2ec3755097db2bb3db_40b57b46-54a9-48f1-a769-89505fbddb5e.webp?v=1714710506","width":2000},{"alt":null,"id":23876476207203,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d229e0417fcc05425c9ee209e2a3c99ec3be9247_8a33ac6e-8de0-4745-ad67-11ae28bd0337.webp?v=1714710508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d229e0417fcc05425c9ee209e2a3c99ec3be9247_8a33ac6e-8de0-4745-ad67-11ae28bd0337.webp?v=1714710508","width":2000},{"alt":null,"id":23876476502115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de25ded8dcb819c16238286e30814458e5c4432_578c7a72-567a-4814-b9b6-775da91283d7.webp?v=1714710510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de25ded8dcb819c16238286e30814458e5c4432_578c7a72-567a-4814-b9b6-775da91283d7.webp?v=1714710510","width":2000},{"alt":null,"id":23876476633187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b9323c268428f6c946549cfa9932691bed7172d_d810d3ba-762c-435a-8218-220b9f86586e.webp?v=1714710513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b9323c268428f6c946549cfa9932691bed7172d_d810d3ba-762c-435a-8218-220b9f86586e.webp?v=1714710513","width":2000},{"alt":null,"id":23876476764259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780a8690f456493aa19ca9ac10a6f133b5e10233_64deaa7f-bf22-46ae-9522-4333b64a0927.webp?v=1714710515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780a8690f456493aa19ca9ac10a6f133b5e10233_64deaa7f-bf22-46ae-9522-4333b64a0927.webp?v=1714710515","width":2000},{"alt":null,"id":23876476895331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d0f990fca7a4b146f027295d14f9a1cf88e217d_a566c7fe-2e17-46e0-a0b1-4da403e6e77b.webp?v=1714710517"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d0f990fca7a4b146f027295d14f9a1cf88e217d_a566c7fe-2e17-46e0-a0b1-4da403e6e77b.webp?v=1714710517","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41884262400099,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB34","requires_shipping":true,"taxable":true,"featured_image":{"id":31471567896675,"product_id":7408245604451,"position":1,"created_at":"2024-05-03T12:28:16+08:00","updated_at":"2024-05-03T12:28:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f57a95553b837eff9d3748418892d329348e93_2d6f054d-f9f3-4e62-8e63-e385af4140fb.webp?v=1714710496","variant_ids":[41884262400099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2 \u0026 C3PO-塗鴉藝術 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB34","featured_media":{"alt":null,"id":23876474732643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f57a95553b837eff9d3748418892d329348e93_2d6f054d-f9f3-4e62-8e63-e385af4140fb.webp?v=1714710496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884262465635,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB34","requires_shipping":true,"taxable":true,"featured_image":{"id":31471569895523,"product_id":7408245604451,"position":10,"created_at":"2024-05-03T12:28:37+08:00","updated_at":"2024-05-03T12:28:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d0f990fca7a4b146f027295d14f9a1cf88e217d_a566c7fe-2e17-46e0-a0b1-4da403e6e77b.webp?v=1714710517","variant_ids":[41884262465635]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2 \u0026 C3PO-塗鴉藝術 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB34","featured_media":{"alt":null,"id":23876476895331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d0f990fca7a4b146f027295d14f9a1cf88e217d_a566c7fe-2e17-46e0-a0b1-4da403e6e77b.webp?v=1714710517"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884262695011,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB34","requires_shipping":true,"taxable":true,"featured_image":{"id":31471569502307,"product_id":7408245604451,"position":7,"created_at":"2024-05-03T12:28:30+08:00","updated_at":"2024-05-03T12:28:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de25ded8dcb819c16238286e30814458e5c4432_578c7a72-567a-4814-b9b6-775da91283d7.webp?v=1714710510","variant_ids":[41884262695011]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2 \u0026 C3PO-塗鴉藝術 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB34","featured_media":{"alt":null,"id":23876476502115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de25ded8dcb819c16238286e30814458e5c4432_578c7a72-567a-4814-b9b6-775da91283d7.webp?v=1714710510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41884262400099,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB34","requires_shipping":true,"taxable":true,"featured_image":{"id":31471567896675,"product_id":7408245604451,"position":1,"created_at":"2024-05-03T12:28:16+08:00","updated_at":"2024-05-03T12:28:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f57a95553b837eff9d3748418892d329348e93_2d6f054d-f9f3-4e62-8e63-e385af4140fb.webp?v=1714710496","variant_ids":[41884262400099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2 \u0026 C3PO-塗鴉藝術 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB34","featured_media":{"alt":null,"id":23876474732643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f57a95553b837eff9d3748418892d329348e93_2d6f054d-f9f3-4e62-8e63-e385af4140fb.webp?v=1714710496"}},"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: "停產" }