| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to write links for categories? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I want to link from some graphics to some of the catagories within the site. How do I write the link?
For that matter how do I do it for any other page? J |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Version number please.
Can you provide a little more information? This is a very broad question. |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Version 3.4.7
And I just want to replace some of the categories with a link from a graphic. I don't know how to write that link so it still retains the customer information. Thanks |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Wow.
I still don't get it. Where are these links? in the cat menu? Or are you creating new links from images in a different part of the layout? What do you mean by customer information? |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() Sorry, I'm new to this. I'm not sure how else to explain it.
There are categories. I made some of them products (naturally) and some of them brands. I am assiging each product both a product category and a brand category. The brands I am attempting to suppress so they don't show up in the category menu and then I am putting graphic buttons there instead with those brand logos and I want those buttons to be links to the categories. I just don't know how to write hyperlinks in X-cart so it will retain whatever customer info. I'm a traditional web designer and only marginally experienced with PHP, only enough to know I could very well write code here that will lost the customer ID, etc. This is probably such a simple bonehead question that it seems complicated. ![]() J |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() OK, I won't beat you up anymore then. I don't want you to quit using X-cart!
![]() FIRST thing. NEVER include the session info in your links. It gets transferred automatically. Adding session info to your links will cause ALL kinds of problems. Your category link should be clean link this http://www.adpmods.com/xcart/customer/home.php?cat=14 That's it. Nice and simple. Second. I will add link for the category supression idea. I have to go find it. Just put your image placeholder in the template you want it to appear in and add the hyperlink as per usual. very simple. I will help find out how you can "Suppress" those cats. |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() probably best to make links as just
home.php?cat=4 save your images in the skin1/images directory and then reference the images as {$ImagesDir}/yourpic.jpg
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() Here is the link to split up the categories.
http://forum.x-cart.com/viewtopic.php?p=29135#29135 My advice would be to order your brand categories very high (POS field) and then only display categories below the POS number of the first brand category. Then insert your images and links and you are a happy camper! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|