Good reference document for quick solutions.
Highly appreciated.
Highly appreciated.
Team of e-commerce experts.
oscprofessionals
Thank you so very much for this it is a lifesaver1
Donate | Confirm Email when registering or during guest checkout | Print Order Information
Thanks for that Q.
Next question:
Do we actually have some sort of OpenCart Extension Developers Guide yet, to show how to write OC extensions, and integrate them into OC using these methods please?
I've got the OC 1.4 Template Design Cookbook by Packt Publishing but cannot find anything that deals with writing modules to extend OC's functionality.
Next question:
Do we actually have some sort of OpenCart Extension Developers Guide yet, to show how to write OC extensions, and integrate them into OC using these methods please?
I've got the OC 1.4 Template Design Cookbook by Packt Publishing but cannot find anything that deals with writing modules to extend OC's functionality.
As far as I know,this article I wrote on stack overflow is the most in depth guide for developers. It assumes you have some knowledge of PHP/MySQL and while it doesn't explain a "module" as such, it gives you the building blocks to figure out what a module's code is doing and why - and should help you replicate it
Thanks for that link Jay.
I'll take a closer look at that soon.
Is it possible to write an API class with a set of wrapper methods that could be included in the index.php file, and made available to all other PHP scripts in OC?
I'm just toying with the idea of writing something like that.
I'll take a closer look at that soon.
Is it possible to write an API class with a set of wrapper methods that could be included in the index.php file, and made available to all other PHP scripts in OC?
I'm just toying with the idea of writing something like that.
Code: Select all
$this->cart->hasProducts() - returns true if there is at least one item in the cart
$this->cart->hasStock() - returns false if there is at least one item in the cart that is out of stock
$this->cart->hasProducts() - returns true if there is at least one item in the cart that requires shipping
Code: Select all
$this->cart->hasProducts() - returns true if there is at least one item in the cart
$this->cart->hasStock() - returns false if there is at least one item in the cart that is out of stock
$this->cart->hasShipping() - returns true if there is at least one item in the cart that requires shipping
Who is online
Users browsing this forum: No registered users and 122 guests