Capacitor Full App - Ionic Angular
  • What is Capacitor Full App - Ionic Angular?
  • Understand the Frameworks
  • Template Highlights
  • Setup
    • Initial Setup
  • Running the app
  • Building App on device
  • Deploying app as PWA
    • Deploy PWA on Firebase
  • How to use this template
    • Two way to use this Template
  • Removing a Page / Component
  • Removing a plugin
  • Extra
    • Troubleshooting
    • FAQ
  • Changelog
  • Features
    • Startup Features
      • Layouts
      • Firebase
      • Addons
        • Globalization - Translation
        • Content Loaders
        • Custom Fonts
        • Infinite Scroll
        • Pull to Refresh
        • List Re-ordering
        • Date Time Pickers
        • Settings
      • Login & Signups
      • Sidemenu Layouts
      • Wordpress
        • How to integrate
      • Video Playlist
      • Grid and List Layouts
      • Chat Lists & Chat Pages
    • Pro Features
      • Pro Addons
        • AdMob
          • Integration
          • Setting up Google Admob
        • Music Player
        • Push Notifications
        • Local Notifications
        • Device
        • Clipboard
        • Social Login
        • In-App Browser
        • Sweet Alerts
        • Social Sharing
        • Google Places
        • Google Autocomplete
        • Image Cropper
      • Phaser Game Framework
      • WooCommerce
      • Payment Gateways
    • Others
      • Adding Icon and Splash
Powered by GitBook
On this page
  • Contents
  • Connecting to Woocommerce
  • Authentication

Was this helpful?

  1. Features
  2. Pro Features

WooCommerce

Learn how to use Woo-commerce integration from Ionic 4 Full App

Woocommerce pages can be found at src/app/pages/woocommerce and the service functions can be found atsrc/app/services/woocommerce

Contents

  • Shop Page - woocommerce-products

    Fetches all products. Filters can be used here

  • Product Detail Page - product-details

    • All product details shown here

  • Cart Page - cart

    • Cart page for selected products

  • Checkout - checkout

    • Checkout page with payment methods

  • Orders

    • Order history page for previous orders

  • Order-details

    • Previous order details

Connecting to Woocommerce

To connect the app to Woocommerce, you need the

  • Base URL - the url of your wordpress installation

  • Consumer Key - Found from Woocommerce settings

  • Consumer Secret - Found from Woocommerce settings

You can change these in src/app/services/woocommerce/woo-commerce.service.ts

Authentication

Similarly, check details of API parameters and models for all methods on following links

  • Checkout

  • Orders

All these functions can be found in src/app/services/woocommerce in Ionic 4 Full App.

PreviousPhaser Game FrameworkNextPayment Gateways

Last updated 5 years ago

Was this helpful?

WooCommerce includes two ways to authenticate with the WP REST API. It is also possible to authenticate using any plugin or method. For sake of simplicity, we have directly used userID for placing orders etc.

Details of authentication can be found in official .

WP REST API authentication
Woocommerce documentation
Shop Page
Product Detail Page
Product attributes
Product attribute terms
Product Categories
Product Tags
Payment gateways
Create order
List previous orders
Get an order detail
User related functions