I've created this quick reference list of all the Global library methods that you can use within OpenCart when developing.
It's the closest thing to an API we have.
I will expand at some point with all the model functions as well.
It's the closest thing to an API we have.
I will expand at some point with all the model functions as well.
Good stuff, Q.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Thanks. That's even useful for half-assed hackers.
Free v1.4.9 Extensions: Default Specials | Improved Search | Customer Activity Report | Customer Groups | Royal Mail With Handling | Improved Product Page | Random Products | Stock Report | All Products
Great contribution Q, only just seen this now. Always good to have a cheat sheet to hand
If you want help with getting these into a codex of sorts, let me know. I think this would be really useful to peopleQphoria wrote:Was trying to cram it all into one page and it's a tight fit. I'd like to still put each of these into a codex-like page on the site when I get time, complete with examples and usage description.
I started here:JAY6390 wrote:Great contribution Q, only just seen this now. Always good to have a cheat sheet to handIf you want help with getting these into a codex of sorts, let me know. I think this would be really useful to peopleQphoria wrote:Was trying to cram it all into one page and it's a tight fit. I'd like to still put each of these into a codex-like page on the site when I get time, complete with examples and usage description.
http://www.opencart.com/index.php?route ... path=43_63
But it looks like crap.. I'd like it to look nice like this:
http://codex.wordpress.org/Working_with_WordPress
Excellent resource. Thanks for providing it!
Regarding docs, Is there an area where all the existing docs and other doc resources can be downloaded?
Regarding docs, Is there an area where all the existing docs and other doc resources can be downloaded?
Missing:
USER
$this->user->login()
$this->user->logout()
$this->user->isLogged()
$this->user->getUserName()
$this->user->getID()
$this->user->hasPermission()
USER
$this->user->login()
$this->user->logout()
$this->user->isLogged()
$this->user->getUserName()
$this->user->getID()
$this->user->hasPermission()
Free v1.4.9 Extensions: Default Specials | Improved Search | Customer Activity Report | Customer Groups | Royal Mail With Handling | Improved Product Page | Random Products | Stock Report | All Products
If found some more:
$this->cart->hasShipping - return false if no product in the cart requires shipping
$this->cart->getTaxes - returns the sum of taxes for the cart content
$this->cart->setMinQty - updates all product qty's to the minimum value
$this->cart->hasShipping - return false if no product in the cart requires shipping
$this->cart->getTaxes - returns the sum of taxes for the cart content
$this->cart->setMinQty - updates all product qty's to the minimum value
Who is online
Users browsing this forum: Bing [Bot] and 4 guests