This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * The template for displaying product content within loops | |
| * | |
| * This template can be overridden by copying it to yourtheme/woocommerce/content-product.php. | |
| * | |
| * HOWEVER, on occasion WooCommerce will need to update template files and you | |
| * (the theme developer) will need to copy the new files to your theme to | |
| * maintain compatibility. We try to do this as little as possible, but it does | |
| * happen. When this occurs the version of the template file will be bumped and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Example custom variation meta for WooCommerce | |
| * Plugin URI: hhttps://www.kathyisawesome.com/add-custom-meta-fields-to-woocommerce-variations/ | |
| * Description: Add thickness and diameter fields to variations. | |
| * Version: 6.22.5 | |
| * Author: Kathy Darling | |
| * Author URI: https://kathyisawesome.com/ | |
| * | |
| * Text Domain: extra-product-data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Declare Features compatibility. | |
| */ | |
| add_action( 'before_woocommerce_init', function() { | |
| if ( ! class_exists( 'Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) { | |
| return; | |
| } | |
| // HPOS (Custom Order tables) compatibility. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Converts the WooCommerce country codes to 3-letter ISO codes | |
| * https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 | |
| * @param string WooCommerce's 2 letter country code | |
| * @return string ISO 3-letter country code | |
| */ | |
| function kia_convert_country_code( $country ) { | |
| $countries = array( | |
| 'AF' => 'AFG', //Afghanistan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * Plugin Name: WooCommerce Add Taxonomy to Export | |
| * Plugin URI: https://gist.github.com/helgatheviking/114c8df50cabb7119b3c895b1d854533/ | |
| * Description: Add a custom taxonomy to WooCommerce import/export. | |
| * Version: 1.0.1 | |
| * Author: Kathy Darling | |
| * Author URI: https://kathyisawesome.com/ | |
| * | |
| * Woo: 18716:fbca839929aaddc78797a5b511c14da9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Sample Customizable Product Field for WooCommerce | |
| * Plugin URI: https://www.kathyisawesome.com/add-a-custom-field-to-woocommerce-product/ | |
| * Description: Add a custom text field to a WooCommerce Product | |
| * Version: 1.1.0 | |
| * Author: Kathy Darling | |
| * Author URI: http://kathyisawesome.com | |
| * Requires at least: 5.2.0 | |
| * Tested up to: 5.2.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: WC Minimalize Checkout Settings | |
| * Plugin URI: https://woocommerce.com/ | |
| * Description: Reduce checkout to the bare minimum. | |
| * Version: 1.0.0 | |
| * Author: Kathy Darling | |
| * Author URI: http://kathyisawesome.com/* | |
| * Requires at least: 5.3.0 | |
| * Tested up to: 5.3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
| if ( ! class_exists( 'WC_KIA_Class_Email', false ) ) : | |
| /** | |
| * A custom Order WooCommerce Email class | |
| * | |
| * @since 0.1 | |
| * @extends \WC_Email |
NewerOlder