X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Change Layout of Products List Page (https://forum.x-cart.com/showthread.php?t=49204)

tirebouchons 08-17-2009 04:28 PM

Change Layout of Products List Page
 
I would like to edit customer/main/products_list.tpl so that the Description appears above the SKU/Product Code.

As a newbie I haven't gained the confidence to move the code around effectively yet.

Any guidance would be greatly appreciated.

Thanks.

cflsystems 08-17-2009 04:43 PM

Re: Change Layout of Products List Page
 
Find
Code:

        <div class="descr">{$product.descr}</div>
and move it above
Code:

        {if $config.Appearance.display_productcode_in_list eq "Y" && $product.productcode ne ""}
          <div class="sku">{$lng.lbl_sku}: {$product.productcode|escape}</div>
        {/if}


badgesales 09-14-2009 10:27 AM

Re: Change Layout of Products List Page
 
I would like to do this, but I can't find the code you are referring to in my customer/main/products_list.tpl

cflsystems 09-14-2009 12:12 PM

Re: Change Layout of Products List Page
 
In 4.2 original code is <p class="descr">{$product.descr}</p>
You should really upgrade to 4.2.1 or 4.2.2 as 4.2 had some bugs and improper code (like this one)


All times are GMT -8. The time now is 02:44 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.