The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Custom post types and woocommerce (2 posts)

  1. taropaa
    Posted 3 years ago #

    Hi, I have an awesome template, that uses a custom post type to showcase artwork. Would there be any way to just have woocommerce work with that custom post type (and any custom post types) without having to spend 20 hours of coding on it?


  2. royho
    Plugin Author

    Posted 3 years ago #

    You should think the other way around. Instead of making your custom artwork display the products, you should make the products display like your custom artwork.

    So another words, since the CSS/HTML structure is already there, you simply copy that for a custom query of the products you want to display. Since WooCommerce product is a custom post type, you can use the native WP_Query class to build the list of products you want to display and with your custom artwork display.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.