| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Show product description on cart_details.tpl | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Show product description on cart_details.tpl
Hi,
I have been trying for hours now but I can't figure this out. I want to include the product description on the last page of the checkout process but it's simply not showing up. File: customer\main\cart_details.tpl In there I have the following code: Code:
I don't want to show $product.product as it's not desriptive enough. So, I thought I would simply replace it: Code:
But of course it doesn't work. Anyone has any idea why this simply does not work? The code I am now using is from cart.tpl in which it works fine... Thanks in advance! Ps. This is from X-Cart v4.2.0, not the one from my signature.
__________________
www.qualitylamps.eu X-Cart Gold 4.1.8, PHP 5.2.6, MySQL 5.0.51a, Apache 2.2.9 www.vervangjelamp.nl X-Cart Gold 4.2.0, PHP 5.2.6, MySQL 5.0.37-standard, Apache/2 Sorry for the weird user name, I registered it by mistake |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Show product description on cart_details.tpl
It is in your customer\main\cart.tpl
Code:
UPD For the last page of the checkout it is customer\main\cart_contents.tpl Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#3
|
|||||||
|
|||||||
Re: Show product description on cart_details.tpl
I am looking for the same fix. Did you get it resolved? If so, can you post the code you put in and where.
Thanks Quote:
__________________
X-Cart version 4.2.1 |
|||||||
#4
|
|||||||
|
|||||||
Re: Show product description on cart_details.tpl
Did anyone manage to fix this. I am looking for a solution on how to display the descr in the cart details.
I'm also using fast lane checkout.
__________________
xcart 4.1.12 |
|||||||
#5
|
|||||||
|
|||||||
Re: Show product description on cart_details.tpl
Got it!
Find the file include/func/func.cart.php In the file find the code: Code:
Add this line to the product keys Code:
Then in customer/main/cart_details.tpl you can add the {$products[prod_num].descr|truncate:"30":"...":true} where required.
__________________
xcart 4.1.12 |
|||||||
#6
|
|||||||
|
|||||||
Re: Show product description on cart_details.tpl
Interesting Monkeyhead. Do you know if this works for 4.2.2?
__________________
X-Cart Pro 4.2.2 |
|||||||
#7
|
|||||||
|
|||||||
Re: Show product description on cart_details.tpl
I haven't found this answer either. Anyone else know how to fix this in 4.2.2?
__________________
http://www.vandahobbies.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|