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)
-   -   On cart page, add link to items referencing their product details page (https://forum.x-cart.com/showthread.php?t=29565)

mmoskva 03-09-2007 12:50 PM

On cart page, add link to items referencing their product details page
 
When I add a item to my cart, on the cart page if I try to click on the item/thumbnail their is no link available that can reference me back to the product details page. Can someone help me apply this.

> For items on the cart page. Add a reference link to the item/& thumbnail that will reference to the product details page.

balinor 03-09-2007 02:58 PM

Re: On cart page, add link to items referencing their product details page
 
Just open up customer/main/cart.tpl and copy the link from the product title to the thumbnail.

mmoskva 03-10-2007 08:11 AM

Re: On cart page, add link to items referencing their product details page
 
I found the link from the cart page (see below) and applied it to the thumbnail:

code:
<A href="{pages_url var="product" pid=$products[product].productid}"> </a>



< but, I when I clicked on the thumbnail I just got referenced back to the home.php page ?

balinor 03-10-2007 03:39 PM

Re: On cart page, add link to items referencing their product details page
 
Not sure where you are getting that code, but the correct link is this:

<A href="product.php?productid={$products[product].productid}">thumbnail code</a>


All times are GMT -8. The time now is 02:21 AM.

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