Post by racingleopard » Tue May 03, 2016 11:38 pm

Hi,

I am looking at this file
$this->cart->update($this->request->post['key'], $this->request->post['quantity']);
in api/cart.php line 91. I would like to know which function is actually being called. Is there any easy way to find this ?

Newbie

Posts

Joined
Tue May 03, 2016 11:16 pm

Post by villagedefrance » Wed May 04, 2016 12:02 am

These are System Library Classes functions, not model functions.

"$this->cart->update($key, $quantity);" can be found in: system > library > cart > cart > cart.php

Be careful when modifying system files, as changes in there can have serious consequences.

OpenCart custom solutions @ https://villagedefrance.net


User avatar
Active Member

Posts

Joined
Wed Oct 13, 2010 10:35 pm
Location - UK

Post by racingleopard » Wed May 04, 2016 10:43 am

Thanks for the help.

Newbie

Posts

Joined
Tue May 03, 2016 11:16 pm
Who is online

Users browsing this forum: No registered users and 21 guests