X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   showin products in two columns (https://forum.x-cart.com/showthread.php?t=7975)

robit 06-07-2004 07:01 AM

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

lildawg 06-07-2004 07:05 AM

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.

robit 06-07-2004 07:36 AM

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 !

lildawg 06-07-2004 07:50 AM

What version are you using?

robit 06-07-2004 07:57 AM

version
 
3.2.4
extended and modified
some time ago :-(

robit 06-09-2004 03:26 AM

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. !

carlisleglass 06-09-2004 06:11 AM

A start would be to replace
Code:

$config.Appearance.products_per_row
with
Code:

2

robit 06-09-2004 07:41 AM

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!!!


All times are GMT -8. The time now is 06:51 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.