I’m working with WooCommerce and genesis and the connect plugin. Everything was working just fine till now. I’ve edited the single-product.php from the connect plugin and put it in my theme folder. SInce then I got the wrong breadcrumb structuur. In WooCOmmerce it would give home | category | subcategory | product name
Now, with the genesis single-product it gives home | product | productname.
I removed the line that removes the genesis breadcrumbs. I’ve to breadcrumbs now, the genesis (wrong) one and the WooCommerce right one, but on the wrong place. (http://staging.bertplantagie.com/product/eetkamerstoelen/pose/)
What I like for the single product page is the breadcrumstructure WooCommerce is making. How can I get that. It says that there is no need to want the woocommerce breadcrumbs, but since they are different and the woocommerce one is the right one, I like to have the woocommerce breadcrumbs back. Where are they hooked or how do I get the right structure
I think I fixed it. Maybe not the correct way, but in the functions.php I removed the action genesis_do_breadcrumbs and added the action woocommerce_breadcrum on the wanted hook. In the single-product I add the remove_action for the WooCommerce-breadcrumbs, because otherwise I had to lines with breadcrumbs. Maybe not the right way, but now I have the breadcrumbs with the right structure. Don’t know why that goes wrong using the single-product.php from genesis connect.
I couldn’t recreate your original issue on my test site, ie the Genesis breadcrumbs worked for for me. If you look at the GCW single-product.php template you will see the code you need to comment/uncomment in order to use WooC’s breadcrumbs instead. (Obviously, only edit your custom template, not the plugin’s single-product.php.)
Hope that makes sense!
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘[Plugin: Genesis Connect for WooCommerce] wrong breadcrumb-structure’ is closed to new replies.