View Single Post
  #1  
Old 04-08-2011, 05:05 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,471
 

Default Total number of products status displayed is incorrect?

Hi All ...

I have an issue with 4.4.2 in which I've designed a product listing page and when i've assigned products to a certain category they display fine with the correct status message at the bottom.

e.g. Displaying 1-8 of 24 Products

However, If I assign featured products to that particular category, the status message displays the number of featured products rather than the number of category based products.

I've attached a screen-shot so you can see what I mean.

The page subcategories.tpl have the following code to display the featured products (if any) then the category products.

Code:
{if $f_products} {include file="customer/main/featured_products.tpl"} {/if} {if $cat_products} {include file="customer/main/navigation_fe_top.tpl"} {include file="customer/main/products.tpl" products=$cat_products} {include file="customer/main/navigation_fe_bottom.tpl"} {elseif not $cat_products and not $categories} <p>{$lng.txt_no_products_in_cat}</p> {/if}

The code for featured_products.tpl has the following:

Code:
<div class="grid-6 h2-block block-shad-bot"> <h2>{$lng.lbl_featured_products}</h2> </div> {include file="customer/main/products.tpl" products=$f_products featured="Y"}

Any ideas/clues to what maybe causing the issue?

Thanks a lot!

Shafiq :sK
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	335
Size:	70.6 KB
ID:	2522  
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote