WordCamp Philly - WP e-Commerce

Post on 17-Jun-2015

924 views 2 download

Tags:

description

Justin Sainton's presentation on WordPress E-Commerce.

transcript

Extending WP-E-

Commerce{WPEC & Subscriptions}

Justin SaintonCore Developer

WP e-Commerce

WordCamp Philly 2010

WordCamp Philly 2010

{Me}

Justin Sainton@JS_Zao

zaowebdesign.comoffice@zaowebdeisg

n.com

WordCamp Philly 2010

What is “WordPress e-Commerce”?

• Over ~800,00 downloads from WP.org• First version released early 2006• Much of the codebase developed circa WP 1.5 – 2.0• Alternatives?

• Shopp, osCommerce, magento, YAK, eShop, e-commerce themes, etc.

WordCamp Philly 2010

What’s new in 3.8?

• Custom Post Types / Taxonomies• Tax System completely overhauled• UI Overhaul (Products, categories, variations)• Almost 200 filters/actions• WP Themes• More info? Getshopped.org• Feeling brave?

• http://svn.wp-plugins.org/wp-e-commerce/branches/3.8-development

WordCamp Philly 2010

WordCamp Philly 2010

WordCamp Philly 2010

WordCamp Philly 2010

What’s new in 3.8?

• Custom Post Types / Taxonomies• Tax System completely overhauled• UI Overhaul (Products, categories, variations)• Almost 200 filters/actions• WP Themes• More info? Getshopped.org• Feeling brave?

• http://svn.wp-plugins.org/wp-e-commerce/branches/3.8-development

WordCamp Philly 2010

WordCamp Philly 2010

What’s new in 3.8?

• Custom Post Types / Taxonomies• Tax System completely overhauled• UI Overhaul (Products, categories, variations)• Almost 200 filters/actions• WP Themes• More info? Getshopped.org• Feeling brave?

• http://svn.wp-plugins.org/wp-e-commerce/branches/3.8-development

WordCamp Philly 2010

WordCamp Philly 2010

WordCamp Philly 2010

WordCamp Philly 2010

WordCamp Philly 2010

What’s new in 3.8?

• Custom Post Types / Taxonomies• Tax System completely overhauled• UI Overhaul (Products, categories, variations)• Almost 200 filters/actions• WP Themes• More info? Getshopped.org• Feeling brave?

• http://svn.wp-plugins.org/wp-e-commerce/branches/3.8-development

WordCamp Philly 2010

How do I build on it?

• Like WP, WPeC is a platform• Remember the hooks (actions/filters)?

• http://getshopped.org/resources/hooks-and-filters/

• Chances are, if you can conceive it, you can build it in WP and WPeC.

WordCamp Philly 2010

Ménage à

trois

WordCamp Philly 2010

WPeC Members & Subscriptions

• Beta Plugin• Allows for the creation of recurring subscriptions, Authorize.net ARB integration, different access levels to hidden content based on user capability, etc.• Hooks into both WP and WPeC filters and actions.

WordCamp Philly 2010

add_filter('wpsc_products_page_forms', 'wpsc_add_purch_cap_product_form');

WordCamp Philly 2010add_action('edit_form_advanced','wpsc_post_required_capabilities');add_action('edit_page_form', 'wpsc_post_required_capabilities‘);add_action('wp_insert_post', 'wpsc_save_post_required_capabilities');

WordCamp Philly 2010add_filter('wpsc_post_insufficient_capabilities', 'wpsc_insufficient_capability_messages',);add_action('the_posts','wpsc_restrict_post_access');

Logged in, but haven’t purchased subscription.

Haven’t logged in yet

WordCamp Philly 2010

Questions?

WordCamp Philly 2010

Questions?

Justin Sainton@JS_Zao

zaowebdesign.comoffice@zaowebdeisg

n.com

Extending WP-E-

Commerce{WPEC & Subscriptions}

Justin SaintonCore Developer

WP e-Commerce

WordCamp Philly 2010