SlideShare uma empresa Scribd logo
1 de 32
Extending
Wp E-Commerce
Does What you’d
       expect
Product management
Does What you’d
        expect
Product management

Shipping Calculations
Does What you’d
        expect
Product management

Shipping Calculations

Tax Calculations
Does What you’d
        expect
Product management

Shipping Calculations

Tax Calculations

Coupons / Promotions
Does What you’d
        expect
Product management

Shipping Calculations

Tax Calculations

Coupons / Promotions

Payment Gateways
Gives you theming
     options
Full Product / Category List (products_page.php)
Gives you theming
     options
Full Product / Category List (products_page.php)

Single Product Page (single_product.php)
Gives you theming
     options
Full Product / Category List (products_page.php)

Single Product Page (single_product.php)

Checkout Page (shopping_cart_page.php)
Gives you theming
     options
Full Product / Category List (products_page.php)

Single Product Page (single_product.php)

Checkout Page (shopping_cart_page.php)

Transaction Results Page and User Profiles
Gives you theming
     options
Full Product / Category List (products_page.php)

Single Product Page (single_product.php)

Checkout Page (shopping_cart_page.php)

Transaction Results Page and User Profiles

Cart Widget - (cart_widget.php)
Extending
      WP e-Commerce
     the right way!
Keep WordPress and WP e-Commerce free from
modifications.

Make Plugins

Submit code for contribution / review
  http://getshopped.org/forums
  http://code.google.com/p/wp-e-commerce/
Extending
       WP e-Commerce
     the right way?
Use Hooks - make Plugins and/or Upgrades

Utilize hooks available:
  http://getshopped.org/resources/hooks-and-filters/

Currently there are limitations, but we are quickly
over coming them.

Talk to us!
More Than One Way
    ‘to skin a cat’
More Than One Way
    ‘to skin a cat’




 Hack the Plugin files
More Than One Way
    ‘to skin a cat’

                               Text



 Hack the Plugin files
 ---------------------------
 Make an Upgrade script
More Than One Way
    ‘to skin a cat’




 Hack the Plugin files
 ---------------------------
 Make an Upgrade script
 Make a Plugin
More Than One Way
    ‘to skin a cat’




 Hack the Plugin files
 ---------------------------
 Make an Upgrade script
 Make a Plugin
 Make your own custom theme
Plugin
• Starts with a Plugin Header
Plugin
• Hooks into WP e-Commerce and WordPress via
 hooks




   http://getshopped.org/resources/hooks-and-filters/
Plugin
• Hooks into WP e-Commerce and WordPress via
  hooks

• Starts with a Plugin Header
• Lives in the Plugin Directory
• Needs to be Activated from the Plugins Page
Plugin - examples
• The WPEC Plugin Skeleton
• WPEC-disable-dynamic-stylesheets
• Downloadables Importer
• jPlayerPlugin
Upgrade Modules
• Starts with an Upgrade header (just like Plugins only
  different)
Upgrade Modules
• Hooks into WP e-Commerce and WordPress via
 hooks




   http://getshopped.org/resources/hooks-and-filters/
Upgrade Modules
• Starts with an Upgrade header (just like Plugins only
  different)


• Hooks into WP e-Commerce and WordPress via
  hooks

• Code is placed in:
    • WordPress : `wp-content/uploads/wpsc/upgrades/`
    • MS : `wp-content/blogs.dir/blog_ID/files/wpsc/upgrades/`
Upgrade Modules
       Examples
• Upgrades Skeleton
• No point showing you any other Upgrades all of
  them are being converted into Plugins
Theming
Default Location:
wp-content/plugins/wp-e-commerce/themes/

Safe Place Location:
WordPress: wp-content/uploads/wpsc/themes/
MS: wp-content/blogs.dir/blog_ID/files/wpsc/themes/

3.8 is moving to WordPress Themes - Even Better!
Demonstration




Warning: Live Coding ahead,, which could
      potentially lead to screaming
Extending
       WP e-Commerce
      the right way!
Make Plugins

Make WPSC Themes

Talk to us!
Questions ?
http://instinct.co.nz
http:// getshopped.org
twitter: @getshopped
twitter: @danmilward

