View Single Post
  #232  
Old 06-11-2013, 03:42 AM
 
Pitak Pitak is offline
 

Advanced Member
  
Join Date: Jun 2012
Posts: 87
 

Default Re: X-Cart Adapt Template

Quote:
Originally Posted by PhilJ
Try removing or commenting out this line from skin/adapt/customer/main/products_t.tpl
Code:
{include file="modules/On_Sale/on_sale_icon_products_t.tpl" product=$product}

Phil, I can't find the above code in my products_t.tpl file.

Code:
<ul class="row_view"> {foreach from=$products item=product name=products} {if $active_modules.Product_Configurator and $is_pconf and $current_product} {assign var="url" value="product.php?productid=`$product.productid`&amp;pconf=`$current_product.productid`&amp;slot=`$slot`"} {else} {assign var="url" value="product.php?productid=`$product.productid`&amp;cat=`$cat`&amp;page=`$navigation_page`"} {if $featured eq 'Y'} {assign var="url" value=$url|cat:"&amp;featured=Y"} {/if} {/if} <script type="text/javascript"> //<![CDATA[ products_data[{$product.productid}] = {ldelim}{rdelim}; //]]> </script> <li{interline name=products additional_class="product-cell product-cell-buynow"}> <div class="product_block{if $product.have_offers} special{/if}{if $product.adapt_caption ne ""} promo{$product.adapt_caption}{/if}"> {*------------------------------------*} <div class="thumb_column"> {*------------------------------------*} <a href="{$product.alt_url|default:$product.page_url|amp}"{if $config.Adapt.adapt_image_preview eq "Y" && ($product.image_url || $f_product.image_url)} data-tooltip="sticky_{$product.productid}"{/if}>{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> {if $active_modules.Feature_Comparison} {include file="modules/Feature_Comparison/compare_checkbox.tpl"} {/if} {*------------------------------------*} </div> {*------------------------------------*} {*------------------------------------*} <div class="product_overflow"> {*------------------------------------*} <h2><a href="{$product.alt_url|default:$product.page_url|amp}">{$product.product|amp}</a></h2> <div class="pdetails"> {* <div class="descr pdescr expander">{if $config.Adapt.adapt_addon_glossary eq "Y"}<span class="glossary_highlight">{/if}{$product.fulldescr|default:$product.descr}{if $config.Adapt.adapt_addon_glossary eq "Y"}</span>{/if}</div> *} <div class="descr pdescr">{if $config.Adapt.adapt_addon_glossary eq "Y"}<span class="glossary_highlight">{/if}{$product.descr}{if $config.Adapt.adapt_addon_glossary eq "Y"}</span>{/if}</div> <div class="clearing"></div> {if $config.Appearance.display_productcode_in_list eq "Y"} {if $product.productcode} <div class="sku">{$lng.lbl_sku}: {$product.productcode|escape}</div> {else} <div class="sku">&nbsp;</div> {/if} {/if} {*----- {if $active_modules.Customer_Reviews and $rating_data_exists} {if $product.rating_data} {include file="modules/Customer_Reviews/vote_bar.tpl" rating=$product.rating_data productid=$product.productid} {/if} {/if} -----*} {*-------------------------------------*} {if $product.product_type eq "C"} {include file="customer/buttons/details.tpl" href=$url} {else} <div class="price_block"> {if not $product.appearance.is_auction} {if $product.appearance.has_price} <div class="price-row{if $active_modules.Special_Offers ne "" and $product.use_special_price ne ""} special-price-row{/if}"> <span class="price-value">{currency value=$product.taxed_price}</span> <span class="market-price">{alter_currency value=$product.taxed_price}</span> </div> {if $product.appearance.has_market_price and $product.appearance.market_price_discount gt 0} <div class="market-price"> <span class="market-price-value"><s>{currency value=$product.list_price}</s></span> </div> {/if} {if $product.taxes} <div class="taxes"> {include file="customer/main/taxed_price.tpl" taxes=$product.taxes is_subtax=true} </div> {/if} {/if} {if $active_modules.Special_Offers ne "" and $product.use_special_price ne ""} {include file="modules/Special_Offers/customer/product_special_price.tpl"} {/if} {else} <span class="price">{$lng.lbl_enter_your_price}</span><br /> {$lng.lbl_enter_your_price_note} {/if} </div> <div class="buy_block"> {if $active_modules.Product_Configurator and $is_pconf and $current_product} {include file="modules/Product_Configurator/pconf_add_form.tpl"} {elseif $product.appearance.buy_now_enabled and $product.product_type ne "C"} {if $login ne ""} {include_cache file="customer/main/buy_now.tpl" product=$product cat=$cat featured=$featured is_matrix_view=$is_matrix_view login="1" smarty_get_cat=$smarty.get.cat smarty_get_page=$smarty.get.page smarty_get_quantity=$smarty.get.quantity} {else} {include_cache file="customer/main/buy_now.tpl" product=$product cat=$cat featured=$featured is_matrix_view=$is_matrix_view login="" smarty_get_cat=$smarty.get.cat smarty_get_page=$smarty.get.page smarty_get_quantity=$smarty.get.quantity} {/if} {/if} {/if} </div> {*-------------------------------------*} </div> {*------------------------------------*} </div> <div class="clearing"></div> {*------------------------------------*} </div>{* /product_block *} </li> {*------------------------------------*} {/foreach} </ul> <div class="clearing"></div> {*-------------------------------------*}
Attached Files
File Type: tpl products_t.tpl (5.4 KB, 1 views)
__________________
X-Cart Gold Plus v4.6.6
xcartmods.co.uk reBOOT Template v3.52
Reply With Quote