/** * Implements hook_menu(). */ function custom_city_tax_menu() { $items['admin/store/settings/city-tax'] = array( 'title' => 'City Tax Rates', 'description' => 'Manage city-based tax rates.', 'page callback' => 'drupal_get_form', 'page arguments' => array('custom_city_tax_admin_form'), 'access arguments' => array('administer store'), 'type' => MENU_NORMAL_ITEM, ); return $items; } /** * Implements hook_uc_calculate_tax(). */ function custom_city_tax_uc_calculate_tax($order, $context) { $taxes = array(); $city = strtolower(trim($order->delivery_city ?? '')); if ($city) { $rate = db_query("SELECT rate FROM {custom_city_tax_rates} WHERE LOWER(city) = :city", array(':city' => $city))->fetchField(); if ($rate) { $amount = ($order->order_total * $rate) / 100; $taxes[] = array( 'id' => 'custom_city_tax', 'title' => t('City Tax (@rate%)', array('@rate' => $rate)), 'amount' => $amount, ); } } return $taxes; } /** * Load admin form from include. */ function custom_city_tax_admin_form() { module_load_include('inc', 'custom_city_tax', 'custom_city_tax.admin'); return custom_city_tax_admin_form_main(); } Top Care Tussin DM 4 oz | La Comprita

Top Care Tussin DM 4 oz

Product Image

Top Care Tussin DM 4 oz

List price: $3.49
4 oz
Este producto no tiene ninguna receta relacionada
Product Image
$5.99 / 6 ct
Product Image
$3.49 / 4 oz
Product Image
$4.99 / 4 oz
Product Image
$6.99 / 8 oz
Product Image
$2.89 / 25 ct
Product Image
$10.49 / 4 oz
Product Image
$7.19 / 24 ct
Product Image
$2.89 / 30 ct