Resource Link: Link to Post .....

             email : jeff@instinct.co.nz
             twitter : @jghazally
             blog: screamingcodemonkey.com

Mais conteúdo relacionado

Mais procurados

20171214_EC-CUBE meetup in Malaysia
20171214_EC-CUBE meetup in Malaysia20171214_EC-CUBE meetup in Malaysia
20171214_EC-CUBE meetup in MalaysiaTsuyoshi Nagahashi
 
Master WooCommerce Troubleshooting
Master WooCommerce TroubleshootingMaster WooCommerce Troubleshooting
Master WooCommerce TroubleshootingRodolfo Melogli
 
Using Established e-Marketplace
Using Established e-MarketplaceUsing Established e-Marketplace
Using Established e-Marketplacewebhostingguy
 
uWebshop Presentation @ BuugBE
uWebshop Presentation @ BuugBEuWebshop Presentation @ BuugBE
uWebshop Presentation @ BuugBEArnold Visser
 
Genesis and AMP: Amp-le room to build amazing digital experiences
Genesis and AMP: Amp-le room to build amazing digital experiencesGenesis and AMP: Amp-le room to build amazing digital experiences
Genesis and AMP: Amp-le room to build amazing digital experiencesWP Engine
 
promotional-campaign-wordpress-woocommerce-service
promotional-campaign-wordpress-woocommerce-servicepromotional-campaign-wordpress-woocommerce-service
promotional-campaign-wordpress-woocommerce-serviceDigital Systems
 
5 wordpress squeeze site plugins
5 wordpress squeeze site plugins5 wordpress squeeze site plugins
5 wordpress squeeze site pluginsgen78tau7
 
WDC - Presentation
WDC - PresentationWDC - Presentation
WDC - Presentationapondlife
 
Your WordPress Freelance Business Site
Your WordPress Freelance Business SiteYour WordPress Freelance Business Site
Your WordPress Freelance Business SiteBrian Hogg
 
Assignment 4 word press digi skill
Assignment 4 word press digi skillAssignment 4 word press digi skill
Assignment 4 word press digi skillNaumanMalik30
 
HighEdWeb 2014: Confessions of a CMS Generalist
HighEdWeb 2014: Confessions of a CMS GeneralistHighEdWeb 2014: Confessions of a CMS Generalist
HighEdWeb 2014: Confessions of a CMS Generalisttechiestephanie
 
Roel van bueren bundle commander
Roel van bueren   bundle commanderRoel van bueren   bundle commander
Roel van bueren bundle commanderGWAVA
 
WordcampNYC 2010 - Wordpress & Multimedia (Updated)
WordcampNYC 2010 - Wordpress & Multimedia (Updated)WordcampNYC 2010 - Wordpress & Multimedia (Updated)
WordcampNYC 2010 - Wordpress & Multimedia (Updated)Digital Strategy Works LLC
 
WooCommerce-The Best Alternative - by Sadip
WooCommerce-The Best Alternative - by SadipWooCommerce-The Best Alternative - by Sadip
WooCommerce-The Best Alternative - by SadipSadip Bhattarai
 
How to install computer repair joomla 3.1 website theme
How to install computer repair joomla 3.1 website themeHow to install computer repair joomla 3.1 website theme
How to install computer repair joomla 3.1 website themeTonytemplates
 
WooCommerce Customization Masterclass (WordCamp Dublin 2017)
WooCommerce Customization Masterclass (WordCamp Dublin 2017)WooCommerce Customization Masterclass (WordCamp Dublin 2017)
WooCommerce Customization Masterclass (WordCamp Dublin 2017)Rodolfo Melogli
 
Funny Christmas
Funny ChristmasFunny Christmas
Funny ChristmasElvaMay
 

Mais procurados (20)

20171214_EC-CUBE meetup in Malaysia
20171214_EC-CUBE meetup in Malaysia20171214_EC-CUBE meetup in Malaysia
20171214_EC-CUBE meetup in Malaysia
 
Master WooCommerce Troubleshooting
Master WooCommerce TroubleshootingMaster WooCommerce Troubleshooting
Master WooCommerce Troubleshooting
 
