Shopping Cart Software

 
   
Sales and Tech Support (800) 828.6650  

Go Back   3dCart Shopping Cart Software Forums > Shopping Cart Software > Store Design

Reply
 
Thread Tools Display Modes
  #1 ()  
Old 09-20-2007, 05:49 PM
rcheltrvel rcheltrvel is offline
3dCart Newbie
 
Join Date: Sep 2007
Posts: 29
Smile How do I get the category descriptions & image to show?

If you click on a main category, you get the category listing page. The category listing pages shows a listing of all the subcatagory. On that page, I would like to show a category description and one image, plus a graphic bullet next to each sub category. How can I do this? I went to category options and added a description & image there but that didn;t seem to show up anywhere. Once I am able to do this, is there a way that it can apply to all of my category listing pages?
Reply With Quote
  #2 ()  
Old 09-21-2007, 10:02 PM
ScribeTime ScribeTime is offline
3dCart Geek
 
Join Date: Aug 2007
Posts: 353
Default

Did you try changing the "Category Page Display Type" under Category options for the categories? If that doesn't work, perhaps check the code for your category listing page. You should see something like this (notice the Start: Sub_Category_image section):


<!--START: SUB_CATEGORIES_FORMAT-->
<td>
<table border="0" cellspacing="4" cellpadding="0">
<tr>
<td>&nbsp;
<!--START: SUB_CATEGORY_IMAGE-->
<a href="view_category.asp?cat=[CATID]"><IMG SRC="[SUB_CATEGORY_IMAGE]" ALT="[SUB_CATEGORY_NAME]" BORDER="0"></a>
<!--END: SUB_CATEGORY_IMAGE-->
</td>
<td class="font2"><a href="view_category.asp?cat=[CATID]">[SUB_CATEGORY_NAME]</a><br>[SUB_CATEGORY_DESCRIPTION]</td>
</tr>
</table>
</td>
<!--END: SUB_CATEGORIES_FORMAT-->


I wanted the description to be under the image, so I changed the code a little to:

<!--START: SUB_CATEGORIES_FORMAT-->
<td>
<table border="0" cellspacing="4" cellpadding="0">
<tr bordercolor="#CCCCCC" class="cat_imgborder">
<td align="center" class="font2">
<!--START: SUB_CATEGORY_IMAGE-->
<a href="view_category.asp?cat=[CATID]"><IMG SRC="[SUB_CATEGORY_IMAGE]" ALT="[SUB_CATEGORY_NAME]" BORDER="0" class="cat_imgborder"></a>
<!--END: SUB_CATEGORY_IMAGE--> </td>
</tr><br />
<tr>
<td class="font2" align="center"><a href="view_category.asp?cat=[CATID]" class="font1">[SUB_CATEGORY_NAME]</a></td>
</tr>
</table>
</td>
<!--END: SUB_CATEGORIES_FORMAT-->

Again, I'm still working on this one too and have to clean out some of the extra CSS code in there. But it's getting there.

Once you get your category listing page exactly how you want, you would just select that particular layout number under category options. The nice thing is that you can have as many different layouts as you want. Also, I don't know if this is documented somewhere but category_0.html refers to listing 1, category_1.html refers to listing 2 and so on...

Again, although this isn't super specific (since I'm still trying to figure it out too : ) maybe it will give some you clues on how to do what you want to do.
Reply With Quote
  #3 ()  
Old 11-05-2007, 01:32 PM
syncbox syncbox is offline
3dCart User
 
Join Date: Oct 2007
Posts: 58
Default

just make sure, if you get above category_0 and category_1 to category_2, 3, etc... that you ALSO put a copy into the common folder (not just your layout folder) or you cannot even choose those files. THAT IS NOT DOCUMENTED ANYWHERE... though it often says to put a copy of those files in the layout folder, nothing mentions adding files to common.

in fact, it says that common gets overwritten in updates!
Reply With Quote
  #4 ()  
Old 11-05-2007, 01:50 PM
GonzaloGil GonzaloGil is offline
Moderator
 
Join Date: Feb 2006
Posts: 544
Default

Note however that the only templates we overwrite during version upgrades are the "_0.html" templates. In the event that we do overwrite your templates, it won't matter because you have a copy on your folder which is what it uses anyway. The drop down that lets you pick a template looks in the common folder, because that is the template base for the entire store.
__________________
----------------------------
Gonzalo Gil
3dCart Support
800-828-6650 x111
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:43 PM.

Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8
Starter Package Basic Package Standard Package Standard Plus Package Power Plan Package