![]() |
Product Box
I have looked all over the forum for a solution to this. I found a few posts that illustrated the problem but no solution.
What I want to do is create a cell structure that includes a Top Cell, Left Cell, Center Cell (This area would hold all of the product data), Right Cell & Bottom Cell. I have illustarted the layout with the image below. http://wittrans.net/prod_box.gif Creating the cell structure is not a problem, but I can't isolate all the Smarty Tags that need to be in place for the products. Alos, is it product_t.tpl that shows the product? Any help would be appreciated :) |
/customer/main/product.tpl contains the individual product details. You might want to split your top and bottom images into 3 as well, so you can scale the width as well as the height depending on your layout.
|
I editied customer/mail/product.tpl to no avail.
I changed Code:
<TABLE border="0" width="100%"> Code:
<table border="0" width="732" background="{$ImagesDir}/dialog_bg.gif"> It did nothing :( I am rather confused at this point. |
Open up product.tpl in Dreamweaver and you will see how the tables are set up. Also, the 'background' tag is a depreciated tag and should not be used. If you want to set a background image, be sure to use CSS.
Also, the overall width of the site is controlled by rectangle_top.tpl, home.tpl, and product.tpl in that order. Changing the table width in product.tpl may not do anything if it is being overridden by a setting higher up in the heirarchy. |
Here's what I have so far, for th elife of me I can figure out how to get the background lined up or get the bottom image in place
http://www.wittrans.net/ecart/home.php?cat=1 I would appreciate any help you guys have to offer. Thanks :) |
Ohhhhhh....you aren't talking about the product display, you are talking about the whole site! In that case, you should be working on dialog.tpl, that controls the 'box' around all of the content.....
|
menu.tpl also for the menu areas.
|
finally got it...
Code:
{* $Id: dialog.tpl,v 1.19 2004/06/24 09:53:29 max Exp $ *} Now I just have to do the buttons, the CSS Text entries, etc :). Thanks for the help |
Does anyone kknow the CSS entry for 'Sort by: ', 'SKU:' & 'Quantity' on the product listing?
I have looked everywhere and if I start drinking cofee this late in the game I might start using cyan and pink :) |
There isn't one...it is called via search_sort_by.tpl
|
I looked at 'search_sort_by.tpl' and didn't see anything that would allow you to change the text properties.
I'm sorry if I wasn't clear. What I want to do is change the 'Sort by: ', 'SKU:' & 'Quantity' text properties on the product listing page. You can see it here for more clarification. http://www.wittrans.net/ecart/home.php?cat=4 Thanks for all the help :) |
That's what I mean, there is currently no formatting on that template, so it just displays in the default font. Just add your own class to the css file and use <span> tags to format it.
|
Doh! :) I dill give it a try, thanks.
|
I am having a real problem identifying the smarty comments that control the marked text in the image below. I would REALLLLLY appreciate any help you guys could provide on this.
http://wittrans.com/2do.gif thanks :) |
Ok, the 'result pages' is controlled by customer/main/navigation.tpl. The sku and the quantity are called in customer/main/products.tpl. Take a look at both and you will see what styles are associated with them.
The sort by is the file I mentioned before: main/search_sort_by.tpl Also, be sure to use Webmaster Mode, it will help you track down which template is which. |
|
All times are GMT -8. The time now is 08:12 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.