| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Removing Product Number for Cart Summary | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm editing "cart_details.tpl" so that I can remove the product number that precedes the product name in the cart summary page:
http://www.sbwebhost.com/xcart.gif I know I need to edit this part but I'm unsure what to remove: {if $products[prod_num].productcode}{$products[prod_num].productcode}{else}#{$products[prod_num].productid}{/if}. {$products[prod_num].product|truncate:"30":"...":true} Thanks in advance.
__________________
-- Jason Sweet Current version: 4.0.13 |
|||||||
#2
|
|||||||
|
|||||||
![]() Just remove this whole part:
Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() thanks that was what i was looking for as well.
but i notice the item line stops and puts "..." on the item line. so it shows as 12 Grain Fresh Quality Tee ... and i want it to show the entire line (which would show the customer the entire product and option in this case the size) 12 Grain Fresh Quality Tee - Navy Size: 2XL is there a way i can make it show the complete decription? thanks!
__________________
4.2.2 |
|||||||
#4
|
|||||||
|
|||||||
![]() That is the truncate part....replace this:
{$products[prod_num].product|truncate:"30":"...":true} with this: {$products[prod_num].product}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() worked. but its missing the item option.
so now it shows as 12 Grain Fresh Quality Tee - Navy but still missing the "size: XL" is that possible to be included in that line? customer would want to be able to read over those details to make sure hes buying what he needs. is it possible?
__________________
4.2.2 |
|||||||
#6
|
|||||||
|
|||||||
![]() Well it shows the options in the cart...but not the checkout, as it would take up a lot of room if you have multiple options. I haven't tried it, but you could try adding this code to that line:
Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Hi guys,
I want to not have the product id visible to the customer in the product details area. In other words, I don't want the "#49" to appear. Can you help? Can I comment this out somewhere or what? I am slowly but surely understanding where things are, but forgive my ignorance for now! Any help is much appreciated. Thanks!
__________________
xcart version 4.0.13 |
|||||||
#8
|
|||||||
|
|||||||
![]() Hi Lisasher, welcome to X-Cart! A couple of things that may make it easier for you here in the forums:
1. Be sure and search the forums thoroughly before posting 2. Try not to post new questions in other people's threads or threads that don't deal with the same topic As far as your question goes, I just answered the same question last night: http://forum.x-cart.com/viewtopic.php?t=20818 Thanks! ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() Quote:
this didnt seem to work. i didnt see any change in the cart display. no options anywhere to be seen. i added the code you posted right after the Code:
right? any suggestions? would be great if customer could just see that option again to reassure them they added the right item they wanted. (with the right option selected). all my products would only have one option, which would be size (for clothing & shoes) thank you.
__________________
4.2.2 |
|||||||
#10
|
|||||||||
|
|||||||||
![]() Heres what i did in 4.0.12:
1. Open skin1/customer/main/cart_contents.tpl. 2. Find Quote:
3. Replace it with: Quote:
http://forum.x-cart.com/viewtopic.php?p=99201#99201
__________________
X-Cart 4.0.12 PHP 4.3.11 MySQL 4.0.23 Linux/Apache Net::SSLeay 1.25 libCURL libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4 www.ewdhosting.com |
|||||||||
|
|||
X-Cart forums © 2001-2020
|