![]() |
What tables or templates do I need to edit?
I am trying to change the size of the spaces in between the tables.
I want to shrink the space in between my item table, and the right menu column or table. Here is my current xcart site. I just started working on this 2 days ago, and have never worked with x cart, and have only done minimal amounts of php editing, (no programming). I also don't have a clue on how to use smarty, or even what it does. So now you know where I'm at. I have figure out a lot on how to edit the .tpl files though within the admin panel. Here is my site.... http://www.bellandconti.com/spleather/store/home.php Please help! The space is too big between the tables and it's throwing off the alignment on the site on cetain pages. I also need to know this... When I add multiple items to the "Featured Products" or if the "Search" feature is used, it will display a couple listings, side-by-side, and throws off the alignment of my site again. I want them to display vertically. |
You don't need to worry about PHP, template are all html and Smarty.
First, in your multi-column layout, your images are too big to use that layout. You should either have the thumbnanil with the information beneath it, or one product per row. As far as the product detail page, you have an empty table cell to the right of the description where the 'Save' icon goes. Just get rid of that column in product.tpl and you will be all set. Open it up in Dreamweaver, it will help you see what is what. |
I'll adjust the images so they fit right... And I DO only one product per row. How do I change that??? That is one of the problems.
|
Still need help!!!
I still can't get my products to display in a single column, or 1 per row. What template or what do I change to fix this??
Please help!! |
Did you edit one of the templates like products.tpl? It looks like something is botched up....
|
yes
I did edit products.tpl But why would it display multiple products per row?
|
no i never did.
I double checked, and I never edited the product.tpl file. I only edited the dialog.tpl file.
Anyone on here know how to solve my problem??? |
If you edited products.tpl, that is probably your problem. Save what you have done, restore the original file, and add your modifications back in one by one os you don't make the same mistake again.
|
never edited the products.tpl
I never edited the products.tpl file.
There has to be some setting that will only display 1 item per row, but will diplay multiple items vitically in a single column. Anyone know what this is??? This seems to be the mystery stumping all of the XCart pros! |
Ok, you are confusing the hell out of me. First you say you edited products.tpl, then you didn't. If you didn't mess with the templates, than out of the box X-Cart shows one product per row, with multiple rows. If you alter the 'produts per row' in General Settings/Appearance options, then it will switch to multiple products per row. Not sure what you are trying to achieve if not one of those two options???
|
I didn't change the products.tpl file... I thought that I did, but changed another file.
There is no "products per row" selection in the General Settings/Appearance options. I have gone through all of that with no luck. |
Sorry, the EXACT wording of the setting in General Settings/Appearance options is:
Quote:
This does work fine, I do it all the time. In fact, I just tested it out on a fresh install and it works fine. This means that somewhere along the line you either edited products.tpl or products_t.tpl, so I suggest restoring them both and starting over on your mods to those templates. |
1 item per row
I'm having the same problem...I haven't changed products.tpl and would like to see only one featured product per row on my main page
I changed "Display products list in multiple columns (1-3) (leave empty to use standard format):" to one (1) with no visible change on my site. (Featured still appear in two columns) I'm kind of stumped....some kind of odd voodo going on here...any help appreciated! Thanks! |
Quote:
You need to leave it empty, not put 1 in the box :) |
1 product per row, cont'd
I have left it empty and in fact, i've tried every number that looks "legal" (0-3)
For some reason, I still see products side by side and would like to see only one per row...really odd. I actually just replaces products.tpl with the original to double-check I hadn't accidentally edited it. Anyway, havea look if you'd like...I've only spent two hours skinning this thing after creating the design last night...if I can figure this one little problem out, I'm sure (well, pretty sure ) I can handle the rest. :wink: http://www.2wgmedia.com/store/home.php This store will be built off of a flash site I'm currently working on which can be found at: http://www.2wgmedia.com/temp/index.html Thanks again, Ryan...really appreciate the help! -matt(at)mattworks.com |
Well, don't know what to tell you, you have some broken table cells in there and that is what is causing the problem. Technically it should be products.tpl displayed there, but if you have messed with subcategories.tpl you may have caused some problems. I'd restore products.tpl, products_t.tpl, featured.tpl and subcategories.tpl from their original and see if that solves the problem. Backup your current templates if you have made any changes and you can add them back in one by one to see what caused the issue.
|
odd. I've replaced all of the files you suggested to no avail. Is there a way for possibly forcing the display of featured products row by row other than changing it in the admin section? Possibly in a php file? Just curious...
Thanks Again, -m |
The templates control it, and they are controled by the setting in Appearance Options. Did you buy a pre-made template or is this the default X-Cart template you are working with?
|
This is the defaul x-cart template I'm working with..when installing I selected "small shop"
The template itself is one I designed on my own. I just found a hack since this is such a small shop that will fix the problem for now by displaying only one product per page, but ideally I'm sure my client will want to see at least two products featured in two rows on the main page. You can see the "hack/fix" here... http://www.2wgmedia.com/store/home.php I'm about to go through and change the css, etc....a little fugly at the moment :wink: |
I figured out a hack/mod to "products.tpl" that seems to work fine if anyone is having a simliar problem. This mod will display products in rows instead of columns if you are having the same problem I was -cheers
Code:
|
All times are GMT -8. The time now is 09:55 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.