`); printWindow.document.close();setTimeout(function () { printWindow.focus(); printWindow.print();setTimeout(function () { printWindow.close(); }, 1000); }, 700); }) .catch(function (error) { console.log("SubliSaaS print fetch error:", error);/* * Fallback: if fetch fails, use original Orderable print. */ defaultPrintButton.click(); });return; }/* * Fallback for non-link print buttons. */ defaultPrintButton.click(); }function addButtonsToRows() { const rows = document.querySelectorAll("tr");rows.forEach(function (row) { if (row.dataset.sublisaasPrintButtonsAdded === "yes") { return; }const orderId = getOrderIdFromRow(row); if (!orderId) { return; }const defaultPrintButton = findDefaultPrintButton(row); if (!defaultPrintButton) { return; }const container = defaultPrintButton.closest("td") || row.querySelector("td") || row;const printBtn = createButton("PRINT", "sublisaas-print-customer");printBtn.addEventListener("click", function (e) { e.preventDefault(); e.stopPropagation(); printCustomerWithBiggerFont(row); });container.appendChild(printBtn);row.dataset.sublisaasPrintButtonsAdded = "yes"; }); }document.addEventListener("DOMContentLoaded", addButtonsToRows);setInterval(addButtonsToRows, 2000); })();

ROOT BEER

$2.99

SKU: DRK-005
Category:

Related products

Your Order

No products in the cart.

Find locations near you

Discover a location near you with delivery or pickup options available right now.