Ready to get started?Download WordPress


WooCommerce - excelling eCommerce
Many to many post relationships (3 posts)

  1. gregor59
    Posted 9 months ago #

    I'm building a jewellery site using WooCommerce. Here is a link to the preview url: http://www.chitchatpublishing.com

    The shop has several categories, ie Wedding Rings, Gold jewellery, One Off Pieces, Elegant Textured etc and within each category is a product type, ie Rings, Necklaces, Earrings, etc.
    I want to display the product type as a submenu of the product category but only showing the product type that belongs to that particular category. For example the menu item 'One Off Pieces' and the menu item 'Elegant Textured' both have a submenu of product type 'Rings' but currently they both point to all rings available in the shop but should only show the rings available in that particular category.

    I've used the Types plugin to implement a Custom Post Type named 'Product Type' and assume it's a case of inserting PHP code to get it to work but I'm now struggling.

    P.S, I'm fine with CSS and HTML but PHP is new to me (just to let you know what level I'm at)


  2. Roy
    Posted 9 months ago #

    If what I understand is correct, you can simply put the sub-category of your choice into the menu via the menu setting page. Why would you need to create custom post type for this?

  3. gregor59
    Posted 9 months ago #

    Thanks for pointing me in the right direction splashingpixels. I was making it more complicated than it actually is.


You must log in to post.

About this Plugin

About this Topic