Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Danny Maitland-Smallman
Danny Maitland-Smallman
505 Points

WooCommerce or Custom Posts and fields

Hello guys,

I am going through the WooCommerce videos with Zac here on Treehouse. The plugin seems great but is there much of a difference between using WooCommerce to building a new theme and using Custom posts and fields.

It would be easy enough to build a new theme with a lot of the functions that Woo offers, like product pages etc.

I am asking since Zac does not go into great detail on how to add Woo to a custom theme, so simply put

As a WordPress dev would it be better to use Woo or use Custom Posts types and fields?

Thank you Guys!

1 Answer

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

If you don't want to sell products and only list them on the site then you can use custom posts. However, coding out the cart, checkout pages and all the other actual ecommerce features would be a ton of work and take a lot more than just adding custom posts unless you wanted something simple like a custom field to paste in a PayPal buy now button.