Skip Navigation

[Resolved] New Price Range Filter for WooComerce

This support ticket is created 4 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 29 replies, has 3 voices.

Last updated by Shane 4 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#1834925

Hello Shane,

We had to rebuilt it. I will send you the login details tomorrow so you can assist us.

Thanks

#1835709

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Shane is off for a couple of days, I'll see if I can help.

Let me set a private reply if you are going to share login details.

#1840401

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Any updates on this one ?

#1841227

Hello Shane,

Any news on this? I really need to get this fixed to launch the website. I don't see any obvious reason of why this is happening.

hidden link

#1841279

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I'm trying to see how best we can resolve this one as soon as possible.

1. We can't set pagination properly, we can add it on the loop but the pagination is not working, same properties are being shown when you try to change page.

I see on the on the page that you have 2 pagination, so i'm not sure I understand the issue correctly regarding the pagination. Both Pagination work, is it that the top one you are referring to not being displayed correctly like the one at the bottom?

2. We want to display 25 items per page and to be able to use pagination properly

I suspect for this you want to display something like 25-50 of 633 items, rather than how it is now at 10-10 of 633 and then 20-20 of 633.

I'm currently working on this so you will see some changes.

Thanks,
Shane

#1841307

1. The pagination on the top we added it to check if it will work. It seems to work but if you check when you change page on the pagination the same properties are shown, so we are only getting the first set of properties from the first page. Same properties get repeated for each page on the pagination.

2. In this case what we want is that for each page on the pagination 25 items are shown every time yo change pages when using pagination

The Pagination on the bottom i's not sure where is coming from. I suspect is from woocommerce. But we didn't add that.

#1841333

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I had to recreate the view in order for the pagination items to work correctly. Here is my test here
hidden link

Can you try the pagination and let me know if it is producing your desired results then we can move to the next issue ?

Thanks,
Shane

#1841337

Perfect Shane. Pagination Works now. Can we have it display al the numbers across the full width even if it takes 2 lines ?

#1841353

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Yes we actually can. This setup was just a proof that the pagination actually work. You can customize it to your liking. If you edit the view and click on the "Pagination Controls" button you can add a new set of paginations and remove the ones i've added.

With this new set you are free to setup the pagination how you like it.

Thanks,
Shane

#1841375

Perfect.

There is a new issue I wanted to discuss with you. On the Block view design we have added a Add to cart block but when you go to the view page the button is not showing. If you check with the developer tools the section for the button is there but is not showing for some reason.

Before I had to put it with a generated shortcode from views and it shows but it won't let me change the text on the button that needs to say "Add to InfoCart"

#1841535

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

In order to keep the threads streamline it would be best to open a new ticket so that it can be tracked as a separate issue.

This is so that we don't break the flow of the current thread where we are handling now the pagination issue. Also the forum is quite loaded at the moment so my responses will be delayed.

Thanks,
Shane

#1842225

Perfect. The pagination is working fine now. Only issue now is the Add to cart button. But i will create a new ticket as you requested unless you want to help me out with that now.

#1842235

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi ,

I've added the following to your view.
[wpv-pager-current-page] of [wpv-pager-total-pages]

This should now display the correct page count out of the total number of pages.

Please let me know if everything is ok with this ticket.

Thanks,
Shane

#1842281

It works fine Thanks. Something else I that is not actually sorting from low to high prices by default, we had set it Ascending to Descending on the view. It is sorting but is not displaying the lowest price, Does this gets applied per page or is a general filter?

However when you use the filter we created it does sort it correctly.

#1842623

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Given that we have resolved the original issue of this thread, then I would Advise that you open a new ticket with the sorting issue so that it can be handled as a separate issue.

Thanks,
Shane