Custom code snippets and examples for SkyVerge-built WooCommerce extensions
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
woocommerce-address-validation Address Validation: Adjust Addressy field mapping to populate the uni… May 1, 2018
woocommerce-admin-custom-order-fields ACOF: populate field options dynamically Jan 17, 2017
woocommerce-authorize-net-reporting Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-avatax AvaTax: Force recalculate tax on renewal orders Feb 17, 2017
woocommerce-cart-notices Cart Notices: Products in Cart notice - allow all products Aug 1, 2018
woocommerce-checkout-add-ons Create position-after-terms-and-conditions.php May 28, 2018
woocommerce-constant-contact Constant Contact: add data to new subscriber Sep 27, 2018
woocommerce-cost-of-goods COGS: Update snippet to also remove settings from non-admins Oct 20, 2018
woocommerce-customer-order-csv-export CSV Export: Update item_price column to use the historically accurate… Aug 21, 2018
woocommerce-customer-order-csv-import Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-customer-order-xml-export XML Export: Use filesystem storage method Jul 17, 2018
woocommerce-freshbooks Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-authorize-net-aim Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-authorize-net-cim AuthNet CIM: Add sanity check Dec 19, 2017
woocommerce-gateway-authorize-net-sim AuthNet SIM: Add logo to hosted form Nov 30, 2017
woocommerce-gateway-bambora Bambora: Swap account by currency Jul 3, 2018
woocommerce-gateway-braintree Braintree: force saving payment method Mar 8, 2016
woocommerce-gateway-chase-paymentech Chase: update BIN snippet to add details on which platform typically … Nov 20, 2018
woocommerce-gateway-checkout-fi Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-cybersource-sop Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-cybersource Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-elavon Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-firstdata First Data: Payeezy Gateway - Force tokenization Mar 21, 2018
woocommerce-gateway-intuit Intuit: Force OAuth version Sep 11, 2017
woocommerce-gateway-mollie Mollie: re-order gateway display Feb 15, 2016
woocommerce-gateway-moneris Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-netbilling Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-ogone Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-paytrail Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-realex-redirect Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-realex Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-gateway-usa-epay Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-google-analytics-pro GA Pro: Track on-hold orders Dec 7, 2018
woocommerce-kissmetrics Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-measurement-price-calculator Update hide unit price Nov 20, 2018
woocommerce-memberships-for-teams Teams: Add shortcode for owner content Sep 20, 2018
woocommerce-memberships-mailchimp MailChimp for Memberships: filter subscriber info Aug 16, 2018
woocommerce-memberships Memberships: limit registration memberships to WC registration Nov 21, 2018
woocommerce-mixpanel Mixpanel: Update docblock part 2 Feb 11, 2016
woocommerce-nested-category-layout Nested Category Layout: Remove category images from layout template Mar 22, 2018
woocommerce-order-status-control Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-order-status-manager Order Status Manager: Change `wc_order_is_editable` filter priority s… Oct 24, 2016
woocommerce-pdf-product-vouchers PDF Vouchers: add custom field for short description Nov 19, 2018
woocommerce-print-invoices-packing-lists PIP: new snippet to add a line tax column Dec 10, 2018
woocommerce-product-documents Product Documents: Auto-collapse all document sections on page load Aug 21, 2017
woocommerce-product-retailers Whitespace + docblock fixes Mar 17, 2017
woocommerce-product-reviews-pro Product Reviews Pro: Rename the tab title to "Reviews (%d)" Oct 12, 2018
woocommerce-sequential-order-numbers-pro Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-shipping-local-pickup-plus Create change-checkout-shipping-label.php Oct 11, 2018
woocommerce-shipwire Shipwire: filter valid statuses for export Oct 25, 2016
woocommerce-social-login Memberships 1.9: Update snippets Sep 28, 2017
woocommerce-stamps-com-xml-export Add placeholder folders for plugins without snippets Feb 5, 2016
woocommerce-tab-manager Tab Manager: Update snippet to avoid fatals when plugin not active May 4, 2018
woocommerce-twilio-sms-notifications Twilio: add customer first name to custom message vars Oct 24, 2017
woocommerce-url-coupons Add placeholder folders for plugins without snippets Feb 5, 2016
.editorconfig Introduce the .editorconfig file to force basic code standards Feb 17, 2016
.gitignore Update gitignore Mar 17, 2017
readme.md PIP: only generate invoice numbers on completed orders Jan 19, 2018

readme.md

SkyVerge WooCommerce Plugins

Welcome to the wc-plugins-snippets repository! This repository stores code snippets related to SkyVerge WooCommerce plugins to modify or add onto plugin behavior.

Code snippets are organized by plugin (folder), and each plugin's folder includes one file per snippet or code example. The file name describes the snippet functionality.

Some larger plugins, such as Memberships, may have sub-folders by category / snippet type to make it easier to find relevant snippets.

Please ensure you know how to add custom code to your website if you use any of these code snippets. These are provided publicly as a courtesy, and are not supported, so you should be familiar with adding code to your site to use them.

Issues and Contributions

If you notice a snippet is outdated, we welcome pull requests for updates 😸

We also welcome new snippets! Please first check to see if a similar snippet exists, then submit a PR adding your snippet to the appropriate plugin folder(s), and ensure the name of the file is descriptive of what the snippet does. Including a brief description at the top snippet file is also helpful.

PR Guidelines

  • Please ensure that your PR follows WordPress coding standards and conventions.

  • All snippets should be PHP 5.3-compatible and use best WooCommerce practices. Try to maintain compatibility at least as far back as WooCommerce 2.6.x, or otherwise note requirements in the snippet.

  • Please use "poor man's namespacing" for function names by using this format:

function sv_wc_{plugin_name}_my_function() {
   // the function code
}
  • Files should include one "snippet" or example per file.

  • If your snippet relates to multiple plugins, put it in both folders so it's easy to find.

Licensing

All snippets / code in this repository is GPL licensed (GNU General Public License v3.0). If you plan to contribute your own snippets, please note that they will adopt this license.