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)
-   -   Prices not showing in Best Sellers list (https://forum.x-cart.com/showthread.php?t=56045)

minfinger 10-16-2010 02:48 PM

Prices not showing in Best Sellers list
 
I did a little customer thing with the best sellers list on the front page show it would show every dog on the site that was for sale. Now some of the prices aren't showing in the list and I'm a little puzzled.

www.littlepuppiesonline.com

Here's the best sellers code:
Code:

{if $bestsellers}
  {capture name=bestsellers}
        <ul class="bestsellers-products-item">
      {foreach from=$bestsellers item=bestseller}
          <li>
          {if $config.Bestsellers.bestsellers_thumbnails eq "Y"}
            <a href="product.php?productid={$bestseller.productid}&amp;cat={$cat}&amp;bestseller=Y">{include file="product_thumbnail.tpl" productid=$bestseller.productid product=$bestseller.product tmbn_url=$bestseller.tmbn_url image_x=$car_tw image_y=$car_th}</a>
            <div class="details">
              <a class="product-title" href="product.php?productid={$bestseller.productid}&amp;cat={$cat}&amp;bestseller=Y">{$bestseller.product|escape}</a><br />
              <br />
              {$bestseller.descr}
              <br /><br />
              <span class="price">{$lng.lbl_our_price}:</span> <span class="price-value">{include file="currency.tpl" value=$bestseller.taxed_price}</span>
            </div><br /><br />
            <div class="clearing"></div>
          {else}
            <a class="product-title" href="product.php?productid={$bestseller.productid}&amp;cat={$cat}&amp;bestseller=Y">{$bestseller.product|escape}1</a><br />
            <span class="price">{$lng.lbl_our_price}:</span> <span class="price-value">{include file="currency.tpl" value=$bestseller.taxed_price}</span>
          {/if}
        </li>
      {/foreach}
    </ul>
  {/capture}
  {include file="customer/dialog.tpl" title=$lng.lbl_bestsellers content=$smarty.capture.bestsellers}
{/if}


It appears that there's not a "value=$bestseller.taxed_price" for each dog. Is there a reason that the code wouldn't be picking this up?


All times are GMT -8. The time now is 11:48 PM.

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