Using Established e-Marketplace
Using Established e-MarketplaceUsing Established e-Marketplace
Using Established e-Marketplace
 
uWebshop Presentation @ BuugBE
uWebshop Presentation @ BuugBEuWebshop Presentation @ BuugBE
uWebshop Presentation @ BuugBE
 
Genesis and AMP: Amp-le room to build amazing digital experiences
Genesis and AMP: Amp-le room to build amazing digital experiencesGenesis and AMP: Amp-le room to build amazing digital experiences
Genesis and AMP: Amp-le room to build amazing digital experiences
 
promotional-campaign-wordpress-woocommerce-service
promotional-campaign-wordpress-woocommerce-servicepromotional-campaign-wordpress-woocommerce-service
promotional-campaign-wordpress-woocommerce-service
 
5 wordpress squeeze site plugins
5 wordpress squeeze site plugins5 wordpress squeeze site plugins
5 wordpress squeeze site plugins
 
WDC - Presentation
WDC - PresentationWDC - Presentation
WDC - Presentation
 
Your WordPress Freelance Business Site
Your WordPress Freelance Business SiteYour WordPress Freelance Business Site
Your WordPress Freelance Business Site
 
Assignment 4 word press digi skill
Assignment 4 word press digi skillAssignment 4 word press digi skill
Assignment 4 word press digi skill
 
HighEdWeb 2014: Confessions of a CMS Generalist
HighEdWeb 2014: Confessions of a CMS GeneralistHighEdWeb 2014: Confessions of a CMS Generalist
HighEdWeb 2014: Confessions of a CMS Generalist
 
Roel van bueren bundle commander
Roel van bueren   bundle commanderRoel van bueren   bundle commander
Roel van bueren bundle commander
 
Getting Started With Wordpress
Getting Started With WordpressGetting Started With Wordpress
Getting Started With Wordpress
 
website details
website detailswebsite details
website details
 
WordcampNYC 2010 - Wordpress & Multimedia (Updated)
WordcampNYC 2010 - Wordpress & Multimedia (Updated)WordcampNYC 2010 - Wordpress & Multimedia (Updated)
WordcampNYC 2010 - Wordpress & Multimedia (Updated)
 
WooCommerce-The Best Alternative - by Sadip
WooCommerce-The Best Alternative - by SadipWooCommerce-The Best Alternative - by Sadip
WooCommerce-The Best Alternative - by Sadip
 
How to install computer repair joomla 3.1 website theme
How to install computer repair joomla 3.1 website themeHow to install computer repair joomla 3.1 website theme
How to install computer repair joomla 3.1 website theme
 
WooCommerce Customization Masterclass (WordCamp Dublin 2017)
WooCommerce Customization Masterclass (WordCamp Dublin 2017)WooCommerce Customization Masterclass (WordCamp Dublin 2017)
WooCommerce Customization Masterclass (WordCamp Dublin 2017)
 
Funny Christmas
Funny ChristmasFunny Christmas
Funny Christmas
 
AMP
AMPAMP
AMP
 

Destaque

WordCamp Philly - WP e-Commerce
WordCamp Philly - WP e-CommerceWordCamp Philly - WP e-Commerce
WordCamp Philly - WP e-CommerceZao
 
Distributed Computing
Distributed ComputingDistributed Computing
Distributed ComputingVarun Thacker
 
Distributed computing ).ppt him
Distributed computing ).ppt himDistributed computing ).ppt him
Distributed computing ).ppt himHimanshu Saini
 
Distributed computing
Distributed computingDistributed computing
Distributed computingshivli0769
 

Destaque (6)

Wp e commerce
Wp e commerceWp e commerce
Wp e commerce
 
WordCamp Philly - WP e-Commerce
WordCamp Philly - WP e-CommerceWordCamp Philly - WP e-Commerce
WordCamp Philly - WP e-Commerce
 
Distributed Computing
Distributed ComputingDistributed Computing
Distributed Computing
 
Distributed computing ).ppt him
Distributed computing ).ppt himDistributed computing ).ppt him
Distributed computing ).ppt him
 
