| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Variable number of columns | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Variable number of columns
Ok so, by default xcart let's you pick 1,2 or 3 columns to display products... and we went ahead and tweaked ours to display 5 which is what we want for 95% of our products.
However, our bumperstickers are suffering because they are wider and shorter and usually have small lettering on them compaired to most everything else in the store. My question is: I'm trying to figure a way to set only the bumpersticker catagory to display 3 columns instead of 5 to allow us to increase the size of the thumbnail without screwing up the way the site is displayed. I'm sure this involves an if/else someplace, (which I suck at, I do the programing only when I have to) but if there was an easier way, I'm all ears.
__________________
Wicked shirts, and other assorted mayhem. www.MadRagz.com ----- X-Cart Gold v 4.0.13 |
|||||||||
#2
|
|||||||
|
|||||||
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
ok so, I should replace the line that defines the number of columns with somthing like..
{if $product.categoryid == 248}{(columns = 3)} {else}{(columns = 5)} {/if} So what does the line look like that denotes the number of columns and what file should it be located in?
__________________
Wicked shirts, and other assorted mayhem. www.MadRagz.com ----- X-Cart Gold v 4.0.13 |
|||||||||
#4
|
|||||||||
|
|||||||||
Hi,
My guess would be, Go to skin1/customers/main/products_t.tpl Find the code... Code:
And replace with this Code:
Let me know if could solve your problem?
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
#5
|
|||||||
|
|||||||
Re: Variable number of columns
Quote:
Can someone please direct me to where this tweak is done? thanks!
__________________
LC ASPE: 2.1.2 PHP:4.4.4 MySQL server:4.1.22 MySQL client:4.1.22 Web server:Apache Operation system:FreeBSD |
|||||||
#6
|
|||||||
|
|||||||
Re: Variable number of columns
Why is it that I do not ahve Appearance Options under General Settings? I see general, company, email, security, and summary.
__________________
LC ASPE: 2.1.2 PHP:4.4.4 MySQL server:4.1.22 MySQL client:4.1.22 Web server:Apache Operation system:FreeBSD |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Variable number of columns
Quote:
For version 4.1.9... When in Admin's General Settings (configuration.php); in the main body of content look at the top box labelled "In this section:", in that box you should see a list of links... the first usually being "Appearance options" (configuration.php?option=Appearance). From pressing that link you should get to a page showing Pagination and Display options.
__________________
Doms kube v4.1.9 |
|||||||||
#8
|
|||||||
|
|||||||
Re: Variable number of columns
ok I can't get to configuration.php. When in general settings I do not see "In this section:" either. I am not sure what version this is. When I look in the cpanel at License it says version 2.1.
__________________
LC ASPE: 2.1.2 PHP:4.4.4 MySQL server:4.1.22 MySQL client:4.1.22 Web server:Apache Operation system:FreeBSD |
|||||||
#9
|
|||||||||
|
|||||||||
Re: Variable number of columns
Try Balinor's post to find your current version...
http://forum.x-cart.com/showthread.php?t=23970 Then we can try our best to help you.
__________________
Doms kube v4.1.9 |
|||||||||
#10
|
|||||||
|
|||||||
Re: Variable number of columns
Ok I have put my version number and other info in my sig. Is it because we are using lite version that these options are not available?
__________________
LC ASPE: 2.1.2 PHP:4.4.4 MySQL server:4.1.22 MySQL client:4.1.22 Web server:Apache Operation system:FreeBSD |
|||||||
|
|||
X-Cart forums © 2001-2020
|