• Hello,
    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)

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Roy Ho

    (@splashingpixelscom)

    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?

    Thread Starter gregor59

    (@gregor59)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Many to many post relationships’ is closed to new replies.