View Single Post
  #13  
Old 09-27-2011, 03:55 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: help with products_list.tpl problem, repeating product?

No, that is not going to work. Don't try to empty everything out and start with a blank, just edit what is there to achieve the desired effect.

What I would do, is first use webmaster mode, to ensure that products_t.tpl is the template that is displaying the table that you are trying to change.

Then simply enable Admin->General Settings->Appearance->Display product code (SKU) in the products list.

Now in products_t.tpl line 23 see this:
Code:
<div class="sku">{$lng.lbl_sku}: {$product.productcode|escape}</div>
Delete {$lng.lbl_sku}: and then add your <a></a> around {$product.productcode|escape}
__________________
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.
Reply With Quote