X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   how to fix links in CATALOG? (https://forum.x-cart.com/showthread.php?t=3976)

fearthespear 08-13-2003 07:12 PM

how to fix links in CATALOG?
 
I have just made an HTML catalog and I noticed if from the HTML cataloag you try and click "VIEW CART" Or "REGISTER USER" link, this leads to 404 unknown page

View Cart Link points to:
http://www.mydomain.com/xcart/catalog/cart.php

Register User Link points to:
http://www.mydomain.com/xcart/catalog/register.php

They are supposed to point to:
http://www.mydomain.com/xcart/cart.php
http://www.mydomain.com/xcart/register.php

How can I fix this?

groovico 08-13-2003 07:21 PM

make them static links instead of relying on x-cart to do it.

I.e in the side menu html use /shop/cart.php instead of having x-cart using just cart.php etc etc

fearthespear 08-13-2003 10:17 PM

If I went into each page and changed the links then that would take me forever. Im trying to find a way (or why) for xcart to fix this before html catalog gets created.

groovico 08-14-2003 08:51 AM

Quote:

Originally Posted by fearthespear
If I went into each page and changed the links then that would take me forever. Im trying to find a way (or why) for xcart to fix this before html catalog gets created.


noooooooooo change the links in the proper X-cart!

The links as the side menu for example are in the .tpl just make it absolute to the root for example

/xcart/cart.php instead of just cart.php will work.

That way the html catalog points to the right parts

fearthespear 08-14-2003 10:08 AM

Oh Ok now I got you, Thanks

Just trying to look for the correct tpl file to edit.

fearthespear 08-14-2003 10:40 AM

Dude I cant find the .tpl I am supposed to edit, do you know the name of it by chance?

groovico 08-14-2003 12:21 PM

Quote:

Originally Posted by fearthespear
Dude I cant find the .tpl I am supposed to edit, do you know the name of it by chance?


Use webmaster mode to find the tpl's you need to edit. They are most likely going to be the ones in the side menu depending on your site design.

The minicart to the site for example, customer authentication etc etc.

Use webmaster mode to highlight the box you want to change, then look through the code for the links you want to change.

fearthespear 08-14-2003 01:00 PM

Thank groovico I tried that but still cant find the links to change. I asked the xcart team, hopefully they will be responsive.


All times are GMT -8. The time now is 02:50 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.