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

showin products in two columns

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-07-2004, 07:01 AM
 
robit robit is offline
 

Member
  
Join Date: Jan 2003
Posts: 14
 

Default showin products in two columns

is there a way to do that ?

now my home page has a vertical listing of product. to gain some vertical space i'd like to show 2 products per row, how can i do that ?

i mean something like this

http://demo.x-cart.com/demo/customer/home.php

thanks
Robert
Reply With Quote
  #2  
Old 06-07-2004, 07:05 AM
  lildawg's Avatar 
lildawg lildawg is offline
 

X-Adept
  
Join Date: Jan 2003
Location: Utah
Posts: 686
 

Default

Go to admin/General Settings/apearance and you will see this setting.
"Display products list in multiple columns (1-3) (leave empty to use standard format)"

You can have it go all the way up to 3. Just uncheck the part that says: "Display only featured products list in multicolumn format:".
Let us know is this isnt what you wanted.
Reply With Quote
  #3  
Old 06-07-2004, 07:36 AM
 
robit robit is offline
 

Member
  
Join Date: Jan 2003
Posts: 14
 

Default

Quote:
Originally Posted by lildawg
Go to admin/General Settings/apearance and you will see this setting.
"Display products list in multiple columns (1-3) (leave empty to use standard format)"

You can have it go all the way up to 3. Just uncheck the part that says: "Display only featured products list in multicolumn format:".
Let us know is this isnt what you wanted.

The problem is that, maybe, i have an old version of xcart that was heavily modified. I can't see that .

Is there a way to do witouht this feature ?

Sorry for being so ... newbie !
Reply With Quote
  #4  
Old 06-07-2004, 07:50 AM
  lildawg's Avatar 
lildawg lildawg is offline
 

X-Adept
  
Join Date: Jan 2003
Location: Utah
Posts: 686
 

Default

What version are you using?
Reply With Quote
  #5  
Old 06-07-2004, 07:57 AM
 
robit robit is offline
 

Member
  
Join Date: Jan 2003
Posts: 14
 

Default version

3.2.4
extended and modified
some time ago
Reply With Quote
  #6  
Old 06-09-2004, 03:26 AM
 
robit robit is offline
 

Member
  
Join Date: Jan 2003
Posts: 14
 

Default let's try again

Since it looks like there's no way to do this via admin area
i took the tpls for featured products from a newer version.

i've seen that everything it's ruled by some vars / conditions.

In particular

Code:
[b]$config.Appearance.products_per_row $config.Appearance.featured_only_multicolumn ... eq "N" {math equation="floor(100/x)" x=$config.Appearance.products_per_row assign="width"}[/b]

Is there someone that knows hou to pass the values refering to these vars in the tpl so that i can implement 2 columns even if i'm using an old heavily modfied version ?

Sorry , probably i'm posting silly questions but i'm not a smart programmer. !
Reply With Quote
  #7  
Old 06-09-2004, 06:11 AM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default

A start would be to replace
Code:
$config.Appearance.products_per_row
with
Code:
2
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote
  #8  
Old 06-09-2004, 07:41 AM
 
robit robit is offline
 

Member
  
Join Date: Jan 2003
Posts: 14
 

Default Yahoooooo!!!!

Darren you made my day !

here what i did.


1. search and replace in the products_t.tpl ( lates versions )

$config.Appearance.products_per_row with 2

2. Uploaded this file as products.tpl

3. It worked

Really really thanks!!!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:57 AM.

   

 
X-Cart forums © 2001-2020