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

1 column / 1 row products results

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-02-2008, 10:22 PM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default 1 column / 1 row products results

Hey guys,

I want to display the results in 1 column or 1 row. Is the same thing.

I know that in the apperance menu I can chose 1, but when I do that,
the products are centered :

................................................Title.................................................
.................................................pic.................................................
...............................................price.................................................. ..

The above looks weird and theres too much space on the left and right.
I want it to look like this:

---------------------------------------------------------------------------------------------------

Pic .................................................. ..TTitle..................................... buy button
.................................................short description.............................................
-----------------------------------------------------------------------------------------------------

How and where can i do this? Thanks
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #2  
Old 07-03-2008, 07:14 AM
 
Thedae2k Thedae2k is offline
 

eXpert
  
Join Date: Jan 2004
Posts: 288
 

Default Re: 1 column / 1 row products results

Which page are you looking for the display results to be displayed on? All will use either the products.tpl or the products_t.tpl which can be modified to allow for complete reworking.
__________________
X-Cart Pro 4.1.9
PHP5.2.5
MySQL 5.0.54
IIS/Apache/NGINX Webservers
Reply With Quote
  #3  
Old 07-03-2008, 07:21 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default Re: 1 column / 1 row products results

Thedae,

I will like to display the results in the 1 row manner in

1. When customers do a search and hit submit (search results)

and

2. When customers are looking at the products under one category

Those are the only pages I think that will display the results anyways.
Correct me if I'm wrong.

BTW, whats the difference between products.tpl and the products_t.tp ?

Thanks
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #4  
Old 07-03-2008, 11:13 AM
 
Thedae2k Thedae2k is offline
 

eXpert
  
Join Date: Jan 2004
Posts: 288
 

Default Re: 1 column / 1 row products results

The difference is that products.tpl displays products in a straight down listing and the products_t.tpl uses multicolum boxes to display products. both can be competely modified to look and function as you need.

The search and category function returns results using one of those two templates.

You should start with using the Webmaster Mode provided and find the correct template(.tpl file) and edit the layout for your taste. You can also choose in the Apppearance Section under Displaying products of the General Settings which format you want to use.
__________________
X-Cart Pro 4.1.9
PHP5.2.5
MySQL 5.0.54
IIS/Apache/NGINX Webservers
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 02:18 AM.

   

 
X-Cart forums © 2001-2020