Jump to content

Property OrderDetail->total_price_tax_excl is not valid


jahyax

Recommended Posts

Good day Prestashop community,

 

Whenever I confirmed my order i get this error

 

[PrestaShopException]
 
Property OrderDetail->total_price_tax_excl is not valid
 
and I am a little bit lost on how to debug this error.
 
I am hoping someone could help through this.
 
 
--
Jahyax
Link to comment
Share on other sites

just an update I find a workaround so that the error would disappear

 

on the OrderDetail.php I change $definition

 

from : 'total_price_tax_excl' => array('type' => self::TYPE_FLOAT, 'validate' => 'isPrice'),

to 'total_price_tax_excl' => array('type' => self::TYPE_FLOAT),

 

and the error disappeared

 

my question now is what is the difference on having the  'validate' => 'isPrice' compared to removing it.

Link to comment
Share on other sites

  • 6 months later...

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...