Array ( [name] => nextDayDelivery [title] => Next Day Delivery [content] => 'mainland', 2 => 'island']; $currencyPrefix = $currArray[0]['pretext']; $sql = "SELECT * FROM jss_shipping_rates WHERE shippingID = {$nextDayShippingId} AND sfrom > -1 ORDER BY price1 ASC"; $res = $dbA->query($sql); $shipping = []; while ($row = $dbA->fetch($res)) { if (! array_key_exists($row['zoneID'], $zoneIds)) { continue; } if ($row['sto'] == 99999) { $label = round($row['sfrom']) . 'kg +'; } else { $label = round($row['sfrom']) . ' - ' . round($row['sto']) . 'kg'; } $exVat = $row['price1']; $incVat = $exVat * retrieveOption($isoCode . '_taxProportion'); if (! array_key_exists($label, $shipping)) { $shipping[$label] = [ 'label' => $label ]; } $shipping[$label][$zoneIds[$row['zoneID']]]['pricing'] = [ 'primary' => $currencyPrefix . number_format(($allow['showPricesIncVat']) ? $incVat : $exVat, 2), 'secondary' => $currencyPrefix . number_format(($allow['showPricesIncVat']) ? $exVat : $incVat, 2) ]; } $shipping = array_values($shipping); /** * Retrieve the shipping name */ $sql = "SELECT name FROM jss_shipping_types WHERE shippingID = {$nextDayShippingId}"; $res = $dbA->query($sql); $nextDayShippingName = ($dbA->count($res) > 0) ? strtolower($dbA->fetch($res)["name"]) : "next working day"; ?>
Our next day delivery service is available on all products that are in stock. Products that have a lead time will be dispatched as soon as they are available using our specialist courier service.
Order Weight | Mainland UK | Islands & Remote Locations |
---|---|---|
theVariables['labels']['pricing']['primaryTax']; ?> theVariables['labels']['pricing']['secondaryTax']; ?> |
theVariables['labels']['pricing']['primaryTax']; ?> theVariables['labels']['pricing']['secondaryTax']; ?> |