Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

products.tpl table editing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-10-2006, 06:34 AM
 
RobinBraves RobinBraves is offline
 

Advanced Member
  
Join Date: Oct 2005
Location: FL
Posts: 98
 

Default products.tpl table editing

Hello!

I have a single-column layout for my products and have already removed the thumbnails and "see details" link.

I am wondering how to eliminate the table that those fell into so that my product title (and info below) are moved over to the leftmost side.

Here is my site to give you a sample: http://zachandrobin.com (just click on "Our Products".

Any help is much appreciated.
__________________
Version 4.1.11
Reply With Quote
  #2  
Old 01-10-2006, 06:41 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just remove the table cell the image was in:

<td>image code was here</td>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-10-2006, 06:45 AM
 
RobinBraves RobinBraves is offline
 

Advanced Member
  
Join Date: Oct 2005
Location: FL
Posts: 98
 

Default

I tried doing that, but I am not sure where to edit this. Could you please better inform me of which coding to work with?:

Code:
{* $Id: products.tpl,v 1.45.2.16 2005/10/17 07:54:19 max Exp $ *} {if $active_modules.Feature_Comparison ne '' && $products && $printable ne 'Y'} {include file="modules/Feature_Comparison/compare_selected_button.tpl"} {include file="modules/Feature_Comparison/products_check_js.tpl"} {/if} {if $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 4 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")} {include file="customer/main/products_t.tpl" products=$products} {else} {if $products} {section name=product loop=$products} {assign var="discount" value=0} <TABLE border="0" width="100%" cellpadding="0" cellspacing="6"> <TR> <TD width="90" align="center" valign="top"> <TABLE border="0" cellpadding="0" cellspacing="0"> <TR> <TD valign="top" align="center"> {if $active_modules.Special_Offers ne "" and $products[product].have_offers} {include file="modules/Special_Offers/customer/product_offer_thumb.tpl" product=$products[product]} {else} {include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url} {/if} </TD> </TR> {***** <TR> <TD height="18" align="center"> {$lng.lbl_see_details} </TD> </TR> *****} </TABLE> {if $active_modules.Feature_Comparison ne '' && $products[product].fclassid > 0 && $printable ne 'Y'} {include file="modules/Feature_Comparison/compare_checkbox.tpl" id=$products[product].productid} {/if} </TD> <TD valign="top"> <TABLE border="0" width="100%" cellpadding="0" cellspacing="0"> <TR> <TD class="ProductTitleBorder" colspan="2">[img]{$ImagesDir}/spacer.gif[/img]</TD> </TR> <TR class="ProductTitleTopBorder"> <TD width="7">[img]{$ImagesDir}/spacer.gif[/img]</TD> <TD height="22"> <FONT class="ProductTitle">{$products[product].product}</FONT> {***** {$lng.lbl_sku}: {$products[product].productcode} *****} </TD> </TR> </TABLE> <TABLE border="0" width="100%" cellpadding="2" cellspacing="0"> <TR> <TD width="2">[img]{$ImagesDir}/spacer.gif[/img]</TD> <TD> <FONT size="1"> {$products[product].descr|truncate:300:"...":true} </FONT> {if $products[product].product_type eq "C"} {include file="buttons/details.tpl" href="product.php?productid=`$products[product].productid`&cat=`$cat`&page=`$navigation_page`"} {else} {if $active_modules.Subscriptions ne "" and $products[product].catalogprice} {include file="modules/Subscriptions/subscription_info_inlist.tpl"} {else} {if $products[product].taxed_price ne 0} {if $products[product].list_price gt 0 and $products[product].taxed_price lt $products[product].list_price} {math equation="100-(price/lprice)*100" price=$products[product].taxed_price lprice=$products[product].list_price format="%3.0f" assign=discount} {if $discount gt 0} <FONT class="MarketPrice">{$lng.lbl_market_price}: {include file="currency.tpl" value=$products[product].list_price} </FONT> {/if} {/if} {if $active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""} <S> {/if} <FONT class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</FONT><FONT class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""}, {/if}{$lng.lbl_save_price} {$discount}%{/if}</FONT> {if $active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""} </S> {/if} {if $products[product].taxes} <TABLE border="0"> <TR> <TD>[img]{$ImagesDir}/spacer.gif[/img]</TD> <TD>{include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes}</TD> </TR> </TABLE> {/if} {if $active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""} {include file="modules/Special_Offers/customer/product_special_price.tpl" product=$products[product]} {/if} {else} <FONT class="ProductPrice">{$lng.lbl_enter_your_price}</FONT> {/if} {/if} {if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl" product=$products[product]} {/if} {/if} </TD></TR> </TABLE> </TD></TR> </TABLE> {/section} {if $active_modules.Feature_Comparison ne '' && $products && $printable ne 'Y'} {include file="modules/Feature_Comparison/compare_selected_button.tpl"} {/if} {else} {$lng.txt_no_products_found} {/if} {/if}
__________________
Version 4.1.11
Reply With Quote
  #4  
Old 01-10-2006, 06:47 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Comment out this chunk of code:

Code:
<TD width="90" align="center" valign="top"> <TABLE border="0" cellpadding="0" cellspacing="0"> <TR> <TD valign="top" align="center"> {if $active_modules.Special_Offers ne "" and $products[product].have_offers} {include file="modules/Special_Offers/customer/product_offer_thumb.tpl" product=$products[product]} {else} {include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url} {/if} </TD> </TR> {***** <TR> <TD height="18" align="center"> {$lng.lbl_see_details} </TD> </TR> *****} </TABLE> {if $active_modules.Feature_Comparison ne '' && $products[product].fclassid > 0 && $printable ne 'Y'} {include file="modules/Feature_Comparison/compare_checkbox.tpl" id=$products[product].productid} {/if} </TD>

You'll need to remove the comments you have in there now or they will screw up the other comments.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-10-2006, 06:50 AM
 
RobinBraves RobinBraves is offline
 

Advanced Member
  
Join Date: Oct 2005
Location: FL
Posts: 98
 

Default

Wow! You are wonderful! Thanks a bunch!
__________________
Version 4.1.11
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:04 AM.

   

 
X-Cart forums © 2001-2020