How to divide the categories and subcategories of goods?

bamse

No avatar

2008-08-26 15:10

Give how to make that category of goods were on the top menu, and subcategories in the right-side menu. v.1.4

» Quick.Cart v1.x

bamse

No avatar

2008-08-26 15:11

link preview http://imageshost.ru/links/ddf3e910edcbf171dc28404a7196bc98

Frans123

Avatar: Frans123

2008-08-26 20:47

Hey Bamse,

Are you sure you want to start with Quick.Cart 1.x ?
This version is way outdated.
I think you better the latest version: 3.1

Frans

bamse

No avatar

2008-08-26 23:44

Frans123, have old internet projects in this version:)
Designed with version 1.4 to 3.1 lacking knowledge as to move:)


And still the question. How can I do to have another sub-subcategories have been in version 1.4?

Makaron

Avatar: Makaron

2008-08-27 09:51

In this version of script it will be very hard to do..

bamse

No avatar

2008-08-27 18:05

Give please as it is then implemented in version 3.0? :)

beholder

Avatar: beholder

2008-08-28 00:20

see the demo for yourself, you can even try it in the admin section. It's hard to understand what you want, Bamse, your English is bad.

Makaron

Avatar: Makaron

2008-08-28 10:51

bamse You can try in this way..
1. Edit config/lang_en.php and change:

$aMenuTypes[1] = 'Top menu above logo';
$aMenuTypes[2] = 'Top menu under logo';
$aMenuTypes[3] = 'Categories';
$aMenuTypes[4] = 'Producers';
$aMenuTypes[5] = 'Hidden page';


ex for:

$aMenuTypes[1] = 'Top menu above logo';
$aMenuTypes[2] = 'Top menu under logo';
$aMenuTypes[3] = 'Subcategories 1';
$aMenuTypes[4] = 'Subcategories 2';
$aMenuTypes[5] = 'Hidden page';
$aMenuTypes[6] = 'Subcategories 3';
$aMenuTypes[7] = 'Subcategories 4';


2. After that in the same file add this:

$aPagesTypes = Array( => 3=> 4'page_ID' => 'Type of left menu' );


This code includes information about which page should displaing which menu. In example page with ID=1 will display "Subcategories 1" menu and page with ID=2 will display "Subcategories 2" menu.. You have to first add some pages and after that connect them with types of menu.

3. Edit templates/themes/default.php and change:

$sMenu3 $oPage->throwMenu'menu_3.tpl'3$iContent);
  
$sMenu4 $oPage->throwMenu'menu_4.tpl'4$iContent);


for:

if( isset( $aMenuTypes[$iContent] ) )
    
$sMenuLeft $oPage->throwMenu'menu_left.tpl'$aMenuTypes[$iContent], $iContent);


4. Change name templates/menu_3.tpl for templates/menu_left.tpl, delete templates/menu_4.tpl and in templates/container.tpl delete variables $sMenu3 i $sMenu4 and in place of them paste variable $sMenuLeft

Last thing which You have to do is change templates/menu_left.tpl for Your needs. Should works fine..

Back to top
about us | contact