| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
My products are out of my dialog table & I can't get the | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Here's the problem
I have categories displayed *inside* dialog.tpl and subcategories displayed *inside* of dialog.tpl but my products display *BELOW* dialog.tpl ![]() I have been staring at this a very long time...anyone throw me a bone? thanks, liz |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Start by throwing us a bone.
What version are you using, did you mod code and if so, let's get your code posted here for us to look at. General posts like this get passed over... |
|||||||||
#3
|
|||||||
|
|||||||
![]() I'm using version 3.3.7
I've been making mods all over the place ...but my current products.tpl looks like below: {* $Id: products.tpl,v 1.21.2.2 2003/03/11 10:49:14 svowl Exp $ *} {section name=product loop=$products} <table border=0 width=100%> <tr><td width=90 align=center valign=top> <a href=product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}>{in clude file="product_thumbnail.tpl" productid=$products[product].productid image_x=70 product=$products[product].product} {$lng.lbl_see_details}</a> </td> <td valign=top> {$products[product].product}</font> <font size=1> {$products[product].descr|truncate:300:"...":true} </font> <hr size=1 noshade width=230 align=left> {if $active_modules.Subscriptions ne "" and $products[product].catalogprice} {include file="modules/Subscriptions/subscription_info_inlist.tpl"} {else} {if $products[product].price ne 0} {if $products[product].discount ne 0} <font class=MarketPrice>{$lng.lbl_market_price}: <s> {math equation="price/(1-(discount/100))" price=$products[product].price discount=$products[product].discount format="%d.00" assign=unformatted}{include file="currency.tpl" value=$unformatted} </s></font> {/if} <font class=ProductPrice>{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].price}</font><font class=MarketPrice>{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].price}</font>{if $products[product].discount ne 0}, save {$products[product].discount}%{/if}{if $config.General.use_vat eq "Y"}, {$lng.lbl_including_vat} {$products[product].vat}%{/if} {else} <font class=ProductPrice>{$lng.lbl_enter_your_price}</font> {/if} {/if} </td></tr> </table> {/section} I'm fried. Liz |
|||||||
#4
|
|||||||||
|
|||||||||
![]() It looks like you are starting your loop outside of the table and looping the table itself.
I'm no pro at this, and in the middle of my own personal nightmare but try this. Code:
change this to Code:
and change this at the end Code:
change it to Code:
See if that helps. The section loop is within my main table. It is not in the code you posted. A mis-looped table might be part of your troubles. Good Luck! Maybe fix your thread title too. It's kinda stuck mid sentence. |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() Oh yeah, I didn't want to give you bad advice so i tested it on my live store (probably not a good idea).
Looks good to me. Hope it works for you. NOW ADD YOUR VERSION NUMBER TO YOUR FORUM SIG. Have a great night! ![]() |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Quote:
![]()
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
|
|||
X-Cart forums © 2001-2020
|