Answer the question
In order to leave comments, you need to log in
How to properly implement product pricing in Opencart?
The product has additional fields "surcharge" and "discount".
Price=(Price*surcharge)-(Price*Discount).
The price is formed in the controller, but this is not correct, so now there are problems with filtering the goods.
How to implement it in the model?
Answer the question
In order to leave comments, you need to log in
It's not entirely clear what you mean. Do you have additional columns in the database or what?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question