Sean Conklin, WooCommerce Freelance Developer in California, Sean@CodedCommerce.com, vm: (818) 835-5960
Cart
My account

WooCommerce Meetup presentation

01/25/2019
Code Snippets plugin banner

I’ll be presenting at our WooCommerce Los Angeles Meetup in a couple of weeks on February 7th, 2019 at WeWork, 520 Broadway, Santa Monica. Join us!

The topic:

WooCommerce officially recommends the Code Snippets plugin for managing small functions of PHP code.

These small pieces of code override WooCommerce default behavious, theme behaviors, or in some cases plugin behaviors using WordPress hooks (actions and filters). You can also use it for CSS and JS code with the help of some PHP hooks.

WooCommerce provides sample code snippets to reference, and I offer several of my own as well.

There are many benefits of using Code Snippets in leiu of custom plugins, parent theme, or child theme. The biggest benefit that comes to mind is the ability to avoid creating a child theme – so you can use a box stock parent theme like Storefront without having to extend it.

All you need to fully customize a WooCommerce site are Code Snippets, settings, CSS modifications inside the Customizer and well chosen plugins.

My presentation will also discuss popular DevOps topics using Git to version control a custom theme, child theme, plugins, all files, or potentially even the database contents.

While it’s great to minimize our use of custom code files with Code Snippets, I acknowledge there are many cases where custom code does need to be maintained under version control.

One such example is how popular managed WordPress hosting services commonly place the entire site under version control to manage environment phasing, upstreams, and releases in their workflows.

Download the presentation (PDF)
34.2007897-118.615038

Share this:

  • Mail
  • Facebook
  • LinkedIn
  • Reddit
  • Twitter

Need help?

Request your free introduction call

Contact form
close

Search this site

Blog categories

  • Blog (87)
    • Events (11)
    • Marketing tips (26)
    • Official blog reposts (10)
    • Popular (9)
    • Technical tips (58)
    • Videos (12)

Product categories

  • Services44 products
  • WooCommerce code snippets261261 products
    • Back-end code snippets7070 products
      • Admin interface4949 products
      • Run-once2121 products
    • Front-end code snippets163163 products
      • Email notifications1818 products
      • Cart2424 products
      • Checkout2828 products
      • Elementor code snippets99 products
      • JetPack code snippets44 products
      • Navigation menus22 products
      • Payments66 products
      • Product pages2929 products
      • Search88 products
      • Shop and product categories1818 products
      • Storefront theme1717 products
      • User accounts2323 products
    • Site-wide code snippets4242 products
  • WooCommerce plugins44 products

Copyright © 2018-2023 Coded Commerce, LLC. Privacy policy
Automattic Inc. owns and oversees the trademarks for Woo™ and WooCommerce®.