| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Any way to Move a Root Category (& Sub Categories) to a Sub Category? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Any way to Move a Root Category (& Sub Categories) to a Sub Category?
Hi Everyone,
Just wondering how (or if it's possible) to Move a Root Category (& Sub categories under it) to a Sub Category. IE: Currently: -Category 1 --Sub 1 --Sub 2 -Category 2 Proposed: -Category 2 --Category 1 ---Sub 1 ---Sub 2 Thanks in Advance!
__________________
X-Cart 5 Business |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Any way to Move a Root Category (& Sub Categories) to a Sub Category?
Hi!
Sorry, but there is no way to move categories in X-Cart 5 at the moment. You can create new category structure and then remove old ones in order to achieve needed result. Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#3
|
|||||||
|
|||||||
Re: Any way to Move a Root Category (& Sub Categories) to a Sub Category?
Added my idea to an existing idea
http://ideas.x-cart.com/forums/229428-x-cart-5-x/suggestions/4860287-move-category
__________________
X-Cart 5 Business |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Any way to Move a Root Category (& Sub Categories) to a Sub Category?
Thank you!
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Any way to Move a Root Category (& Sub Categories) to a Sub Category?
Hi,
If you OK with doing some hacks, this may help you. NOTE: these hacks may crash your website. So, please CREATE A BACKUP of your site and TRY THE HACKS ON A LOCAL COPY of your website before uploading changes to your "live" server. 1. Use PHPMyAdmin or the MySQL console and search the xc_categories table for the category where you want to move other categories into. Remember its id. 2. In the xc_categories table, update categories which you want to move and set their parent_id to the id of the category from the 1st step. 3. Create and run (from the SSH console, or from your browser) the following script from the directory where X-Cart is installed: Code:
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#6
|
|||||||
|
|||||||
Re: Any way to Move a Root Category (& Sub Categories) to a Sub Category?
Works a Treat!
Thank you!
__________________
X-Cart 5 Business |
|||||||
|
|||
X-Cart forums © 2001-2020
|