Hi, i am slowly learning to make custom modules with events, its fun
On the product page i like to retrive the product price including tax and also add options-price to total price when selected.
I can get the "tax_class_id" like this $product_info['tax_class_id'] but how do i get the rate? Is there a readymade way to get the tax for a product?
https://snaptube.cam/ 9apps
Also, is there a detailed documentation data and methods? A listing of avalible content i for example "$product_info[]", and a list of other containers like "$product_info[]"?
It's not as fun when the OC version is not posted.Jassim1 wrote: ↑Fri May 07, 2021 7:01 amHi, i am slowly learning to make custom modules with events, its fun
On the product page i like to retrive the product price including tax and also add options-price to total price when selected.
I can get the "tax_class_id" like this $product_info['tax_class_id'] but how do i get the rate? Is there a readymade way to get the tax for a product?
Also, is there a detailed documentation data and methods? A listing of avalible content i for example "$product_info[]", and a list of other containers like "$product_info[]"?
How to get the rate? Look in the codes for:
Code: Select all
$this->tax->getRates
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester