| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
cart_details.tpl -- can I insert a variant in cart display? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Dear Brain Trust:
In /skin1/customer/main/cart_details.tpl (the page that has the final listing of items before checkout) - immediately after {$products[prod_num].product|truncate:"40":"...":true}: Code:
[image removed] I thought the code that I used on cart.tpl to display the color variant: Code:
Anyone have an idea here? Doesn't everyone want to list the color variant of the item in their final shopping cart? has anyone done this? Thanks, Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#2
|
|||||||
|
|||||||
![]() Look a few lines above where you want to insert the options to see how its done. The array index is [prod_num] instead of [product].
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
#3
|
|||||||
|
|||||||
![]() Quote:
This is exactly what I was trying to do (and it really should be stock, don't you agree? What customer would not want to see the color and/or size variant of the item they are buying? NOW -- can I ask HOW did you find out all the array index fields? Is there a master directory of what x-cart is keeping track of? Can you point me somewhere so that I can learn more about what is under the hood? Thanks for being here and contributing... Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#4
|
|||||||
|
|||||||
![]() Quote:
Quote:
Quote:
Code:
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|