Tuesday, April 8, 2014

Getting Started with OpenCart Module Development


A
Add Module button effects  16
admin folder
changes  55 featured.php file, exploring  50-52 featured.tpl file, exploring  52 modifications  7, 8 admin module
language files, creating  16
admin section
controller, creating  17-22 controller file, creating at  71-92 files creating, for feedback  64 language file, creating at  64, 89 model file, creating at  65-71 template file, creating at  22-26, 78-92
affiliate  31, 32
C
cache  33 captcha  33, 34 cart  34, 35 cart file
modifications, at frontend  93
catalog folder
changes  55, 57 featured.php file, exploring  53, 54 modifications  8, 10
catalog folder frontend model file, creating at  81 catalog (frontend) module
controller file, creating for  27, 29 language file, creating for  27
Index
template file, creating for  29, 30
code, Featured module
exploring  49
config  35 controller creating, in admin section  17-22
controller file
creating, at admin section  71-92 creating, at frontend  82-88
creating, for catalog (frontend) module  27,
29 currency  36, 37 customer  37-39
D
database  39 database tables for feedback  61- 63
document  40, 42
E
encryption  42
F
Featured module code, exploring  49 featured.php file under catalog folder, exploring  53
featured.tpl file under admin folder, explor-
ing  52
in OpenCart 1.5.5.1, configuring  48, 49
featured.php file
under admin folder, exploring  50-52 under catalog folder, exploring  53, 54 featured.tpl file under admin folder, exploring  52
feedback
about  61 database tables  61-63 files, creating for admin section  64
frontend
cart file, modifications  93, 94 controller file, creating at  82-85 language file, creating at  82 template file, creating at  85-87
G
getForm() function  78 getList() function  74
Global library methods affiliate  31, 32 cache  33 captcha  33, 34 cart  34, 35 config  35 currency  36, 37 customer  37, 39 database  39, 40 document  40-42 encryption  42 language  43 length  43 log  44 mail  44 pagination 44 request  45 response  45 session  45 tax  45 URL  46
user  46, 47 weight  47
H
Hello World Content field  11, 12
Hello World module creating  5, 6
L
language  43 language file
creating, at admin section  64, 89 creating, at frontend  82 creating, for admin module  16 creating, for catalog (frontend) module  27
length  43 log  44
M
mail  44 model file
creating, at admin section  65-71 creating, at catalog folder frontend  81
Model View Controller (MVC) language pattern  5 module
Add Module button, effects  16 admin folder, modifications  7, 8 catalog folder, modifications  8-10 configuring  11, 13 Hello World module, creating  5, 6 installing  10 layouts  13, 14 positions  14
same module, displaying in different layout
15 sort order  15 status  15 uninstalling  16
O
oc_feedback_description table  62 oc_feedback_to_store table  62 off-site payment  58 on-site payment  58 OpenCart  5
OpenCart 1.5.5.1
Featured module, configuring  48, 49 Order Total module  58, 59

P                                                    Tips module
about  88
pagination  44                                                                cart file at frontend, modifications  93
payment module              controller file, creating at admin section  about  57                89-92
off-site payment  58                                                    language file, creating at admin section  89
on-site payment  58                                                       shopping cart page to show tips, 
positions, module                                                                   modifications  94
column bottom  14 template file, creating at admin section  92 column left  14
column right  14                                                          U
column top  14
uninstall()  16
R                                                   update function  73
URL  46
request  45           user  46 response  45
V S
validateForm()function  78
session  45
shipping module              about  54
admin folder, changes  55 weight  47 catalog folder, changes  55, 57
shopping cart page
to show tips, modifications  94
sort order  15
T
tax  45 template file
creating, at admin  22-27 creating, at admin section  92
creating, for catalog (frontend) module  29,
30 creating, for form  78-80 creating, for list  78-80

2 comments: