Jump to content

anmgra

Members
  • Posts

    3
  • Joined

  • Last visited

anmgra's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I guess i need to edit this field in adminfolder/tabs/AdminOrders.php, start line 63 /* Update shipping number */ if (Tools::isSubmit('submitShippingNumber') AND ($id_order = intval(Tools::getValue('id_order'))) AND Validate::isLoadedObject($order = new Order($id_order))) { if ($this->tabAccess['edit'] === '1') { if (!$order->hasBeenShipped()) die(Tools::displayError('The shipping number can only be set once the order has been shipped!')); $_GET['view'.$this->table] = true; $shipping_number = pSQL(Tools::getValue('shipping_number')); $order->shipping_number = $shipping_number; $order->update(); if ($shipping_number) { global $_LANGMAIL; $customer = new Customer(intval($order->id_customer)); $carrier = new Carrier(intval($order->id_carrier)); if (!Validate::isLoadedObject($customer) OR !Validate::isLoadedObject($carrier)) die(Tools::displayError()); $templateVars = array( '{followup}' => str_replace('@', $order->shipping_number, $carrier->url), '{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{id_order}' => intval($order->id) ); $subject = 'Package in transit'; Mail::Send(intval($order->id_lang), 'in_transit', ((is_array($_LANGMAIL) AND key_exists($subject, $_LANGMAIL)) ? $_LANGMAIL[$subject] : $subject), $templateVars, $customer->email, $customer->firstname.' '.$customer->lastname); } } else $this->_errors[] = Tools::displayError('You do not have permission to edit anything here.'); } I want to be able to add the trackingnumber when the status is in "Preparation" so I can include the tracking no. in the shipped mail to my customer. Any ideas? Did find a post for earlier version of Prestashop that I coulnd not fit.
  2. As you guys see on the picture (see attach.), I need to change the button width in my cart. I have the original PrestaShop theme. Does anyone know where I can do this?
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More