Support Forum

Content of the article

WPBE - WordPress Posts Bulk Editor Professional
You need to log-in to create request (topic) to the support

Insert different filters on different pages

(new from 01-07-2019)
This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see green button on the right side) and press Save button.
If you not got email within 24 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I have a travel-agency and I want to show my products on 2 different pages.

  • FIRST PAGE = Individual trips
  • SECOND PAGE = Group-Travel

My products are a list of suppliers and every supplier is selling different country's and different kinds of trips.

So what I did:

I assigned to every product a category (Continent: eg. Europe) and some child-categories (Country's: eg. Spain, Italy, Germany, France, …)

So, In the Woocommerce-products-filter (by realmag777) you can choose a Continent-->Country and all suppliers are shown. This works correct.

But I assigned alsy to every product 1 attribute (this can be Individual trips OR Group-Travel OR BOTH.)

I don't want an extra choice in the same filter.

As I have 2 different pages on my website (1 for the individual trips and 1 for the Group-Travel), I want only the individual trips in the filter, schown on page 1 and only the group-trips in the filter, displayed on page 2.

I know I can do all this with an extra choice in the filter (individual or group), but I wonder if this is possible without a clients-choice (as they haven choosen page 1 or 2)

NOW my questions :

  1. Is this possible and which code I have to use?
  2. Where do I put that code?

Best Regards

Filip

 

 

Categories are : EUROPE - AFRICA - USA - etc...

Each Categorie has children : For EUROPE is this SPAIN, ITALY, GERMANY, etc..CategoreieC

Hello Filip

What  you  use   for  "Individual trips" AND "Group-Travel" - taxonomy(tag or attribute) OR  meta field

Use  shortcodes  [woof] AND [woof_products] on custom pages  with attribute taxonomies - https://products-filter.com/documentation/#section_3_2

For show or hide widgets on different pages - http://www.woocommerce-filter.com/how-to-show-or-hide-widget-only-on-selected-site-pages/

Hi, I tried as follows :

[woof sid="auto_shortcode" autohide=0 taxonomies=pa_aard-van-de-reis:491]
[woof_products per_page=8 columns=3 is_ajax=0 taxonomies=pa_aard-van-de-reis:491]

This works!

I didn't tell you all: I am using DIVI and it seems only to be possible to filter on categories. (so, filtering on attributes is not possible)

Any suggestion?

 

Hello

Sorry I did not understand you

Please drop  me  exact  link to the  issue

attribute filter not showing or not working?

Hello.

This is my shop-page : http://www.demolreizen.be/shop-volledig/

This is the answer I received today from DIVI-team:

Okay I got it - WOOF will only work on default shop page that comes with WooCommerce we can't apply that on a Divi Builder module.

Example

Hello

Very strange!

Please paste your license key here - https://c2n.me/42HBIt7.png and  wp-admin access - https://c2n.me/42BAoj4.png  And  exact  link to  the  (divi)page  where  you want show filter

 

The attribute has 3 results (see shop-page) - See problem above

Hello

Paste your license key here - https://c2n.me/42HBIt7.png 

You have inserted the wrong code

I have put everything I found on the invoice  in the private data box.

I don't know which number is the license Key

 

Hello

To get  license  key - https://c2n.me/43E6Sdi.jpg

OK, I hope my license is now correct

Hello

I did test - https://c2n.me/43EfuNc

 

I had never thought to put the WOOF-code in a (DIVI-)text box.

This works. Thanks for that.

Now, I want ONLY to show the Categories in the filter (and not the attributes)

Example

( i am trying to do it with : http://www.demolreizen.be/shop-groepsreizen-demol/

What is the WOOF-code for that ??

You may change it because everything is in  test-version

Hello

Use [woof by_only="none" tax_only="product_cat"] AND  read  this  please - https://products-filter.com/documentation/#section_3_2

You can test  it here - http://www.demolreizen.be/shop-groepsreizen-demol/

Hello,

On this page (http://www.demolreizen.be/shop-groepsreizen-demol/ ) I only use WOOF-PRODUCTS as I don't need the filter.

This is the code I use : [woof_products per_page=4 columns=4 is_ajax=1 taxonomies=pa_reisgezelschap:492]

This page will never have more then 4 products.

So, it is not necessary to show the item count and the sort filter on top of the products

How can I let dissapear this filter on my page ?

Hello

Try  to use CSS

.post-19434 .woocommerce-result-count,.post-19434 .woocommerce-ordering{

display: none;

}

Thank you Pablo, It works!

In the meantime another question concerning this page : http://www.demolreizen.be/etalage/

I am using this code : [wpdreams_ajaxsearchpro_two_column id=2 search_width=15 results_width=85 invert=0 element='div']

  1. As you can see the WOOF shows a scroll-bar. Is there a possibilty to show this bar in FULL HEIGHT? (I tried  to do with Product Filter/Design/UseBeauty scroll=No,but he still shows the scroll-bar
  2. I think there is also a bug when you scrolls with the scroll-bar; when you disable a check-box and scrolls the scroll-bar, all pictures disappear. (Those pictures are a visualisation of the content, which is a PDF)

Anyway, Probablu averything will work when I can show the WOOF in Full Height.

Hello

https://c2n.me/4411ARw.jpg - it has nothing to do with my plugin

Every product has many same categories.

Example :

Touroperator TUI sells Spain, France, Germany, …. (+ many many other counttries)

Another touroperator sells Spain, France, USA, … (+ many many other countries)

How can I make a filter using WOOF-shortcode where customers only see 2 choices : “Spain and France”.

(So all other countries may not be displayed in the filter)

I read something about ‘tax_exclude’ but this is not a good solution, because in that case I have to exclude too many countries.

 

 

Hello

In  this case  you  need  code   customization

Read  this  - https://products-filter.com/hook/woof_sort_terms_before_out/   - You can use this hook to limit the output of terms.