Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Admin "modify product" search.php

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-10-2005, 01:45 AM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Admin "modify product" search.php

Hi

I've looked - and I'm not really sure where to put this...

When I am in my admin area and I want to modify a product - it uses "provider/search.php" to list them all (see below)

Code:
http://www.domain.com/xcart/provider/search.php?search_productid=&search_sku=&substring=&search_category=1

What it does to my results is to trim of the end of each product title after around 32 characters - well this is not good for me as most of my products have long titles all starting with the same 5 words

How do I change this so it outputs the full title?

And I suppose will it effect anything else so I can keep my eye on it.

Cheers
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #2  
Old 05-10-2005, 05:51 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Moving this to template editing. Try opening the admin area in webmaster mode and figure out which template it is. Once you figure it out, you will want to find the code that calls the product title and remove the 'truncate' portion of the code.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-10-2005, 05:51 AM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default

Heres an attachment to show what I mean:

http://www.aguawebs.com/sp/cropping.gif
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #4  
Old 05-10-2005, 05:52 AM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default

Thanks and sorry balinor - we posted at the same time
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #5  
Old 05-10-2005, 05:53 AM
  Alltribes's Avatar 
Alltribes Alltribes is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 192
 

Default

I'm not sure where in the file it is, but you need to search for where it says truncate:"Number". Change the number to how many characters you want to cut it down to.

edit: Drats foiled again

/shakes fist at balinor
__________________
Alltribes.com
Native American Jewelry
Pottery, Baskets, Kachinas & More

X-cart Gold Version 4.0.17 Live
PHP 5.2.6
MySQL 4.1.25
(mt)
Reply With Quote
  #6  
Old 05-10-2005, 06:10 AM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default

Thanks Guys - I got it - its the 'products.tpl' file located at skin1/main/

Thats been annoying me for a while

Webmaster mode has got a lot better since I last used it - it would be good if you could point at a place on the page and the correct template is highlighted in the de-bug console.

Thanks again.
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:10 AM.

   

 
X-Cart forums © 2001-2020