WooCommerce Product Category Widget Behaviour (navigating to products) - wordpress

I am very new here and hope I am going about this write. I searched topics but could not find one specifically about this.
I can't give a link to this because the site is in maintenance mode so I am going to try to explain it the best I can.
I have WooCommerce Product Category Widget setup as a sidebar navigation for a complex category setup.
I have:
Show hierarchy Only show children of the current category
Both checked on.
This works great when people are navigating the categories. But, as soon as they click on a product and it goes to a product page, the hierarchy closes in the sidebar. I'd like to still see those subcategories open while on the product page.
I can't turn off the Children option because, while it's a partial solution, the the entire complex tree is showing at all times and it's just way too big.
Is there some method to keep that hierarchy open once you go to a product page?
Thanks for any info.

Related

I need 2 separate purchase buttons on product page ----> one for simple and one for variations

I am totally stumped in figuring this out and I think I am doing too many extra things in order to fix a simple issue. (I hope)
I am an artist, and I am selling prints and am also offering the original piece for sale on my website. I am trying to figure out how, on the single product page, to add a SEPARATE button that allows the customer to purchase the original piece. I tried adding it as a variable but it is not user friendly and other selections disappear if customers want to go back and select other print options. I do not want the option to purchase the original piece mixed in as a variable. I want it totally separate.
I have created drop down pages for prints and originals on my main site menu but it is messing up when the base ‘shop’ page is clicked because doubles pop up for each product- one is presented as a range in price (the prints) and the other is what the original costs. It is confusing and looks terrible. On top of that, when I try to upload/add new art pieces to either the ‘prints’ or ‘original work’ categories, they don’t show up on either page, they only show up on the ‘base’ shop page.
Is there ANY way to simplify this into removing the ‘prints’ and ‘original works’ subcategories and only have my base ‘shop’ page to display each product, BUT adding a button for the option to ‘purchase original’ along with ‘purchase prints’ on the actual single product page? I have been looking for answers for weeks and haven’t found anything.
Please help!! Thank you so much in advance! I have no clue what I am doing!!!
I have tried adding the 'original' piece into the variations menu and it didn't work correctly. I created subcategories for 'originals' and 'prints' but that is making my base shop page display double products, and when I upload new products and put them in their correct category, they dont go onto those pages, they stay on the base page.
I just want a 'Purchase Original' <---- simple product and a 'Purchase Prints'<----- variable product with size/material options.

Make WooCommerce filters 'stick'

I'm new to WooCommerce..and I have my sidebar setup so that it lists the product categories and then also at the top provides the ability to apply filters. The filter works fine on the current page, but if the user clicks a different product category the filter is 'deactivated'. Is there not a way to have that filter stay on the whole time the user is browsing products in various categories? I want it to stay enabled until the user turns it off.
To me this seems like obvious functionality, as from a user perspective it would be annoying to have to turn it on each time I view a new category.
Am I just missing something to make this work? Or is there some kind of work around?
Thank you!

Advanced Wordpress categories listing

well at least for me this is advanced. I have one jewerly site with brands. For now i have fixed number of brands like 10 of them. I want each brand to have its own page with unique header/image/title/logo. When u enter brand landing page you see brand products. Click on read more hows product details page. Problem is that client want later to add himself new category new brand. And brand must be shown under menu and one slider on homepage. What is best way to do it ? What is proper way. So you have main menu -> our collections -> addlers for example. I want to list there all products from Adler but have unique header then other brands.
Link is -> http://www.mobilecommz.com/istanawordpress/our-collections/
Thanks a lot
Ok, this is how we do it in our blog.
Install the following plugins:
http://wordpress.org/plugins/widgets-on-pages/
http://wordpress.org/plugins/ultimate-posts-widget/
Than create a brand Page and use the shortcode of the widget on page plugin. Set up the widget with ultimate posts. Now you can filter by category or something.

Show only posts related to category or page wordpress

I'm kinda new to wordpress and was wondering if I could do the following:
Let's say I have a site for a bakery and in the mainmenu on top there are four links:
Home - About - Products - Contact
Under the page products I would have a number of posts : Bread, cupcakes, ..etc. all of these posts would be categorized under the category products. Now if I go to the products page I want to see only these posts in a sidebar. Therefor I have two questions:
How can I connect this category to this page
How can I show the posts from this category in a sidebar
If anything is unclear please feel free to ask me, also if you would suggest another way of working please let me know.
Much appreciated, thanks!
[EDIT]
I have found that it is better to add a category for this products category instead of a page. Now I'm still looking to display a static post as an intro for this products category.
For connect this category to this page
you can set product to category archive page from
wp-admin/nav-menus.php
you can create a simple page template to list category post
you can use http://wordpress.org/plugins/list-category-posts/ plugin and use short code like [catlist name="news"] in you page content.

How to exclude posts in taxonomy based on custom field?

I have a custom post type called 'real-estate' and a bunch posts (listings) within it. What I'm trying to do is create a handful of home styles and within them, specific listings of available homes.
So right now, I have the search query pulling in only the home styles from the search by only showing results with the custom field "model" set as "true." However, when clicking this, I would like it to display specific homes which are apart of that style.
For example, a search query will yield Home Style A and Home Style B. When the user clicks Home Style A, it would show a general overview of the home style, with a link to an archive page of specific homes (i.e. 123 Fake St., 456 Made-up Lane) but omit the Home Style A from displaying within that query.
Right now I'm accomplishing this by creating a new taxonomy called "Home Styles" and categorizing them as such. I'm displaying only the model homes by querying only posts with that custom field I mentioned above. That part is working fine. However, when I click the link to display the rest of the homes in that taxonomy (/model-homes/model-home-a/) it shows all posts within that taxonomy, including the model home listing. Is there a way I can exclude the model homes from the taxonomy archive similar to the way I'm only including them in the search? I'm hoping theres a solution to make it dynamic by editing the taxonomy-home-style.php instead of doing it for each term in case new ones are added frequently.
Hopefully this makes sense, I've been trying to wrap my brain around the concept for hours now and trying to think of the best solution to accomplish this. Thanks.
Nevermind, figured this out on my own. I made it more complicated than it was.
I used the method on this site to edit my taxonomy-model-home.php. Adding two lines of code and it works!
http://www.solo-technology.com/blog/2007/09/08/how-to-another-way-to-exclude-posts-from-the-front-page/

Resources