Hi
Thanks for the lovely theme. I’m trying to get the breadcrumb trail in my shop to match my url structure. For example I have the following url structure:
/shop/aprons/all-in-flavour-apron/ – product
/shop/aprons/ – product categories
/shop/ – all products
This is working fine, but the breadcrumb trail uses the following for product categories:
/product-category/aprons/
Please could you let me know how I can change the breadcrumb trail to reflect the url structure.
Thanks you in advance
Matthew
Hi pinnygirls!
The breadcrumb already reflects the url structure. “aprons” is the parent category of “All in flavour apron” and that’s why the breadrumb displays it before “All in flavour apron” (Shop / Aprons / All in flavour apron) and the permalink also contains the “apron” slug (/shop/aprons/all-in-flavour-apron/). If you want to change the product-category slug go to Settings > Permalinks and change the “Product category base” slug/value. Not that you can’t completely remove the category base and get a category archive permalink like /shop/aprons/ instead of /product-category/aprons/ but you can use a shorter slug like /product-cats/aprons/. This is not a theme but wordpress/woocommerce limitation.
Best regards,
Peter
Thank you for the speedy reply.