Distributed computing
Distributed computingDistributed computing
Distributed computing
 
Distributed Computing
Distributed ComputingDistributed Computing
Distributed Computing
 

Semelhante a Extending WP-e-Commerce WordCamp UK

Amazing WordPress & Productivity Tips
Amazing WordPress & Productivity TipsAmazing WordPress & Productivity Tips
Amazing WordPress & Productivity TipsTony Cecala, Ph.D.
 
Top 100 wordpress plugins
Top 100 wordpress pluginsTop 100 wordpress plugins
Top 100 wordpress pluginsguz393
 
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTYWilliam Chong
 
WordCamp Belfast DevOps for Beginners
WordCamp Belfast DevOps for BeginnersWordCamp Belfast DevOps for Beginners
WordCamp Belfast DevOps for BeginnersStewart Ritchie
 
How to Import CSV or XML to WordPress.pdf
How to Import CSV or XML to WordPress.pdfHow to Import CSV or XML to WordPress.pdf
How to Import CSV or XML to WordPress.pdfSAA RAJESWAR MHURGAIYA
 
Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress developmentSteve Mortiboy
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014Judy Wilson
 
Switching from Canvas to Storefront
Switching from Canvas to StorefrontSwitching from Canvas to Storefront
Switching from Canvas to StorefrontHerb Miller
 
Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Jamie Oastler
 
WordPress
WordPressWordPress
WordPressrisager
 
45 in 45 - A WalkThrough the Joomla Extensions Directory
45 in 45 - A WalkThrough the Joomla Extensions Directory45 in 45 - A WalkThrough the Joomla Extensions Directory
45 in 45 - A WalkThrough the Joomla Extensions DirectoryRod Martin
 
WordPress Plugin Development- Rich Media Institute Workshop
WordPress Plugin Development- Rich Media Institute WorkshopWordPress Plugin Development- Rich Media Institute Workshop
WordPress Plugin Development- Rich Media Institute WorkshopBrendan Sera-Shriar
 
WordPress Plugin Development 201
WordPress Plugin Development 201WordPress Plugin Development 201
WordPress Plugin Development 201ylefebvre
 
Creating Your First WordPress Plugin
Creating Your First WordPress PluginCreating Your First WordPress Plugin
Creating Your First WordPress PluginBrad Williams
 

Semelhante a Extending WP-e-Commerce WordCamp UK (20)

Amazing WordPress & Productivity Tips
Amazing WordPress & Productivity TipsAmazing WordPress & Productivity Tips
Amazing WordPress & Productivity Tips
 
Top 100 wordpress plugins
Top 100 wordpress pluginsTop 100 wordpress plugins
Top 100 wordpress plugins
 
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
 
WordCamp Belfast DevOps for Beginners
WordCamp Belfast DevOps for BeginnersWordCamp Belfast DevOps for Beginners
WordCamp Belfast DevOps for Beginners
 
How to Import CSV or XML to WordPress.pdf
How to Import CSV or XML to WordPress.pdfHow to Import CSV or XML to WordPress.pdf
How to Import CSV or XML to WordPress.pdf
 
Internet Librarian Slides
Internet Librarian SlidesInternet Librarian Slides
Internet Librarian Slides
 
Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress development
 
Word press in 30 minutes
Word press in 30 minutesWord press in 30 minutes
Word press in 30 minutes
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014
 
Optimize wordpress
Optimize wordpressOptimize wordpress
Optimize wordpress
 
WordPress in 90 minutes
WordPress in 90 minutesWordPress in 90 minutes
WordPress in 90 minutes
 
Seven deadly theming sins
Seven deadly theming sinsSeven deadly theming sins
Seven deadly theming sins
 
Switching from Canvas to Storefront
Switching from Canvas to StorefrontSwitching from Canvas to Storefront
Switching from Canvas to Storefront
 
Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08
 
WordPress
WordPressWordPress
WordPress
 
45 in 45 - A WalkThrough the Joomla Extensions Directory
45 in 45 - A WalkThrough the Joomla Extensions Directory45 in 45 - A WalkThrough the Joomla Extensions Directory
45 in 45 - A WalkThrough the Joomla Extensions Directory
 
