Skip to content

Instantly share code, notes, and snippets.

Avatar

Manos Psychogyiopoulos franticpsyx

View GitHub Profile
@franticpsyx
franticpsyx / woocommerce-composites-autotransition.php
Last active Oct 13, 2020
Use this snippet to automatically move to the next step after making a valid selection.
View woocommerce-composites-autotransition.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Autotransition
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to automatically move to the next step after making a valid selection.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@franticpsyx
franticpsyx / woocommerce-composites-hide-cart-order-components.php
Last active Apr 16, 2020
Use this snippet to hide Components in the cart, checkout, order and e-mail templates
View woocommerce-composites-hide-cart-order-components.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Hide Components in all Templates
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to hide Components in the cart, checkout, order and e-mail templates.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@franticpsyx
franticpsyx / woocommerce-component-props-discount-method.php
Created Feb 29, 2020
Calculate discounted Component Option prices on session load.
View woocommerce-component-props-discount-method.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Early Discount Calculations
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Calculate discounted Component Option prices on session load.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@franticpsyx
franticpsyx / woocommerce-composites-discount-over-regular-prices.php
Last active Feb 29, 2020
Use this snippet to allow component-level discounts over regular prices.
View woocommerce-composites-discount-over-regular-prices.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Discounts over Regular Prices
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to allow component-level discounts over regular prices.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@franticpsyx
franticpsyx / woocommerce-bundles-old-style-price.php
Last active Feb 29, 2020
Use this snippet to prevent Product Bundles from displaying bundle prices in range format.
View woocommerce-bundles-old-style-price.php
<?php
/**
* Plugin Name: WooCommerce Product Bundles - Prevent Range-Format Prices
* Plugin URI: https://woocommerce.com/products/product-bundles/
* Description: Use this snippet to prevent Product Bundles from displaying bundle prices in range format.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@franticpsyx
franticpsyx / woocommerce-composites-sort-component-option-filters.php
Last active Feb 29, 2020
Use this snippet to sort Component Option Layered Filters by custom priority numbers.
View woocommerce-composites-sort-component-option-filters.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Sort Component Option Layered Filters by Priority
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Provides the ability to sort Component Option Filters by custom priority numbers.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@franticpsyx
franticpsyx / woocommerce-composites-summary-max-cols.php
Last active Feb 29, 2020
Use this snippet to change the max number of Component columns in the Summary/Review section.
View woocommerce-composites-summary-max-cols.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Max number of Component columns in the Summary/Review section
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to change the max number of Component columns in the Summary/Review section.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@franticpsyx
franticpsyx / woocommerce-composites-product-thumbnails-cols.php
Last active Feb 29, 2020
Use this snippet to change the Component Options column count when using the Product Thumbnails setting.
View woocommerce-composites-product-thumbnails-cols.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Component Options column count
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to change the Component Options column count when using the Product Thumbnails setting.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@franticpsyx
franticpsyx / woocommerce-composites-results-per-page.php
Last active Feb 29, 2020
Use this snippet to change the number of Component Option results per-page when using the Product Thumbnails setting.
View woocommerce-composites-results-per-page.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Component Options results count
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to change the number of Component Option results returned per-page when using the Product Thumbnails setting.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@franticpsyx
franticpsyx / woocommerce-composites-toggle-box-disable.php
Last active Feb 29, 2020
Use this snippet to disable the toggle-box Component view when using the Progressive layout.
View woocommerce-composites-toggle-box-disable.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Disable the toggle-box Component view
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to disable the toggle-box Component view when using the Progressive layout.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
You can’t perform that action at this time.