-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
717 lines (627 loc) · 44.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Simple Stock Manager is web based inventory managment tool that is suitable for small and medium businesses/organization who can't afford expense solutions to manage their inventory.">
<title>Simple Stock Manager Documentation</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="wrapper">
<div class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand">Simple Stock Manager Guide</a>
<button href="#menu-toggle" id="menu-toggle" type="button" class="navbar-toggle">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<ul class="nav navbar-nav navbar-right hidden-sm hidden-xs">
<li><a target="_blank" href="http://support.tecdiary.com/">Paid Support</a></li>
<li><a target="_blank" href="http://codecanyon.net/item/simple-stock-manager/2736749?ref=Tecdiary">Buy SSM</a></li>
</ul>
</div>
</div>
<div id="sidebar-wrapper">
<ul class="sidebar-nav nav">
<li class="sidebar-brand"><a href="#">Stock Manager</a></li>
<li><a class="scroll-to" href="#install">Install Guide</a></li>
<li><a class="scroll-to" href="#update">Update Guide</a></li>
<li><a class="scroll-to" href="#demo">Demo</a></li>
<li><a class="scroll-to" href="#credit">Credits</a></li>
<li><a class="scroll-to" href="#faqs">FAQs</a></li>
<li><a class="scroll-to" href="#guide">User Guide</a></li>
<li><a class="scroll-to" href="#others">Others</a></li>
</ul>
</div>
<div id="page-content-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="jumbotron">
<h1 class="text-center">Simple Stock Manager</h1>
<p class="text-center">Simple Stock Manager is web based inventory management tool designed for small and medium businesses/organization who can't afford expense solutions to manage their inventory.</p>
<p class="text-center">Documentation Version 1.0</p>
</div>
<div class="set" id="install">
<div class="set-description">
<h3>Installation Instruction</h3>
<p>Requirements: Apache 2.2+, Mysql 5.4+, PHP 5.4+ </p>
<ol>
<li>Copy/Upload the folder and files to your web server using cPanel or FTP</li>
<li>If you are installing in sub folder, please make sure there is no space in folder names</li>
<li>Create mysql database, database user and grant all permission to user for this database.</li>
<li>Open the <strong><code>http://yourdomain.com/pathtoupload/install/index.php</code></strong></li>
<li>Step 1: Pre-install system checklist - If there is any issue with checklist, you will need to fix it first to proceed to next step.</li>
<li>Step2: Provide you Envato Username and Purchase Code to validate the purchase.</li>
<li>Step 3: Provide the database host, database user, database password and database name to proceed to next step. <code>Please make sure you don't have $ sign in your password.</code></li>
<li>Step 4: Site Config: Please Fill in you Simple Stock Base URL and select your timezone. <code>You must check the site url as installer might guess it wrong</code>
<ul>
<li>Base URL for public_html or www/htdocs folder will be <code>http://yourdomain.com/</code> or <code>http://localhost/</code></li>
<li>Base URL for sub-domain will be <code>http://subdomain.yourdomain.com/</code> </li>
<li>Base URL for sub-folder will be <code>http://yourdomain.com/subfolder/</code> or <code>http://localhost/subfolder/</code> </li>
<li>Base URL must not have space and it should end with a trailing slash</li>
</ul>
</li>
<li>If every thing goes smooth, You will be redirect to final page with login details.</li>
<li>Remove the install folder.</li>
<li>Login using default username and password and add new admin user before editing/delete the default user.</li>
<li>Simple Stock Manager is ready to use.</li>
</ol>
<h4>Request Installation</h4>
<p>We will provide the service to install the item for $10.00 To request the installation, please send $10 to [email protected] by Paypal or Skrill and email us your license file and hosting control panel details with reference of your payment to [email protected]</p>
</div>
</div>
<div class="set" id="update">
<div class="set-description">
<h3>Update Instruction (from 2.0.x to latest)</h3>
<p>Requirements: Apache 2.2+, Mysql 5.4+, PHP 5.4+ </p>
<ol>
</li>
<li>Extract the downloaded file.</li>
<li>Copy 2.0.x/app/config/migration.php, paste and replace the old file in yourinstallationdirectory/app/config/</li>
<li>Copy 2.0.x/themes, paste and replace the old folder in yourinstallationdirectory/</li>
<li>Copy
<ol>
<li>2.0.x/app/controllers</li>
<li>2.0.x/app/core</li>
<li>2.0.x/app/helpers</li>
<li>2.0.x/app/language</li>
<li>2.0.x/app/libraries</li>
<li>2.0.x/app/migrations</li>
<li>2.0.x/app/models</li>
</ol>
Paste and replace the old folders in yourinstallationdirectory/app/</li>
<li>There is no db change, so you are done. </li>
</ol>
</div>
</div>
<div class="set" id="demo">
<div class="set-description">
<h3>Live Demo For Simple Stock Manager V2.0</h3>
<h4>Demo Link: <a href="http://ssm.tecdiary.my/" target="_blank">http://ssm.tecdiary.my/</a></h4>
<h4>Login Details:</h4>
<div class="smallshow">
<p><pre><strong>Role: Username Password</strong><br><strong>Admin:</strong> [email protected] 12345678<br><strong>Sales staff:</strong> [email protected] 12345678</pre></p>
</div>
</div>
</div>
<div class="set" id="credit">
<div class="set-description">
<h3>Credits</h3>
<h4>Thanks to all great people who are developing open source software.</h4>
<ul>
<li><strong>CodeIgniter</strong> - PHP-Framework under <a href="http://www.codeigniter.com/userguide3/license.html">MIT License</a></li>
<li><strong>Ion_auth</strong> - A simple, lightweight authentication library by Ben Edmunds under the Apache License v2</li>
<li><strong>Bootstrap</strong> - Most popular HTML, CSS, and JS framework under MIT License</li>
<li><strong>jQuery</strong> - A fast, small, and feature-rich JavaScript library under MIT License</li>
<li><strong>Font Awesome</strong> - The iconic font and CSS toolkit under GPL License.</li>
<li><strong>DataTables</strong> - A plug-in for the jQuery under two licenses: GPL v2 license or a BSD (3-point) License</li>
<li><strong>Zend Framework 1</strong> (barcode library) - under New BSD License</li>
<li><strong>jQuery Cookie</strong> - A simple, lightweight jQuery plugin to manage cookies under MIT License</li>
<li><strong>Commercial Licenses</strong>
<ul>
<li>Highcharts</li>
<li>FormValidator</li>
<li>Redactor Text Editor</li>
</ul>
</li>
</ul>
<p></p>
<p><strong>Thanks to all the friends for their suggestions, feedback and help.</strong></p>
</div>
</div>
<div class="set" id="faqs">
<div class="set-description">
<h3>Frequently Asked Questions</h3>
<div class="clear"></div>
<div class="faq">
<div class="faq-items">
<ul id="basics" class="faq-group">
<li class="faq-title"><h4>General</h4></li>
<li>
<a class="default">How to enable HTTPS support?</a>
<div class="faq-content">
<p>You can easily enable https by editing the 2 lines in config file (<code>app/config/config.php</code>) as following:
<ol>
<li>Update base url from <code>http://yoursite.com</code> to <code>https://yoursite.com</code></li>
<li>Set <code>$config['cookie_secure']</code> to TRUE</li>
</ol>
</p>
</div>
</li>
<li>
<a class="default">Can I modify the item?</a>
<div class="faq-content">
<p>Yes, you can modify the script as per your needs and license.</p>
<p>
We offer <a href="http://codecanyon.net/licenses/terms/regular" target="_blank">Regular License</a> only that allows you to use the Item to create one single End Product for yourself or for one client (a “single application”). If you have more then once clients, you will need to purchase separate license for each client.
</p>
<p>
You can <a href="http://codecanyon.net/licenses/faq">visit this link to licensing faqs</a> page of Evnato marketplace.
</p>
</div>
</li>
<li>
<a class="default">Can I manage multiple stores?</a>
<div class="faq-content">
<p>No, you can only manage 1 store with single installation. If you have more that 1 stores and want to use for all, you will need to purchase separate license for each store.</p>
</div>
</li>
<li>
<a class="default">Can I white label it to have my company name?</a>
<div class="faq-content">
<p>Yes, you can. Please update the settings with site name.</p>
</div>
</li>
<li>
<a class="default">How can I translate into other language?</a>
<div class="faq-content">
<p>You can easily add new languages to Simple Stock Manager. Please <a class="scroll-to" href="#language">click here</a> to jump to guide.</p>
</div>
</li>
<li>
<a class="default">Can I install this item on localhost with wamp/xampp/easyphp?</a>
<div class="faq-content">
<p>You can install this item on localhost with any web platform xampp, mamp, lamp, wamp or easyphp. Internet connectivity is required for installation to verify the purchase. Once installed, you can use it without Internet.</p>
</div>
</li>
<li>
<a class="default">Does it supports barcode scanners?</a>
<div class="faq-content">
<p>Yes, you can use barcode scanners with this item.</p>
</div>
</li>
<li>
<a class="default">Will I get the full source code?</a>
<div class="faq-content">
<p>Yes, you will get 100% source code including php, js, html and css.</p>
</div>
</li>
<li>
<a class="default">Are you using a PHP Framework for this item?</a>
<div class="faq-content">
<p>Yes, <strong>CodeIgniter</strong> – PHP Framework created by EllisLab and is now a project of the British Columbia Institute of Technology.</p>
</div>
</li>
<li>
<a class="default">How do Simple Stock Manager track inventory?</a>
<div class="faq-content">
<p>
Once you have added the item, you can create check-ins to increase and check-outs to decresase the stock.
</p>
</div>
</li>
<li>
<a class="default">Why I can check-out even if I don't have quantity?</a>
<div class="faq-content">
<p>Once you add the product to order list, the item color will be red if you don't have quantity for the product. But Simple Stock Manager allows you check-out items even if you don't have quantity and will set the quantity to negative.
</p>
</div>
</li>
<li>
<a class="default">Where are the header and footer view files?</a>
<div class="faq-content">
<p>
The header and footer files are in <code>themes/default/views/</code>
</p>
</div>
</li>
<li>
<a class="default">Why barcode images are not showing on print barcode and label page?</a>
<div class="faq-content">
<p>Please check that ini_set function is not disabled. The ini_set function should be enabled to use barcode feature.
</p>
</div>
</li>
</ul>
<ul id="account" class="faq-group">
<li class="faq-title"><h4>Account and Users</h4></li>
<li>
<a class="default">What type of account are available?</a>
<div class="faq-content">
<p>
These are the account type
<ol>
<li>Admin - will have all rigths, and can erform any action. </li>
<li>Staff - will have view and add rights only won't be able to edit any record along with users and settings.</li>
</ol>
</p>
</div>
</li>
<li>
<a class="default">I am Admin and how do I reset the password for sales staff user?</a>
<div class="faq-content">
<p>
Please visit list user and edit the user to reset the password.
</p>
</div>
</li>
<li>
<a class="default">How do I delete account?</a>
<div class="faq-content">
<p>
If you want to delete account for staff member, please visit list users sub menu under people main menu. All the account are listed on this page and you can delete any of them.
</p>
</div>
</li>
</ul>
<ul id="errors" class="faq-group">
<li class="faq-title"><h4>Error</h4></li>
<li>
<a class="default">Why am I getting CloudFlare Security or Blank error on verification while installing the item?</a>
<div class="faq-content">
<p>
If you are not getting any error but blank red alert or CloudFlare Security error mean your request is no reaching to verification server. Please check that you server is not blocking the curl request and secondly there are chances that CloudFlare might be challenging your request due to various reasons. Please check with your host and request them to white list CloudFlare ips <a href="https://www.cloudflare.com/ips" target="_blank">https://www.cloudflare.com/ips</a>
</p>
<p>
Updating your Anti-Virus and Browser might help. You can check with your host too.
</p>
<p>
You can try different host and/or install it locally with any web platform <strong>easyphp/lamp/mamp/wamp/xampp</strong>.
</p>
</div>
</li>
<li>
<a class="default">Why I am getting "no input specified" error after install/update?</a>
<div class="faq-content">
<p>
Please add the ? 'question sign' after index.php in the .htaccess file, you line will be look as <code>RewriteRule ^(.*)$ /index.php?$1 [L]</code>code.
</p>
<p>
For more information, please visit <a href="https://github.com/bcit-ci/CodeIgniter/wiki/Godaddy-Installation-Tips" target="_blank">this guide page</a>.
</p>
</div>
</li>
<li>
<a class="default">Why the installer/update tool is locked?</a>
<div class="faq-content">
<p>
After successfully installation/update, the installer/update tool will be automatically locked.
</p>
<p>
If you having any issue after installation or like to perform the installation again, please upload the files again.
</p>
</div>
</li>
<li>
<a class="default">Why am I getting 404/500 error page after installation?</a>
<div class="faq-content">
<p>
Please
<ol>
<li>make sure that your apache mod_rewite is enabled</li>
<li>check that .htaccess file is successfully uploaded and exists in the main directory of installation</li>
<li>base_url in app/config/config.php</li>
<li>check your database settings in app/config/database.php</li>
<li>check your folders/files permissions (folders should have 755 and files should have 644 permissions).</li>
</ol>
</p>
<p>
If you are using godaddy, please visit the codeigniter official guide <a href="https://github.com/bcit-ci/CodeIgniter/wiki/Godaddy-Installation-Tips" target="_blank">here</a>. You might need to check and modify you .htaccess files too.
</p>
<p>
You can always check your error log to get more information about the issue.
</p>
</div>
</li>
<li>
<a class="default">Why time is different from my computer time?</a>
<div class="faq-content">
<p>
Stock Manager will use your server local time, please check your timezone in index.php and make sure that you have set the correct time zone. You can find your timezone at <a href="http://php.net/manual/en/timezones.php" target="_blank">http://php.net/manual/en/timezones.php</a>
</p>
</div>
</li>
<li>
<a class="default">Why I can't send emails?</a>
<div class="faq-content">
<p>Stock Manager uses php mail function to send emails, if you need any other protocol, please edit app/libraries/tec.php and look for <code>send_email()</code></p>
</div>
</li>
<li>
<a class="default">Why I can't login and getting time out error?</a>
<div class="faq-content">
<p>
Timeout feature has been enabled. The user will be timed out after 3 unsuccessful login attempts for 10 minutes. You can disabled this in app/config/ion_auth.php by changing the
<code>$config['track_login_attempts'] = TRUE;</code>
to
<code>$config['track_login_attempts'] = FALSE;</code>
or you can increase the attempts from 3 to any number you like.
</p>
</div>
</li>
<li>
<a class="default">Why I can't upload any file?</a>
<div class="faq-content">
<p>
This could be due to permission on the /uploads. Please set 777 permission to /uploads and all other folder in the /uploads/
</p>
</div>
</li>
<li>
<a class="default">Why I getting db error and can't login?</a>
<div class="faq-content">
<p>
Please check your db configuration in app/config/database.php
</p>
</div>
</li>
<li>
<a class="default">Can I use this on Windows server with IIS?</a>
<div class="faq-content">
<p>
Yes but we haven't tested this and don't provide any support for setup.
</p>
<p>
If URL Rewrite module is not installed, please install it from here <a href="http://www.iis.net/downloads/microsoft/url-rewrite" target="_blank">http://www.iis.net/downloads/microsoft/url-rewrite</a>. Please check the complete web.config file. Place this in the main installation folder where the index.php is placed.
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration></code></pre>
</p>
</div>
</li>
<li>
<a class="default">Can I use this with NGINX?</a>
<div class="faq-content">
<p>
Yes but we haven't tested this and don't provide any support for setup.
</p>
<p>
You can follow the guide <a href="http://wiki.nginx.org/Codeigniter" target="_blank">http://wiki.nginx.org/Codeigniter</a>. Your nginx.conf file will look like this.
<pre><code>server {
server_name domain.tld;
root /var/www/codeignitor;
index index.html index.php;
# set expiration of assets to MAX for caching
location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ {
expires max;
log_not_found off;
}
location / {
# Check if a file or directory index file exists, else route it to index.php.
try_files $uri $uri/ /index.php;
}
location ~* \.php$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi.conf;
}
location ~ /files {
deny all;
return 404;
}
}</code></pre>
</p>
</div>
</li>
<li>
<a class="default">Why some products are missing from order when I add 100+ products?</a>
<div class="faq-content">
<p>
There is no restriction in Simple Stock Manager on the number of order items. If you are having such issue, please check your php configuration file (php.ini) for <code>max_input_vars</code> and set it to higher number i.e, 10000.
</p>
</div>
</li>
<li>
<a class="default">Why Wordpress showing 404 page when I access the Simple Stock Manager?</a>
<div class="faq-content">
<p>
You can exclude sub-directory from RewriteRule of wordpress by adding the line below to your .htaccess file in main directory of wordpress.
<pre><code>RewriteCond %{REQUEST_URI} !^/(mydir|mydir/.*)$</code></pre>
</p>
</div>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="set" id="guide">
<div class="set-description">
<h3>User Guide</h3>
<img src="images/login.png" alt="SSM" class="img-responsive img-thumbnail"><br><br>
<img src="images/items.png" alt="SSM" class="img-responsive img-thumbnail"><br><br>
<img src="images/check-ins.png" alt="SSM" class="img-responsive img-thumbnail"><br><br>
<img src="images/dashboard.png" alt="SSM" class="img-responsive img-thumbnail"><br><br>
<img src="images/add_check_out.png" alt="SSM" class="img-responsive img-thumbnail"><br><br>
<img src="images/add_by_csv.png" alt="SSM" class="img-responsive img-thumbnail"><br><br>
<img src="images/add_item.png" alt="SSM" class="img-responsive img-thumbnail"><br><br>
<img src="images/settings.png" alt="SSM" class="img-responsive img-thumbnail"><br><br>
</div>
</div>
<div id="big-wrap">
<div id="inner-wrap">
<div class="set" id="others">
<div class="inner-set" id="language">
<div class="set-description">
<h3>Adding Language</h3>
<p>Guide to add new language.
<ul>
<li>Please create new folder in app/language/ and name it <code>yourlanguagename</code></li>
<li>Folder name should be without space and all lower letters.</li>
<li>Copy all the files from app/language/english/ and paste then to app/language/<code>yourlanguagename</code>/</li>
<li>Now you can translate these all file to your language</li>
<li>Download flag image (format: png, width: 16px, height: 11px) and paste it in themes/default/assets/img/</li>
<li>You can add new key to language array. (See Code Section)</li>
</ul>
</p>
<p>
Please replace the <code>yourlanguagename</code> with your language For example, spanish, french, chinese etc
</p>
</div>
<div class="set-dev">
<p>To add select option in setting's language</p>
<p>Please open <code>themes/<strong>default</strong>/views/settings/index.php</code> and search for ( <code>$available_lang =</code> ) You can replace the <code><strong>default</strong></code> with your theme if you are using different theme. You can add new array key for your language as following:<br><br></p>
<pre><code>$available_lang = array(<br> 'english' => 'English', <br> 'yourlanguagename' => 'Your Language Name', <br> );</code></pre>
<p><code>yourlanguagename</code> must be same folder name that you created in app/language/</p>
<p><strong>If you are getting the error "<code>Unable to load the requested language file: language/yourlanguagename/form_validation_lang.php or calendar_lang.php</code>" Then you will need to add your language in lib/language/ as you did above for app/language/ and translate the system language files to your language.</strong></p>
</div>
</div>
</div>
<div class="set">
<div class="inner-set" id="add_column">
<div class="set-description">
<h3>Add/Remove column to table</h3>
<p>Here are the steps to follow</p>
<p><strong>To add a column you will need to</strong></p>
<ol>
<li>Modify the select statement and select the desired column, in the controller.</li>
<li>Add new element to datatables columns (should be in sequence) in the relative view file.</li>
<li>Lastly add the th tag with column heading to table head (should be in sequence).</li>
</ol>
<p><strong>To remove a column you will need to</strong></p>
<ol>
<li>Modify the select statement and remove the desired column, in the controller.</li>
<li>Remove the element form columns of datatables in the relative view file.</li>
<li>Lastly Remove the th tag with column heading to table head.</li>
</ol>
</div>
</div>
</div>
<div class="set">
<div class="inner-set" id="datatable">
<div class="set-description">
<h3>Sorting Tables</h3>
<p>We have used datatables library for all listing tables. If you need to change any table sorting column, you will need to modify the view file.</p>
<p>
The first column of the table will start from index 0 and then increase 1 with each columns. Let say you want to sort the table with 4th column then you will need to use index 3 as <code>"aaSorting": [[3, "asc"]],</code>
</p>
<p>
You can change the sorting for any table by modifying the files as described here.
</p>
</div>
<div class="set-dev">
<p>
For example, if you need to change the sorting for customers, you will need to edit the /theme/default/customers/index.php and search
</p>
<pre><code>"aaSorting": [[0, "asc"]],</code></pre>
<p>This is being sorted for first table column, If you want to sort it by id (2nd table column) then you will need to change as </p>
<pre><code>"aaSorting": [[1, "asc"]],</code></pre>
<p>You even can sort the table with multiple columns as </p>
<pre><code>"aaSorting": [[0, "asc"], [1, "asc"]],</code></pre>
</div>
</div>
</div>
<div class="set">
<div class="inner-set" id="barcode">
<div class="set-description">
<h3>Barcodes and Labels</h3>
<p>Barcode page is designed to be printed with desktop laser printers. Barcode sheet or barcode pages have 2 columns' table (2 product per row and medium barcode image with 60px height). For labels, each label will be printed on different page as most of you will print label with label printers. We don't provide any support for modify the design.</p>
<p>
If you need to modify any of the barcode/label page to show/remove any information, you can do so by modify the products controller. The functions are mentioned that handle the pages.
</p>
</div>
<div class="set-dev">
<p>
Functions/Methods handling the barcodes and labels pages are
<ul class="s-ul">
<li><code class="white">single_barcode()</code> - Handles barcode printing for single products</li>
<li><code class="white">single_label()</code> - Handles label printing for single products</li>
<li><code class="white">print_barcodes()</code> - Handles barcode printing for multiple products based on category</li>
<li><code class="white">print_lables()</code> - Handles label printing for multiple products based on category</li>
</ul>
</p>
<p>File: <code>app/controllers/products.php</code></p>
</div>
</div>
</div>
<div class="set">
<div class="inner-set" id="support">
<div class="set-description">
<h3>Request Installation</h3>
<p>
We will provide the service to install the item for $10.00 To request the installation, please send $10 to [email protected] by Paypal or Skrill and email us your license file and hosting control panel details with reference of your payment to [email protected]
</p>
</div>
<div class="set-description">
<h3>Request Update</h3>
<p>
We will provide the service to update the item from v3 for $20 To request the update, please send $20 to [email protected] by Paypal or Skrill and email us your license file, v3 installation path/link with login details and hosting control panel details with reference of your payment to [email protected]
</p>
</div>
<div class="set-description">
<h3>Custom Modifications</h3>
<p>
Yes, we do provide customization services to modify/enhance the item functionality to suit your needs. We charge $30 per hour. Please email to [email protected] to check availability, estimated cost and time.
</p>
</div>
<div class="set-description">
<h3>Feature Request</h3>
<p>Yes, we would love to listen your requests/feedback. Please prepare the details with examples before emailing to [email protected]</p>
</div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
$("#menu-toggle").click(function(e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
$('body').scrollspy({ target: '#sidebar-wrapper', offset: 80 })
$(".scroll-to").click(function(e) {
e.preventDefault();
var did = $(this).attr('href');
console.log(did);
$('html,body').animate({
scrollTop: (($(did).offset().top)-50)},
'slow');
});
</script>
</body>
</html>