Faster WordPress Workflows
Faster WordPress WorkflowsFaster WordPress Workflows
Faster WordPress Workflows
 
WordPress Plugin Development- Rich Media Institute Workshop
WordPress Plugin Development- Rich Media Institute WorkshopWordPress Plugin Development- Rich Media Institute Workshop
WordPress Plugin Development- Rich Media Institute Workshop
 
WordPress Plugin Development 201
WordPress Plugin Development 201WordPress Plugin Development 201
WordPress Plugin Development 201
 
Creating Your First WordPress Plugin
Creating Your First WordPress PluginCreating Your First WordPress Plugin
Creating Your First WordPress Plugin
 

Último

Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 

Último (20)

Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 

Extending WP-e-Commerce WordCamp UK

  • 2.
  • 3. Does What you’d expect Product management
  • 4. Does What you’d expect Product management Shipping Calculations
  • 5. Does What you’d expect Product management Shipping Calculations Tax Calculations
  • 6. Does What you’d expect Product management Shipping Calculations Tax Calculations Coupons / Promotions
  • 7. Does What you’d expect Product management Shipping Calculations Tax Calculations Coupons / Promotions Payment Gateways
  • 8. Gives you theming options Full Product / Category List (products_page.php)
  • 9. Gives you theming options Full Product / Category List (products_page.php) Single Product Page (single_product.php)
  • 10. Gives you theming options Full Product / Category List (products_page.php) Single Product Page (single_product.php) Checkout Page (shopping_cart_page.php)
  • 11. Gives you theming options Full Product / Category List (products_page.php) Single Product Page (single_product.php) Checkout Page (shopping_cart_page.php) Transaction Results Page and User Profiles
  • 12. Gives you theming options Full Product / Category List (products_page.php) Single Product Page (single_product.php) Checkout Page (shopping_cart_page.php) Transaction Results Page and User Profiles Cart Widget - (cart_widget.php)
  • 13. Extending WP e-Commerce the right way! Keep WordPress and WP e-Commerce free from modifications. Make Plugins Submit code for contribution / review http://getshopped.org/forums http://code.google.com/p/wp-e-commerce/
  • 14. Extending WP e-Commerce the right way? Use Hooks - make Plugins and/or Upgrades Utilize hooks available: http://getshopped.org/resources/hooks-and-filters/ Currently there are limitations, but we are quickly over coming them. Talk to us!
  • 15. More Than One Way ‘to skin a cat’
  • 16. More Than One Way ‘to skin a cat’ Hack the Plugin files
  • 17. More Than One Way ‘to skin a cat’ Text Hack the Plugin files --------------------------- Make an Upgrade script
  • 18. More Than One Way ‘to skin a cat’ Hack the Plugin files --------------------------- Make an Upgrade script Make a Plugin
  • 19. More Than One Way ‘to skin a cat’ Hack the Plugin files --------------------------- Make an Upgrade script Make a Plugin Make your own custom theme
  • 20. Plugin • Starts with a Plugin Header
  • 21. Plugin • Hooks into WP e-Commerce and WordPress via hooks http://getshopped.org/resources/hooks-and-filters/
  • 22. Plugin • Hooks into WP e-Commerce and WordPress via hooks • Starts with a Plugin Header • Lives in the Plugin Directory • Needs to be Activated from the Plugins Page
  • 23. Plugin - examples • The WPEC Plugin Skeleton • WPEC-disable-dynamic-stylesheets • Downloadables Importer • jPlayerPlugin
  • 24. Upgrade Modules • Starts with an Upgrade header (just like Plugins only different)
  • 25. Upgrade Modules • Hooks into WP e-Commerce and WordPress via hooks http://getshopped.org/resources/hooks-and-filters/
  • 26. Upgrade Modules • Starts with an Upgrade header (just like Plugins only different) • Hooks into WP e-Commerce and WordPress via hooks • Code is placed in: • WordPress : `wp-content/uploads/wpsc/upgrades/` • MS : `wp-content/blogs.dir/blog_ID/files/wpsc/upgrades/`
  • 27. Upgrade Modules Examples • Upgrades Skeleton • No point showing you any other Upgrades all of them are being converted into Plugins
  • 28. Theming Default Location: wp-content/plugins/wp-e-commerce/themes/ Safe Place Location: WordPress: wp-content/uploads/wpsc/themes/ MS: wp-content/blogs.dir/blog_ID/files/wpsc/themes/ 3.8 is moving to WordPress Themes - Even Better!
  • 29. Demonstration Warning: Live Coding ahead,, which could potentially lead to screaming
  • 30. Extending WP e-Commerce the right way! Make Plugins Make WPSC Themes Talk to us!
  • 32. http://instinct.co.nz http:// getshopped.org twitter: @getshopped twitter: @danmilward Resource Link: Link to Post ..... email : jeff@instinct.co.nz twitter : @jghazally blog: screamingcodemonkey.com

