| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Question on adding services to the category section | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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. |
|||||||
#2
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Not to sound to noobish, but how would I go about hard-coding the link and whereabouts would I find this in webmaster mode?
|
|||||||
#4
|
|||||||
|
|||||||
![]() 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?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() This is my category section coding. I cannot find what you posted in there. Am I blind or did I just miss something?
Code:
|
|||||||
#6
|
|||||||
|
|||||||
![]() Oops..just noticed you are using 4.1. Sorry, can't help you as I'm not using that version until it becomes stable.
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Ha, ok. Anyone else know what I can do?
|
|||||||
#8
|
|||||||
|
|||||||
![]() bump
__________________
TA Technologies, Inc. ~Implementing Creative Point of Sale Solutions~ http://www.rmspos.net X-Cart 4.1.10 |
|||||||
#9
|
|||||||
|
|||||||
![]() bump
|
|||||||
#10
|
|||||||
|
|||||||
![]() I don`t know if this is right. This is the original code:
Code:
and that`s how it looks after I added a static page called "forum" into my categoris menu. Code:
I added this part after the </if> statement. Code:
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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|