Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering WooCommerce

You're reading from   Mastering WooCommerce Build, customize, and launch a complete e-commerce website with WooCommerce from scratch

Arrow left icon
Product type Paperback
Published in Apr 2024
Publisher Packt
ISBN-13 9781835085288
Length 352 pages
Edition 2nd Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Patrick Rauland Patrick Rauland
Author Profile Icon Patrick Rauland
Patrick Rauland
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part 1: Exploring the essentials of an ECommerce Store
2. Chapter 1: Installing WordPress and WooCommerce FREE CHAPTER 3. Chapter 2: All About Configuring Products 4. Chapter 3: Organizing Products 5. Chapter 4: Attracting Traffic with Search Engine Optimization 6. Part 2: Managing an Online Store
7. Chapter 5: Managing Sales Through WP Admin 8. Chapter 6: Syncing Product Data 9. Chapter 7: Configuring In-Store POS Solutions 10. Chapter 8: Using Fulfillment Software 11. Chapter 9: Speeding Up Your Store 12. Part 3: Customizing the Appearance and Functionality of Your Store
13. Chapter 10: Setting Up Your Theme 14. Chapter 11: Customizing the Product Page 15. Chapter 12: Building a Landing Page 16. Chapter 13: Creating Plugins for WooCommerce 17. Chapter 14: Next Steps with WooCommerce 18. Index 19. Other Books You May Enjoy

Building a settings page with WooCommerce

When you’re building your own plugin, you’ll very likely have to build a settings page. There’s a lot to building a settings page from scratch. But if you are just building an integration, WooCommerce has created some technology that makes it easier for you to add your own settings screen.

We’re going to cover some of the coding decisions in the WooCommerce Integration class. If you want, you can see the finished code athttps://developer.woocommerce.com/docs/creating-custom-settings-for-woocommerce-extensions/.

We can see that one of the plugins we looked at earlier in this book takes advantage of the Integration class, which we can see in the following screenshot:

Figure 13.4: ShipStation uses the WooCommerce Integration class

Figure 13.4: ShipStation uses the WooCommerce Integration class

We’re not going to explain every single line. But we are going to cover the essential lines and why you need them.

Let’s build our own...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime