Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5
» Latest member: davidb
» Forum threads: 13
» Forum posts: 23

Full Statistics

Online Users
There are currently 6 online users.
» 0 Member(s) | 6 Guest(s)

Latest Threads
Little Minx Clothing
Forum: Custom Templates
Last Post: Xav
Yesterday, 06:12 PM
» Replies: 1
» Views: 22
OpenCart v3.0 impressions
Forum: General Discussion
Last Post: Xav
Yesterday, 06:07 PM
» Replies: 2
» Views: 22
OCE v1.10.0 Bugs
Forum: Bug Reports
Last Post: Xav
Yesterday, 06:02 PM
» Replies: 4
» Views: 357
Random Products
Forum: Free Contributions
Last Post: villagedefrance
Yesterday, 10:48 AM
» Replies: 0
» Views: 23
Traductions en Français
Forum: Forum Français
Last Post: villagedefrance
Yesterday, 10:44 AM
» Replies: 0
» Views: 16
Coding Standards
Forum: F.A.Q and Tutorials
Last Post: villagedefrance
07-24-2017, 12:04 PM
» Replies: 0
» Views: 306
Upgrading OCE
Forum: Installation and Upgrades
Last Post: villagedefrance
07-24-2017, 11:35 AM
» Replies: 0
» Views: 312
Installing OCE
Forum: Installation and Upgrades
Last Post: villagedefrance
07-24-2017, 11:23 AM
» Replies: 0
» Views: 67
Poss bug 1.94
Forum: Bug Reports
Last Post: Xav
06-28-2017, 02:25 PM
» Replies: 3
» Views: 898
Github Repository
Forum: General
Last Post: villagedefrance
06-27-2017, 02:51 PM
» Replies: 0
» Views: 3,574

 
  Random Products
Posted by: villagedefrance - Yesterday, 10:48 AM - Forum: Free Contributions - No Replies

A free Random Products module is available in the Extensions.

Get it here: Random module

Print this item

  Traductions en Français
Posted by: villagedefrance - Yesterday, 10:44 AM - Forum: Forum Français - No Replies

OpenCart Overclocked Edition a été traduit en Français.

Deux Packs de Langues sont disponibles dans les extensions: Packs de Langues

Print this item

  OpenCart v3.0 impressions
Posted by: villagedefrance - 08-20-2017, 11:42 AM - Forum: General Discussion - Replies (2)

For those of you following the main branch of OpenCart, here is a little thread to give your opinion on the latest v3.0 release.

What are your personal views about Bootstrap and Twig?

Your general user/developer experience?

Print this item

  Little Minx Clothing
Posted by: villagedefrance - 08-20-2017, 11:32 AM - Forum: Custom Templates - Replies (1)

Here is a Pink template based on the Default theme.

The website is currently running v1.10.0 and has 300+ products listed.

Here is the link: http://littleminxclothing.com/home

Comments are welcome.

Print this item

Information Coding Standards
Posted by: villagedefrance - 07-24-2017, 12:04 PM - Forum: F.A.Q and Tutorials - No Replies

OpenCart Overclocked Edition uses strict coding rules, as follow:

* File types & encoding
* PHP tags
* Indentation
* Spacing
* Whitespace
* New lines
* File naming
* Class & method naming
* Helper naming
* PHP variable naming
* User defined constants
* PHP constants
* HTML / CSS rules

File types & encoding
All PHP files with the exception of view/template files have the extension .php

All view/template files have the extension .tpl

***
PHP Tags
Short PHP opening tags and ASP tags are not supported. The characters should be lowercase.

<?php


All PHP files must include a closing tag for versions before 1.8.1 (and 2.0.0). PHP files in and after 1.8.1 will no longer have a closing tag, but an empty line instead.

?>


***
Indentation
PHP files must be indented using the TAB character. 4 space tabs are not supported.

HTML in template files (.tpl) must be indented using 2 spaces, not 4 spaces or TABS. JavaScript must be indented using the TAB character.

***
Spacing
IF, WHILE, FOR etc should have a space before and after the brackets.

Correct:

