Пример #1
0
 /**
  * Return a unique reference like : GWJTHMZUN#2
  *
  * With multi-shipping, order reference are the same for all orders made with the same cart
  * in this case this method suffix the order reference by a # and the order number
  *
  * @param $order_id
  * @return
  */
 public static function getUniqueReferenceOf($order_id)
 {
     $order = new JeproshopOrderModelOrder($id_order);
     return $order->getUniqueReference();
 }