Skip to content

Instantly share code, notes, and snippets.

View infinityonlinesolutions's full-sized avatar

Santosh Ramachandran infinityonlinesolutions

View GitHub Profile
@infinityonlinesolutions
infinityonlinesolutions / Create-Custom-Fields-in-Woocommerce-Checkout-Page.md
Created January 22, 2021 09:39 — forked from nadeem-khan/Create-Custom-Fields-in-Woocommerce-Checkout-Page.md
Create Custom Fields in Woocommerce Checkout Page and Display them in Orders Details Page in Admin Area

Create Custom Fields in Woocommerce Checkout Page and Display them in Orders Details Page in Admin Area with this WordPress plugin:

<?php


/**
 * Plugin Name: Flowershop - WooCommerceCustomOverrides
 * Plugin URI: http://chillopedia.com
 * Description: Overrides WooCommerce Checkout Form Fields
  • Version: 1.0
@infinityonlinesolutions
infinityonlinesolutions / functions.php
Created January 22, 2021 09:33 — forked from maddisondesigns/functions.php
WooCommerce Custom Fields for Simple & Variable Products
/*
* Add our Custom Fields to simple products
*/
function mytheme_woo_add_custom_fields() {
global $woocommerce, $post;
echo '<div class="options_group">';
// Text Field
<?php
// Usage:
//
// Copy the 2 functions below into your theme.
//
// Add the 'auto_install' attribute when registering the plugins:
//
// array(
// 'name' => 'Some Plugin',
@infinityonlinesolutions
infinityonlinesolutions / modifying-setup-wizard.php
Created August 10, 2020 06:41 — forked from claudiulodro/modifying-setup-wizard.php
WooCommerce Setup Wizard - Adding/Removing Setup Wizard steps.
<?php
/**
* This is simple demo showing how to add and remove steps for the WooCommerce Setup Wizard
*/
/**
* Add new steps to the setup wizard.
* To insert new steps in the middle use array_slice
*