Jump to content

Error getTotalQuantity() Prestashop 1.6.1.1.


Recommended Posts

Hola , 

 

me está saliendo un error en las nuevas versiones de prestashop 1.6.1.1. 

 

mod_fcgid: stderr: PHP Fatal error: Call to undefined method Order::getTotalQuantity() in /var/www/vhosts/pagina_web.es/httpdocs/modules/NombreModulo/NombreModuloModule.php on line 168

 

¿ hay alguna incompatibilidad con estas versiones de estas funciones ?

 

linea de código 

 

if ($one_order_one_pick == 1) {
  $var = 1 ;
}else{
  $var = $order->getTotalQuantity(); ( linea 168 )
}

Gracias

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...