Is it possible to create two catagories in opencart.
thets say for example a clothes shop that caterd for men and woman
one catagorie would have clothes for woman, and then a second catagorie for mens clothes
[example]
----------------
womans section
----------------
.tshirts
.jeans
.shoes
.jewlery
.bags
----------------
mens section
----------------
.tshirts
.jeans
.shoes
.watches
.bags
would be great if i could get some pointers on getting to do this.
Do you mean categories with sub categories? Open Cart can do that.
First create the top level category eg Women's and Men's
Then click on the folder on the left of the category in the list of categories. This will enable you to create the sub categories.
The trick is knowing that the folder on the left is the way into creating sub categories
First create the top level category eg Women's and Men's
Then click on the folder on the left of the category in the list of categories. This will enable you to create the sub categories.
The trick is knowing that the folder on the left is the way into creating sub categories
im after a way to have 2 seperate main catagorie boxes, i have seen this done with 1 shop in the live shop section. and have seen it done with zencart and virtuamart.
i dont mind having to play around with php just dont no which files to start with
i dont mind having to play around with php just dont no which files to start with
Do you mean like Category - Men on the left side and Category - Women on the right side? Completely separate in 2 different boxes?
You could copy all the category files and make the new one category2
To start with, you'll need:
/catalog/extension/module/category.php
/catalog/language/extension/module/category.php
/catalog/template/default/extension/module/category.tpl
make clones of those and name them category2.php, etc
Then you will need to edit the sql in the extension/module/category2.php to only pull back categories that have some sort of identifier (perhaps the id of the Women category). Make the same, opposite change in the extension/module/category.php file to only pull back the Men category.
Then you will get to the next step of adding the admin section to enable the module
You could copy all the category files and make the new one category2
To start with, you'll need:
/catalog/extension/module/category.php
/catalog/language/extension/module/category.php
/catalog/template/default/extension/module/category.tpl
make clones of those and name them category2.php, etc
Then you will need to edit the sql in the extension/module/category2.php to only pull back categories that have some sort of identifier (perhaps the id of the Women category). Make the same, opposite change in the extension/module/category.php file to only pull back the Men category.
Then you will get to the next step of adding the admin section to enable the module
Could it be done with css
?
We already have a menu with subcats beneath
All that is required is to make it look like a different box underneath (unless you want them placed elsewhere)
Can css be used to make it look like it's in a different box ?

We already have a menu with subcats beneath
All that is required is to make it look like a different box underneath (unless you want them placed elsewhere)
Can css be used to make it look like it's in a different box ?
Do you have the link so we can see what you mean ?amc wrote: i have seen this done with 1 shop in the live shop section.
Who is online
Users browsing this forum: No registered users and 1 guest