Post by glommy.rm » Sun Jan 10, 2016 12:25 pm

Hi,

When I click on a category and then click on page 2 onwards to view more products, page 2 on wards seems to be blank despite there being over 300 products in that category. Does anyone know how to resolve this?

New member

Posts

Joined
Tue Jul 28, 2015 10:50 pm

Post by tdaubs » Sun Jan 10, 2016 12:51 pm

Are you using a custom theme?

Do you have SEO URLs turned on? If so, do you get the same results when they are turned off?

Can you share a URL?

Image
Opencart Support . Opencart Galaxy . Buy Me a Coffee?


User avatar
Active Member

Posts

Joined
Fri Apr 08, 2011 4:51 am
Location - Southern California

Post by glommy.rm » Sun Jan 10, 2016 3:05 pm

Ím using a journal theme and yes I have SEO URL turned on. Problem continue to persist when turned off.

The URL is www.mymaxora.com

New member

Posts

Joined
Tue Jul 28, 2015 10:50 pm

Post by tdaubs » Sun Jan 10, 2016 4:25 pm

Seeing some strange behavior for sure.

By default... this page shows over 200 items for sale.

http://mymaxora.com/Makeup-Mekap/

However, if you change the amount of products to show on a single page to 25...

http://mymaxora.com/Makeup-Mekap/#/sort ... C/limit=25

then it only shows 48 products in the category.

I haven't ever seen this behavior in Opencart or Journal for that matter. I have a gut feeling though this is something to do with the theme. You might open a ticket on their support thread and let one of their developers take a look.

Image
Opencart Support . Opencart Galaxy . Buy Me a Coffee?


User avatar
Active Member

Posts

Joined
Fri Apr 08, 2011 4:51 am
Location - Southern California

Post by glommy.rm » Sun Jan 10, 2016 6:33 pm

thanks for taking a look, will try and contact them

New member

Posts

Joined
Tue Jul 28, 2015 10:50 pm

Post by glommy.rm » Sun Jan 10, 2016 6:49 pm

Ive identified the cause of the problem but havent found a solution
the problem stem from a modification I made to allow the sub categories to appear in the main category

<?xml version="1.0" encoding="UTF-8"?>
<modification>
<id>Display products from subcategories while browsing a parent category</id>
<version>1.0.0</version>
<vqmver>2.4.0</vqmver>
<author>Georgi Dyulgerov - ftutorials.com</author>
<file name="catalog/controller/product/category.php">
<operation>
<search position="after"><![CDATA['filter_category_id' => $category_id,]]></search>
<add><![CDATA['filter_sub_category' => true,]]></add>
</operation>
</file>
</modification>

New member

Posts

Joined
Tue Jul 28, 2015 10:50 pm

Post by tdaubs » Mon Jan 11, 2016 10:00 am

Modifying the system in this way is going to cause a lot of duplicate URL problems which is going to be bad for SEO.

Since the modification is breaking the system, why not just remove it and use child categories under a parent?

Also, the seo keywords for many of the categories have spaces in them. All seo keywords should have no spaces or special characters. Instead, use an underscore or a dash to separate words. e.g., big_blue_widgets instead of big blue widgets.

Image
Opencart Support . Opencart Galaxy . Buy Me a Coffee?


User avatar
Active Member

Posts

Joined
Fri Apr 08, 2011 4:51 am
Location - Southern California

Post by glommy.rm » Thu Jan 14, 2016 4:10 pm

i removed the modification and it all works now

New member

Posts

Joined
Tue Jul 28, 2015 10:50 pm

Post by maboku » Fri Jun 08, 2018 1:16 pm

I seem to be having similar issue where products disappeared after the recent journal theme update. i have logged a ticket with the development team, hopefully ill get a feedback sooner. i can not search or see them anywhere on the pages. My category count shows there are products but nothing comes up.

Newbie

Posts

Joined
Fri Feb 02, 2018 5:39 am

Post by scottyboyyy » Sat Jun 09, 2018 12:01 am

Code: Select all

$filter_data = array(
				'filter_category_id' => $category_id,
				'filter_filter'      => $filter,
				'sort'               => $sort,
				'order'              => $order,
				'start'              => ($page - 1) * $limit,
				'limit'              => $limit
			);
Editing this can cause what you mentioned.

"Sub categories to appear", you were showing products from sub categories on the parent category? Is that what you are trying to achieve?

Active Member

Posts

Joined
Fri Apr 07, 2017 2:36 am
Who is online

Users browsing this forum: No registered users and 183 guests