| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Move/copy category structure? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have a category that I have populated with subcategories and products. I want to create another category that is basically a carbon copy of the existing category structure with only the top level name changed.
Is there a way of copying the existing category structure and renaming it? Or is there a way of getting a category link on the category menu to point to another categoryid? So, for instance, I could have, "Spares and Accessories" and "Accessories and Spares" pointing to a single category? I would simply add the products to an additional category if they weren't also in different and multiple categories so I can't multiple do the multiple select update thing ![]() I've tried code in categories.tpl with: {if $categories[cat_num].categoryid eq 100}<a href="home.php?cat=50">{$categories[cat_num].category}</a>{/if} but all that does is create two category entries...any help greatly appreciated. Thanks Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#2
|
|||||||
|
|||||||
![]() OK, I sorted this myself quite simply.
Basically, I wanted to have two separate links in the left hand side category menu pointing to only one category. I did this by editing skin1/customer/categories.tpl and put an if statement in to read: Code:
In this example I'm hardcoding the link to the "Shoes" category so that it points to category 5 (which is the existing category of "Shoes and Trainers", hence the need to have two links to it in the menu). The link appears after category 3 is displayed. Although this is a low level manual hack it does the job! Dan
__________________
4.4.2 and 4.6.1 |
|||||||
|
|||
X-Cart forums © 2001-2020
|