I’m developing an integration on a opencart site with an hardcoded solution for calculate a cost of a product according to some input like height width and quantity and other some hidden value.
so
I’m trying to edit the add action for the cart to manage the sub-total in this specific circustance.
so I find in /catalog/controller/checkout/cart.php the this method:
$this->cart->add($this->request->post['product_id'], $this->request->post['quantity'], $option);
This action is in both of the cart controller page, index and update, but where is it the “add” method?
Thanks
You can find the method in
Be sure to make backups before editing, as its a core file