if () {

Incorrect:

if(){


ELSE etc should have a space after and before the curly braces

Correct:
} else {

Incorrect:
}else{

Type casting does NOT have a space before the variable

Correct:
(int)$var

Incorrect:
(int) $var


Setting a variable should always have a space before and after the equals sign

Correct:
$var = 1;

Incorrect:
$var=1;


***
Whitespace
After any code, but before a new line - there should be no white space. The same is true for an empty line.

After the closing PHP tag it is extremely important to remove any white space.

***
New Lines

Opening curly braces do not go onto a new line, they will always have a space before and be on the same line.

1 True Brace Style (1TBS) ([WIKI](http://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS))

Correct:

if ($my_example == 1) {

class ModelExampleExample extends Model {

public function addExample() {

} else {

Incorrect:

if ($my_example == 1)
{

class ModelExampleExample extends Model
{

public function addExample()
{

}
else
{


***
File naming
All files should be in lower case and words separated by an underscore.

***
Class & method naming
Class names and method names should be camel case.

Correct:
class ModelExampleExample extends Model

public function addExample()

Incorrect:

class model_exampleexample extends Model

public function add_example()


A method scope should always be cast.

Correct:
public function addExample()

Incorrect:
function addExample()


***
PHP Function (helpers) naming
Helper function names should be lower case and an underscore used to separate words.

***
PHP variable naming
PHP variables should be lower case and an underscore used to separate words.

Correct:
$var = 123;
$new_var = 12345;

Incorrect:
$Var = 123;
$newVar = 12345;


***
User defined constants
User defined constants are set as upper case.

Correct:
define('MY_VAR', 'My constant string value');

Incorrect:
define('my_var', 'My constant string value');

***
PHP constants
These types of constant (true,false,null) are set as lower case

Correct:
$my_var = true;

Incorrect:
$my_var = TRUE;

***
HTML / CSS rules
Class names and id's should be hyphenated and not use an underscore

Correct:
class="my-class"

Incorrect:
class="my_class"

Print this item

  OCE v1.10.0 Bugs
Posted by: villagedefrance - 07-24-2017, 11:47 AM - Forum: Bug Reports - Replies (4)

Please report possible bugs in version 1.10.0.0 here.

Print this item

Information Upgrading OCE
Posted by: villagedefrance - 07-24-2017, 11:35 AM - Forum: Installation and Upgrades - No Replies

----------------------------------------------------------------------------------------------------------------------
THIS IS FOR UPGRADING EXISTING OPENCART 1.5.x, 1.6.x, 1.7.x, 1.8.x, 1.9.x STORES ONLY!
----------------------------------------------------------------------------------------------------------------------

1. BACKUP YOUR EXISTING STORE FILES AND DATABASE!!
- Backup your database via your store Admin->System->Backup
- Backup your files using FTP file copy or use cPanel filemanager to create a zip of all the existing OpenCart files and folders.

2. Download the latest version of OpenCart Overclocked Edition and upload ALL new files on top of your current install EXCEPT your config.php and admin/config.php. If you are up-to-date with the last recent version and want to find just the new files that have changed since the last version, you can follow this guide to create a smaller changes-only patch. But for most, the full OpenCart Overclocked Edition zip will suffice.

3. Browse to http://<yourstore.com>/install Replacing <yourstore.com> with your actual site (and subdirectory if applicable).

4. You should see the OpenCart Overclocked Edition Upgrade script.
- If you see the OpenCart Overclocked EditionInstall page, then that means you overwrote your config.php files. Restore them from your backup first. Then try again.

5. Click "Upgrade". After a few seconds you should see the upgrade success page.
- If you see any errors, report them immediately in the forum before continuing.

6. Clear any cookies in your browser.

7. Goto the admin side of your store and press Ctrl+F5 a couple of times to refresh your browser cache. That will prevent oddly shifted elements due to stylesheet changes.
Login to your admin as the main administrator.

8. Goto Admin->Users->User Groups and Edit the Top Administrator group. Check All boxes.
- This will ensure you have permissions for all the new files.

9. Goto Admin->System->Settings
- Update any blank fields and click save.
Even if you do not see any new fields, click save anyway to update the database with any new field names.

10. Other Adjustments that may need to be made, depending on which version you are upgrading from and to.

11. Load the store front and again press CTRL+F5 a couple of times to refresh your browser cache. That will prevent oddly shifted elements due to stylesheet.

Note that some of your vQmod scripts may need to be updated for the new core changes.
So run through your site catalog and admin areas and check in FTP for the vqmod/vqmod.log file.
If you see errors, then you will need to address them.


Troubleshooting:
------------------------------
1. If you have any upgrade script errors, post them in the forum
2. If you have 3rd party addon errors, contact the mod author for an update.
3. If you find bugs, check the "official" bug thread for this version of Opencart Overclocked Edition.

Many bugs may have already been reported and fixes will be offered in the first post of this thread.
You should always visit this thread immediately after a fresh upgrade to see if there are any immediate bug fixes
If nobody has reported your bug, then please report it.


That's It!

Print this item

Information Installing OCE
Posted by: villagedefrance - 07-24-2017, 11:23 AM - Forum: Installation and Upgrades - No Replies

--------------------
CLEAN INSTALL
--------------------
These instructions are for a manual installation using FTP, cPanel or other web hosting Control Panel.

- Linux Install -
------------------
1. Upload all the files and folders to your server from the "Upload" folder. This can be to anywhere of your choice. e.g. /public_html or /public_html/store

2. Rename config-dist.php to config.php and admin/config-dist.php to admin/config.php

3. For Linux/Unix make sure the following folders and files are writable.

    chmod 0755 or 0777 image/
    chmod 0755 or 0777 image/cache/
    chmod 0755 or 0777 cache/
    chmod 0755 or 0777 download/
    chmod 0755 or 0777 config.php
    chmod 0755 or 0777 admin/config.php

    If 0755 does not work try 0777.

4. Make sure you have installed a MySQLi Database which has a user assigned to it.
    DO NOT USE YOUR ROOT USERNAME AND ROOT PASSWORD

5. Visit the store homepage e.g. http://www.example.com or http://www.example.com/store/

6. You should be taken to the installer page. Follow the onscreen instructions.

7. After successful install, the /install/ directory will be automatically deleted for security reasons.


- Windows Install -
-----------------------
1. Upload all the files and folders to your server from the "Upload" folder. This can be to anywhere of your choice. e.g. /wwwroot/store or /wwwroot

2. Rename config-dist.php to config.php and admin/config-dist.php to admin/config.php

3. For Windows make sure the following folders and files permissions allow Read and Write.

    image/
    image/cache/
    cache/
    download/
    config.php
    admin/config.php

4. Make sure you have installed a MySQLi Database which has a user assigned to it.
    DO NOT USE YOUR ROOT USERNAME AND ROOT PASSWORD

5. You should be taken to the installer page. Follow the onscreen instructions.

6. After successful install, the /install/ directory will be automatically deleted for security reasons.


- Local Install -
------------------
There are many all-in-one webservers out there and most of them should work with OpenCart out of the box. Some examples...

https://www.apachefriends.org/index.html
http://www.wampserver.com/en/
https://www.mamp.info/en/

Print this item

  Poss bug 1.94
Posted by: Xav - 06-28-2017, 12:30 PM - Forum: Bug Reports - Replies (3)

Hello,

I am using OCE 1.94, upgraded from 1.93 (and possibly from earlier ones).

Just looking at  Reports->Sales->Orders and there is nothing there when I put in a date range, despite having orders in the chosen period.

(Also same as with 1.93, it hasn't updated the region list to include London as an option).

regards,

Xav

Print this item

  Github Repository
Posted by: villagedefrance - 06-27-2017, 02:51 PM - Forum: General - No Replies

Opencart Overclocked Edition latest code is available at anytime.

Github Repository: https://github.com/villagedefrance/OpenCart-Overclocked

As the code evolves all the time, try to stick preferably to the published Releases as this can be easier to manage if you require support later on.

BETA and RC (Release Candidate) versions are suitable only for testing and developping.
Feel free to download them but I wouldn't recommend them for production use.

You can contribute to the project by Watching it, Starring it or Forking it.

If you find bugs or typos do not hesitate to open a new issue.

If you have made an improvement to the code, you can also submit a pull-request.

Not all issues can be fixed and not all pull-requests can be accepted, but all will be verified and not ignored.

Being a Community project means everybody can be part of it, so don't hold back!

Print this item