SP Property is Listing All My Properties When I Click On Page 2, Not Only The Products From The Selected Category - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

SP Property is Listing All My Properties When I Click On Page 2, Not Only The Products From The Selected Category

M

mircea

Extension 6 months ago

Hello! On my website https://idealcontainer.ro/ I'm having a problem with listing the properties from SP Property on pages 2, 3, 4, etc.

For example: when I select a category to display the products, a page with a maximum of 12 products (3 x 4) is displayed, and at the bottom, it shows me the number of remaining pages to view in that category (eg, it shows only 2 at first).

The problem occurs when I click on page number 2, because it loads all the products from the site (all 7 pages), not just the products from the selected category.

I've noticed that this display error occurs with absolutely all selected categories, starting from page 2.

Can you help me so that only the products that meet the chosen criteria are displayed on each page?

Thank you!" and https://prnt.sc/WrLtNpAVAwn_

0
15 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #187626

Hi there,

The item index starts from '0'. When you click on the next page, you will see '12' (The number of items per page can be adjusted as needed). This follows Joomla’s default system. Please check the blog menu for more details.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
M
mircea
Accepted Answer
6 months ago #187666

Hi Toufiq, the problem is that I don't see only the items from the selected category in the second page, I see all items from the Sp Properties.

Please, try for yourself: 1 - Please select from menu Proprietati / I - Containere modul standard You will see 12 products on the page and it shows that there is a second page. (They're 18 items according to the backend selection) 2 - When you press the second page, you will see that the page change it and it shows all items from the site.

Or, you can use the search from the first page and select first category ( Containere Modulare) and then select second page. Direct link : https://idealcontainer.ro/index.php?option=com_spproperty&view=properties&catid=57&min_price=0&max_price=15000&minsize=0&maxsize=50&searchitem=1&Itemid=190 Then, press the second page and see that it shows 7 pages instead of 2.

Thank you!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #187774

Please, try for yourself: 1 - Please select from menu Proprietati / I - Containere modul standard You will see 12 products on the page and it shows that there is a second page. (They're 18 items according to the backend selection) 2 - When you press the second page, you will see that the page change it and it shows all items from the site.

I have checked and i would request you to check the Joomla default category blog post page. Then you will be clear.

I have checked and it returns the first Page.

0
M
mircea
Accepted Answer
6 months ago #187824

Dear Tufiq, I really need your help. It's impossible for me to visualize properties that fulfill a given condition on the frontend. They appear on the first page when I make the selection, but when I click on page number two, all products load, not just the selected ones.

So, how can I view only the products from Sp Properties that satisfy a specific criteria on the frontend?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #187825

Can you share a screencast video about your problem?

0
M
mircea
Accepted Answer
6 months ago #187827

This page is when I select a criteria: https://prnt.sc/wTrFPeo6KD0V

Then, it appear a page with 12 products on the page, and it shows that there is one more page (it should be 18 items according to my selection): https://prnt.sc/SL2O98GLaNQh

And then, when I select page 2 to see the other 6 items, it shows all the items, not the remaining 6: https://prnt.sc/KuL5lkQ4IJmh If I haven't explained it clearly enough, please tell me how I can send you a recording? Thank you very much!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #187900

Please check now. I have increase the limit of properties limit.

0
M
mircea
Accepted Answer
6 months ago #187905

Hi dearToufiq ! I could have done the same thing from the beginning, but this is a temporarily solution. I will have many items. What will I do with all the items on one page? The site will be slow, I think. Do you know why I can't reach second page?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #187939

If you have 1000 products and do wanna display the thousands of products on a single page?

0
M
mircea
Accepted Answer
6 months ago #187950

Dear Toufiq, I really don't understand why I can't get my message through to you via text. Imagine you had this real estate website. You'd want the site to run as quickly as possible, so you think a maximum of 12 products per category would be sufficient. However, you notice that when you go to page 2, all the products on the site load, not just those from the selected category. You send a help email to the support team, asking them to find a solution to this problem, meaning the selected products should scroll page by page, in multiples of 12 until the end. You're offered a solution to have 20 per page so there's no page 2, and the problem seems resolved. But the site is just starting out. After I create 200 products in that category, what do I do? Increase the display limit to 200 per page? That doesn't seem like a viable solution to me. Does it seem okay to you?

I noticed that if I am on the page: https://idealcontainer.ro/index.php/component/spproperty/properties?catid=57&Itemid=101 and add this suffix: "/?Itemid=0&start=24", I see the other selected 6 items from category:I - Containere modul standard as it should be.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #187955

Mainly this structure comes from the Joomla. We just implement it. If you have doubt, Please check the Joomla blog.

0
M
mircea
Accepted Answer
6 months ago #187960

Ok, I understand! What do you recommend if I will have more items in the future?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #187962

Normally, user search for their desired items by using pagination. It's normal behaviour.

0
M
mircea
Accepted Answer
6 months ago #187974

No, it's not a normal behaviour. As a user, If I make a filtration, normally, I want to see only the desired items, not all the items from the component.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #187978

I mean it's Joomla normal behaviour.

0