Page 1 of 1

error for user type

Posted: 27 Dec 2022, 16:19
by amax2
I have two types of users, private and reseller.
The reseller sees the discount.
the problem arises when the purchase is concluded, the proven one manages to close the cart.
The dealer, on the other hand, gets this type of error

Code: Select all

0 Call to undefined method TablePhocacartOrderTotal::getErrorMsg()
I do not know what to do

Re: error for user type

Posted: 27 Dec 2022, 16:35
by amax2
the problem is the discount.
If I unpublished the discount I have no problem

Re: error for user type

Posted: 27 Dec 2022, 17:05
by amax2
I found a previous post and following the directions I fixed it.
The problem lies in the decimals of the currency, you have to use 3 decimals.
However, this is a problem because with euros it is not correct to insert three decimals.

Re: error for user type

Posted: 28 Dec 2022, 00:33
by Jan
Hi, which version of Phoca Cart do you use?

Please enable debug mode and paste here the whole error message including trace (including file and line of the error)

Jan