WordPress.org

Forums

WooCommerce - excelling eCommerce
Custom post types and woocommerce (2 posts)

  1. taropaa
    Member
    Posted 2 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?

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

  2. royho
    Member
    Plugin Contributor

    Posted 2 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 - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.