View Single Post
  #9  
Old 08-27-2014, 06:56 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Product Grid Layout

ok a few issues.

contents of my file

Code:
{* vim: set ts=2 sw=2 sts=2 et: *} {** * Item price * * @author Qualiteam software Ltd <info@x-cart.com> * @copyright Copyright (c) 2011-2013 Qualiteam software Ltd <info@x-cart.com>. All rights reserved * @license http://www.x-cart.com/license-agreement.html X-Cart 5 License Agreement * @link http://www.x-cart.com/ * * @ListChild (list="itemsList.product.grid.customer.info", weight="30") * @ListChild (list="itemsList.product.small_thumbnails.customer.details", weight="25") * @ListChild (list="itemsList.product.list.customer.info", weight="40") * @ListChild (list="itemsList.product.table.customer.columns", weight="40") * @ListChild (list="productBlock.info", weight="300") *} {t(#Our Price#)}: <widget class="\XLite\View\Price" product="{product}" displayOnlyPrice="true" /> {if:product.getMarketPrice()} {t(#Market price#)}: <span class="value">{formatPrice(product.getMarketPrice(),null,1)}</span> {end:}

http://www.2techchicks.com/xc514/

stuff showing twice.
If I remove this
* @ListChild (list="itemsList.product.grid.customer.info", weight="30")

the issue goe away. Do i remove all the listchild calls?

Market price is not showing.
If I remove the if statement it shows but on all products.

our price and market price show in left list. Only want this in the grid portion in the middle.

thanks. ash
__________________
xcart 5.1.2
Reply With Quote