![]() |
Question on adding services to the category section
This is my first post here and I am pretty excited about X-Cart. As you can see my in signature, we are running version 4.1. My question is fairly simple I hope, and I applogize if I have posted this in the wrong section.
After reading the great information on this forum I figured this would be simple for most of you to answer. What I want to do is add an option for advertising our services available for customers. When I add the category for Implementation Services obviously I can type what I want it to say about our install services, but it leaves the option for products below. What I want is to have the option Implementation Services under the category menu but have it been cleaned up without having the products listed below (even when there isn't one there). http://www.rmspos.net/xcart/home.php You will see what I mean when you click on Implementation Services under category section. Currently, I made a static page and included a speed bar option which really isn't the location we want, thus the reason we want a category option. |
Welcome to the forum! It may be easier just to hard-code a link to a static page in the categories menu. Otherwise, you would need to add an {if} statement to tell the cart not to show the 'no product' text for just that category.
|
Not to sound to noobish, but how would I go about hard-coding the link and whereabouts would I find this in webmaster mode?
|
You can't do it in webmaster mode, you'll have to actually edit a template. The file you want to edit is customer/categories.tpl. Simply replace this:
{section name=cat_num loop=$categories} with this: {section name=cat_num loop=$categories} <FONT class="CategoriesList">Link Text here</FONT> replace 'x' with the number of the static page you want to use, and change 'link Text Here' with the text you want to display as the link. Make sense? |
This is my category section coding. I cannot find what you posted in there. Am I blind or did I just miss something?
Code:
{* $Id: categories.tpl,v 1.26 2005/11/17 06:55:37 max Exp $ *} |
Oops..just noticed you are using 4.1. Sorry, can't help you as I'm not using that version until it becomes stable. :oops:
|
Ha, ok. Anyone else know what I can do?
|
bump
|
bump
|
I don`t know if this is right. This is the original code:
Code:
{* $Id: categories.tpl,v 1.26 2005/11/17 06:55:37 max Exp $ *} and that`s how it looks after I added a static page called "forum" into my categoris menu. Code:
{* $Id: categories.tpl,v 1.26 2005/11/17 06:55:37 max Exp $ *} I added this part after the </if> statement. Code:
{if $main eq "catalog" and $current_category.category eq ""} they only problem I have is that when you click on a cattegory all the arrows dissapear as you can see it on my website: www.h-source.com |
All times are GMT -8. The time now is 11:19 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.