error for user type

Phoca Cart - complex e-commerce extension
amax2
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Apr 2022, 11:24

error for user type

Post 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
amax2
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Apr 2022, 11:24

Re: error for user type

Post by amax2 »

the problem is the discount.
If I unpublished the discount I have no problem
amax2
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Apr 2022, 11:24

Re: error for user type

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error for user type

Post 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
If you find Phoca extensions useful, please support the project
Post Reply