Skip Navigation

[Resolved] Display Woocommerce product select by taxonomy custom on a WordPress page

This thread is resolved. Here is a description of the problem and solution.

Problem:
I'd like to use those pages to manage content and display the products.
The same as a catalog page but with text and content before the products.
How can I do that ?

Solution:
I have created 3 pages, changed Taxonomy Filter in the View and displayed products of related country on each of these:
https://www.hotsauce.ch/en/product-country-usa/
https://www.hotsauce.ch/en/product-country-germany/
https://www.hotsauce.ch/en/product-country-mexico/

I have used one same View to handle all these pages, you can create separate Views for each of these if you like to do.

Shortcode I have added inside each of these pages are like this, respectively:

For USA: [wpv-view name="product-country-usa" wpvcountry="united-states"]
For Germany: [wpv-view name="product-country-usa" wpvcountry="germany"]
For Mexico: [wpv-view name="product-country-usa" wpvcountry="mexico"]

Below is the screenshot for Product Country USA page for example.
https://cdn.toolset.com/wp-content/uploads/2017/09/567994-Product_Country_USA.png?x41285

This support ticket is created 7 years, 3 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
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 19 replies, has 2 voices.

Last updated by fabioB 7 years, 2 months ago.

Assisted by: Noman.

Author
Posts
#567994

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Product Country USA.png

I have created 3 pages, changed Taxonomy Filter in the View and displayed products of related country on each of these:
hidden link
hidden link
hidden link

I have used one same View to handle all these pages, you can create separate Views for each of these if you like to do.

Shortcode I have added inside each of these pages are like this, respectively:

For USA: [wpv-view name="product-country-usa" wpvcountry="united-states"]
For Germany: [wpv-view name="product-country-usa" wpvcountry="germany"]
For Mexico: [wpv-view name="product-country-usa" wpvcountry="mexico"]

Attached is the screenshot for Product Country USA page for example. I hope this is correct result now that you wanted to achieve on these country based pages.
Thank you

#567999
Capture d’écran 2017-09-08 à 16.55.12.png

That's exactly what I made.

And the bug on my products page is still there. So I can't use your plugin like this.

Watch the screenshot.

#568039

I had to disable the Views and Woocommerce Views because I can't run my website like this during the weekend...

🙁

#568040

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Theme Product  Template.png

This is Product Single Page and not the Catalog page that we were talking about at first.

See attached screenshot, I changed some settings now single product page is working fine too:
hidden link
hidden link
hidden link
hidden link

If you are not using Layouts plugin, then I would suggest to deactivate that.

And since this is a separate issue on the Single Product page, if you need more help with this, please open a new ticket for it and we will look further.

Thanks

#568999

OK fine.

Thank's for your help.