| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
moving root category description to first page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
moving root category description to first page
Hi
I have created 3 root categories and able to get on the first page now I want to get their description right below the name of that root categories I can see that there is category_description.tpl which display the category however when i put that code under subcategories>>Icon>>body.tpl it shows the main banner. Attached is the screen shot
__________________
i am using New PHP and MYSQl i=on new server... the problem is FRENCH is not working properly .. can anyone help?? also if i want to upgrade my licence version of X cart to new one... how can i do that keeping same layout and DB.. my store is very very busy |
|||||||
#2
|
|||||||||
|
|||||||||
Re: moving root category description to first page
Please could you give a bit more information on what you did?
Did you create a custom module? Or do you use the Custom Skin module? What code and how did you put into body.tpl? And where is that body.tpl file located?
__________________
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 |
|||||||||
#3
|
|||||||
|
|||||||
Re: moving root category description to first page
In x cart5.2.5 default design.. the root category is on first page with thumbnail. which is fine, . Now under neath that category name I want description of that category. just lke shown in my screen shot. how to get it?
Thanks
__________________
i am using New PHP and MYSQl i=on new server... the problem is FRENCH is not working properly .. can anyone help?? also if i want to upgrade my licence version of X cart to new one... how can i do that keeping same layout and DB.. my store is very very busy |
|||||||
#4
|
|||||||||
|
|||||||||
Re: moving root category description to first page
Quote:
What version of X-Cart are you using? |
|||||||||
#5
|
|||||||
|
|||||||
Re: moving root category description to first page
I have clearly mentioned that above, I am using X-cart5.2.5
__________________
i am using New PHP and MYSQl i=on new server... the problem is FRENCH is not working properly .. can anyone help?? also if i want to upgrade my licence version of X cart to new one... how can i do that keeping same layout and DB.. my store is very very busy |
|||||||
#6
|
|||||||||
|
|||||||||
Re: moving root category description to first page
You should:
1. Create a custom module (or use the CustomSkin module directory) 2. Add a new "skin" 3. Duplicate the skins/default/en/subcategories/icons/body.tpl file in your skin directory (make sure the path is correct) to make it replace the original one. 4. Edit the file there and add the code to display the category description below the icon. You can use these tutorials/guides as the reference: - http://kb.x-cart.com/display/XDD/Basic+guide+to+theme+creation - http://kb.x-cart.com/display/XDD/Building+a+custom+skin+in+X-Cart+5%3A+Tutorial+by+Mike+White
__________________
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 |
|||||||||
#7
|
|||||||
|
|||||||
Re: moving root category description to first page
Yes Alex I did the same thing that you mentioned. Now please check what i want to achieve.
1) I went to admin panel and added some description for 3 root category 2) To show that description on home page below the Category Under Subcategory>Icon>body.tpl what code should I add to display what I have written under root category? So according to my screenshot above, under category 1, it should display the description of category 1, similarly under category 2 it should have description of category2 thanks in advance
__________________
i am using New PHP and MYSQl i=on new server... the problem is FRENCH is not working properly .. can anyone help?? also if i want to upgrade my licence version of X cart to new one... how can i do that keeping same layout and DB.. my store is very very busy |
|||||||
#8
|
|||||||||
|
|||||||||
Re: moving root category description to first page
I'm sorry, but I do not understand what you mean here:
Quote:
The exact code depends on the file where you need to display the category description. What is the full path to the file that you are going to edit? If the category model is available in the template file already, you may try to do something like this: 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 Last edited by qualiteam : 07-20-2015 at 12:33 AM. |
|||||||||
#9
|
|||||||
|
|||||||
Re: moving root category description to first page
this is the location of file (Subcategory>Icon>body.tpl
when I write code as you mentioned above on the home page where I pulled root categories, it shows the HOME PAGE description not what I have written for category. Again i want to show description under the category icon (for example category1 ICON should have description for category1, category2ICOn should have category2 description under neath)
__________________
i am using New PHP and MYSQl i=on new server... the problem is FRENCH is not working properly .. can anyone help?? also if i want to upgrade my licence version of X cart to new one... how can i do that keeping same layout and DB.. my store is very very busy |
|||||||
#10
|
|||||||||
|
|||||||||
Re: moving root category description to first page
How do you edit the body.tpl file?
Do you edit it on the server? If so, what is the full path to the file on the server?
__________________
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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|