| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
help with products_list.tpl problem, repeating product? | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||||
|
|||||||||
Re: help with products_list.tpl problem, repeating product?
Yes that looks like the right way to do it.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#22
|
|||||||
|
|||||||
Re: help with products_list.tpl problem, repeating product?
Do you see how the table is too large? How do i limit the table size, and remove ;
Products Sort by: SKU - products, etc at the top? It seems this part is causing the table too large, plus I don't need it. I just want SKU, link, and picture. Which template file do i need to edit to remove this?
__________________
Version 4.4.3 |
|||||||
#23
|
|||||||
|
|||||||
Re: help with products_list.tpl problem, repeating product?
Ok, when I only included products_t.tpl, it did what I wanted to do.
Now, how do I change the table width so it's not stretching across the screen?
__________________
Version 4.4.3 |
|||||||
#24
|
|||||||
|
|||||||
Re: help with products_list.tpl problem, repeating product?
currently it's set to width-100 ? i believe?
__________________
Version 4.4.3 |
|||||||
#25
|
|||||||
|
|||||||
Re: help with products_list.tpl problem, repeating product?
I think somehow I need to edit this?
<table cellspacing="3" class="products products-table width-100" summary="{$lng.lbl_products_list|escape}">
__________________
Version 4.4.3 |
|||||||
#26
|
|||||||||
|
|||||||||
Re: help with products_list.tpl problem, repeating product?
It looks like {include file="customer/main/navigation.tpl"}
in /common_files/modules/Manufacturers/customer_manufacturer_products.tpl But I don't have a store with manufacturers enabled so I can't be sure.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#27
|
|||||||||
|
|||||||||
Re: help with products_list.tpl problem, repeating product?
Sorry that last post was in response to #22.
Yes now you can just use css styles to influence your design.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#28
|
|||||||
|
|||||||
Re: help with products_list.tpl problem, repeating product?
Do you mind looking at my code, and telling me what you think is wrong with my design? The products_t.tpl is throwing off my design!!!
Here's my products_t.tpl file; {* $Id: products_t.tpl,v 1.3.2.5 2010/12/15 11:57:05 aim Exp $ vim: set ts=2 sw=2 sts=2 et: *} {list2matrix assign="products_matrix" assign_width="cell_width" list=$products row_length=$config.Appearance.products_per_row} {assign var="is_matrix_view" value=true} {if $products_matrix} <table cellspacing="3" class="products products-table width-100" summary="{$lng.lbl_products_list|escape}"> {foreach from=$products_matrix item=row name=products_matrix} <tr{interline name=products_matrix additional_class="product-name-row"}> {*Display product_thumbnail product_offer_thumb*} {foreach from=$row item=product name=products} {if $product} <td{interline name=products additional_class="product-cell"}> <div class="image"> <a href="{$product.alt_url|default:$product.page_url| amp}">{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url}</a> </div> </td> {/if} {/foreach} </tr> {*Display product code*} {if $config.Appearance.display_productcode_in_list eq "Y"} <tr{interline name=products_matrix}> {foreach from=$row item=product name=products} {if $product} <td{interline name=products additional_class="product-cell"}> {if $product.productcode} <div class="sku"><a href="{$url}">{$product.productcode|escape}</a></div> {else} {/if} </td> {/if} {/foreach} </tr> {/if} {if not $smarty.foreach.products_matrix.last} <tr class="separator"> <td colspan="{$config.Appearance.products_per_row|defa ult:1}"> </td> </tr> {/if} {/foreach} </table> {/if} When I remove the include products_t.tpl, my design goes back to normal. So, it's something within this file causing the issue, I believe. Link to my site is here; http://5dollarinkcartridges.com.au/newsite/manufacturers.php?manufacturerid=3
__________________
Version 4.4.3 |
|||||||
#29
|
|||||||
|
|||||||
Re: help with products_list.tpl problem, repeating product?
Never mind! I got it. Had a table over a table tag. lol Thanks for the help, do0d!!!!! You rock!!!!!!!!
__________________
Version 4.4.3 |
|||||||
#30
|
|||||||||
|
|||||||||
Re: help with products_list.tpl problem, repeating product?
You're very welcome. Whew! I'm glad we got through it.
Hit those thanks buttons, I'm playing this like a video game and that's my score.... Where are you from? I'm in Louisville, KY USA
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|