Set a custom menu on any side of my woocommerce page

Hi there,

trying to find out, how to implement a custom menu to any sige of my woocommerce page.
Means I already have created a custom menu.
I set a startpage for my woocommerce area of my homepage.
So that works pretty good. I can click on any category and see all products, which containing there.
The custom menu, which I have picked from the BB plugin and dropped to the left sidebarposition of the startpage disappear in the category view, as well as in the product view.
Of course, because I did not set it.

Please tell me a way, how to let this set menu from the start page put on any of it´s subcategories and productview.

Thanks a lot in advance!

Chris

[Content Hidden]

Hey Chris,

Those pages are being generated by WooCommerce dynamically, except the start page. The only way you can edit those is if you modify the corresponding WC template files under /wp-content/plugins/woocommerce/templates. If you’re interested, you can check the link below for more info.
https://docs.woothemes.com/document/template-structure/

Ben

Hey Ben,

just trying to customize my woocomerce template files.
In particular, I guess it´s mainly the single-product.php file.

However, if I go on like in your suggested wootheme documentation,
I should make an override for keeping my changes safe for updating woocommerce core-files.

In doing that, I copied the single-product.php from:
…/wp-content/plugins/woocommerce/templates
to:
…/wp-content/themes/bb-theme-child/woocomerce

I made some changes to the file, for a check, with no result at all.
But if I modify the core file, there will be done those changes.

So it seems to be, that I copied the file somehow on the wrong direction.
I put this file as well to check in this path:
…/wp-content/themes/bb-theme

No changes as well.
Where to put this file to do it right to overide the core?

Thanks once again!!!

Chris

Hey Chris,

The modified file goes to whatever theme you’re using. So if you’re using the child theme, then it should go to /themes/bb-theme-child/woocommerce. Not really sure what’s wrong there though. If you make the same changes to the core single-product.php file then it gets reflected? Have you tried clearing the BB cache? Do you have any other caching plugin installed? If you want us to check, we’ll need both temp admin access to the site as well as FTP access. :slight_smile:

Ben

Hey Ben,

Yes, the childtheme is the one which is active. So seems to be the right place for the files to include.
By the way, is it right that I have to install the BB-Theme first and after it the BB child theme?
That´s the way I installed it.
So, is that neccessary, or can I delete the BB theme than, when I will use just the child theme?

Further on, with the Topic:

If you make the same changes to the core single-product.php file then it gets reflected?
Yes, it does.
Have you tried clearing the BB cache?
Don´t not know, how to clear it. Is there a functionality by default to clear it?
Do you have any other caching plugin installed?
Right away I´ve done it. Choose ZenCache, ´cause WP Super Cache don´t installed propper. W3 total Cache seems a bit overdone all the functions. Have no idea, what is best choice for an easy Cache plugin, which just help me in Clearing old files Cache. May you have a recommendation?

However, I done a clear Cache in Zencache without any Change. May I was not able to see it, as a logged in user. Read that the Basic plugin Version is limited in that.
No idea, in what went wrong.

Would be nice if you have a look!

Chris

[Content Hidden]

[Content Hidden]

[Content Hidden]

Hey Chris,

Just accessed your site via FTP and it seems the woocommerce folder on your child theme is incorrectly spelled? It only has one letter ‘M’. Can you fix that and see if it works?

Ben

Hey Ben,

stupid mistake! : (
You´re right, that was easy.
Thanks a lot, that helped!!!
: )

Do you have a hint for my last post?
Any idea?

Thanks again!

Chris

Hi Chris,

I think the best course of action is for you to contact the WooCommerce support and ask your question there. :smiley:

Thanks,
Danny

Hey Danny,

probably yes, if there would be an open woocomerce forum anymore.
They closed it. Now just a member forum.

Anyway, I will find out for myself anyhow.

Hey Chris,

I would suggest searching for a plugin first before hard coding it yourself. I did a quick Google and found the plugin below. It may not be what you need exactly but maybe you can make it work.
https://wordpress.org/plugins/custom-related-products-for-woocommerce/

Re WC forums, can you not sign up and be a member? It would really save you a lot of time if you could ask them first since its their product, just like what Danny suggested above. :slight_smile:

Ben

Thanks Ben,

for your kind efforts.
But I need (like written in my headline of this topic) my custom menu in the sidebar
of my single-product. Woocommerce just put any productcategory in, without the chance to chooce which one is from interest for certain pages, and which not.
I searched for a plugin for hours, without success.
Whatever, I think by now that using too many plugins is kind of bad as well.
I need to keep them up to date and there´s an addiction to it.

I think I will find a custom code for the single-product.php, which exchange the default wc cat with the parent custom menu of each product.

Anyway, with your help I found the right spot, where to lay down the files for updatesave overriding.

Thank you, Ben!

Chris

No worries at all, Chris, and glad I could help! Have fun! :slight_smile:

Ben