Notas do Editor

  1. Hello Thank You Tony Scott and all the organizers and volunteers for putting together an amazing event! Who Am I? Name/From NZ 1 1/2 yrs Plugin Development Learnt Lots, Learning more Work for Instinct and the GetShopped Crew Technical Support Person Maintain Plugin, release new versions Create additional Modules and Plugins to extend WPEC
  2. WPEC is around 6-5 years old, downloaded over 500.000 times, FREE PLUGIN that transforms your blog into an online store,
  3. Control 1. (A means of managing your products )add/edit products & product categories
  4. Control 2. handles shipping methods (external/internal) UPS, FEDEX, USPS, flat rate, weight rate
  5. 3. handles tax - currently working on a new tax system with full user control
  6. Coupons, Promotions Specific Price or Percentage off price
  7. 4. Pays You! handles gateways - paypal, google checkout, sagepay, chronopay, DPS +++ So thats the Control is gives you, It also provides some theming options...>next slide
  8. Standard Theming for the front end of your site, Display (mini-themes) WPEC comes with basic styling of the front end, display 1. product-list A list of your products or category
  9. 2. single-product Specific Page to show case a particular product
  10. 3. checkout page A page used for calculating shipping and tax costs, and capturing billing and shipping details and sends request through to payment gateway
  11. 4. transaction results and User Profiles Soon to be in a template of it’s own
  12. Cart Widget,
  13. How many people use wp-e-commerce personal or clients? How may of you are theme developers? How many of you are WordPress Developers or PHP Developers? What I mean Extending WP e-Commerce? What is the right way?
  14. If you can’t do something using a hook or filter, then you should talk to us, maybe there is something we can do to help. We could: 1. Add a filter / action 2. Recommend a different approach
  15. Upgrade scripts was the answer to extending WP e-Commerce for GetShopped for the past few years, however after conversations with WP developers, we have been advised that it does not follow WP best practices,, Ability to use Upgrades is still available, but if you are starting a new project I would recommend
  16. Plugins, Follows along WP best practices, Only thing about Plugins is with the current WP-e-Commerce setup it is difficult to control when your Plugin will run, be it before or after WP e-Commerce, some say Plugins run alphabetically,, but we found this to be unreliable. We are working together with a few developers, and are getting advice from buddyPress core developers (who I believe have structured their Plugin in the best way in regards to extensibility)
  17. If all you are planning on doing is customizing the esthetics then don’t worry about the Upgrade scripts and the Plugins,, make a WPEC custom theme. So there you have it. there is a few ways you can extend WP e-Commerce right now. The most exciting of all is Plugins. We are embracing Plugins in a big way,, My only tiff, with Extending through Plugins, is the fact it messes up the Plugins page,,, Unless the developer uses a naming convention that makes the Plugin noticeably an extension of WP e-Commerce then it becomes very difficult to tell whats what,, In my opinion it would be really cool if it worked in the same strain as Child Themes. but that’s just nit picking.
  18. Pros: Developers are already familiar with Plugins Keeps WP e-Commerce Plugin free from modifications, allowing you to Upgrade worry free Keeps to WordPress best practices, Cons: Currently some filters, and actions are not included in the correct sequence, therefore some hooks and filters are not as reliable when used through a Plugin so should be done as an Upgrade instead. This is a known issue, we plan on rectifying in the 3.8 release. One such hook would be the `wpsc_gateway_modules` filter, as it is run on the main Plugin file,, :(
  19. Pros: Developers are already familiar with Plugins Keeps WP e-Commerce Plugin free from modifications, allowing you to Upgrade worry free Keeps to WordPress best practices, Cons: Currently some filters, and actions are not included in the correct sequence, therefore some hooks and filters are not as reliable when used through a Plugin so should be done as an Upgrade instead. This is a known issue, we plan on rectifying in the 3.8 release. One such hook would be the `wpsc_gateway_modules` filter, as it is run on the main Plugin file,, :(
  20. Pros: Developers are already familiar with Plugins Keeps WP e-Commerce Plugin free from modifications, allowing you to Upgrade worry free Keeps to WordPress best practices, Cons: Currently some filters, and actions are not included in the correct sequence, therefore some hooks and filters are not as reliable when used through a Plugin so should be done as an Upgrade instead. This is a known issue, we plan on rectifying in the 3.8 release. One such hook would be the `wpsc_gateway_modules` filter, as it is run on the main Plugin file,, :(
  21. Open up Coda and Google Chrome
  22. Pros: Files get included at the same time as the WP e-Commerce plugin No activation, works immediately Keeps WP e-Commerce Plugin free from modifications, allowing you to Upgrade worry free Keeps Plugin Page clean (with a whole lot of Plugins the Plugin Page can sometimes look a little over the top..) Cons: 1. Permissions can be a pain, Some hosts have PHP running on a different group than your average FTP User, which means Users sometimes have to talk to their hosting provider about changing the groups / owners permissions for the uploads/wpsc/* folder tree. I've seen this happen a fair amount, and it is a right pain. 2. Confusing for Users, more and more Users switching to WP e-Commerce are entirely clueless when it comes to servers, PHP, and file management. So having them FTP? and Copy Files? becomes frustrating for them,, 3. WordPress says NO, Many WordPress developers have approached us and told us that this way of adding additional functionality is not quite best practice, and we should embrace Plugins.
  23. Pros: Files get included at the same time as the WP e-Commerce plugin No activation, works immediately Keeps WP e-Commerce Plugin free from modifications, allowing you to Upgrade worry free Keeps Plugin Page clean (with a whole lot of Plugins the Plugin Page can sometimes look a little over the top..) Cons: 1. Permissions can be a pain, Some hosts have PHP running on a different group than your average FTP User, which means Users sometimes have to talk to their hosting provider about changing the groups / owners permissions for the uploads/wpsc/* folder tree. I've seen this happen a fair amount, and it is a right pain. 2. Confusing for Users, more and more Users switching to WP e-Commerce are entirely clueless when it comes to servers, PHP, and file management. So having them FTP? and Copy Files? becomes frustrating for them,, 3. WordPress says NO, Many WordPress developers have approached us and told us that this way of adding additional functionality is not quite best practice, and we should embrace Plugins.
  24. Pros: Files get included at the same time as the WP e-Commerce plugin No activation, works immediately Keeps WP e-Commerce Plugin free from modifications, allowing you to Upgrade worry free Keeps Plugin Page clean (with a whole lot of Plugins the Plugin Page can sometimes look a little over the top..) Cons: 1. Permissions can be a pain, Some hosts have PHP running on a different group than your average FTP User, which means Users sometimes have to talk to their hosting provider about changing the groups / owners permissions for the uploads/wpsc/* folder tree. I've seen this happen a fair amount, and it is a right pain. 2. Confusing for Users, more and more Users switching to WP e-Commerce are entirely clueless when it comes to servers, PHP, and file management. So having them FTP? and Copy Files? becomes frustrating for them,, 3. WordPress says NO, Many WordPress developers have approached us and told us that this way of adding additional functionality is not quite best practice, and we should embrace Plugins.
  25. same problem as Upgrades, Permissions are a pain. Confusing for Average User
  26. Who am I? Jeffry Ghazally screamingcodemonkey.com Web Developer that has been using WordPress for about 2 years I work for getshopped.org Main Support Technician and Main Code Co-ordinator