Skip to content

Instantly share code, notes, and snippets.

@manospsyx
manospsyx / woocommerce-composites-old-style-price.php
Last active July 10, 2017 08:00
Use this snippet to prevent Composite Products from displaying composite prices in range format.
<?php
/**
* Plugin Name: WooCommerce Composite Products - Prevent Range-Format Prices
* Plugin URI: http://woocommerce.com/products/composite-products/
* Description: Use this snippet to prevent Composite Products from displaying composite prices in range format.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: http://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@manospsyx
manospsyx / woocommerce-bundles-old-style-price.php
Last active February 29, 2020 20:50
Use this snippet to prevent Product Bundles from displaying bundle prices in range format.
<?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
*
@manospsyx
manospsyx / woocommerce-composites-sort-component-option-filters.php
Last active February 29, 2020 20:50
Use this snippet to sort Component Option Layered Filters by custom priority numbers.
<?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
*
@manospsyx
manospsyx / woocommerce-composites-summary-max-cols.php
Last active February 29, 2020 20:49
Use this snippet to change the max number of Component columns in the Summary/Review section.
<?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
*
@manospsyx
manospsyx / woocommerce-composites-product-thumbnails-cols.php
Last active February 29, 2020 20:48
Use this snippet to change the Component Options column count when using the Product Thumbnails setting.
<?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
*
@manospsyx
manospsyx / woocommerce-composites-results-per-page.php
Last active February 29, 2020 20:48
Use this snippet to change the number of Component Option results per-page when using the Product Thumbnails setting.
<?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
*
@manospsyx
manospsyx / woocommerce-composites-toggle-box-disable.php
Last active February 29, 2020 20:46
Use this snippet to disable the toggle-box Component view when using the Progressive layout.
<?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
*
@manospsyx
manospsyx / woocommerce-composites-toggle-box-stacked.php
Last active February 29, 2020 20:45
Use this snippet to enable the toggle-box Component view when using the Stacked layout only.
<?php
/**
* Plugin Name: WooCommerce Composite Products - Enable the toggle-box Component view with the Stacked layout
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to enable the toggle-box Component view when using the Stacked layout only.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@manospsyx
manospsyx / woocommerce-composites-enable-wdiget-progressive.php
Last active February 29, 2020 20:45
Use this snippet to enable the Composite Products Configuration widget when using the Progressive layout.
<?php
/**
* Plugin Name: WooCommerce Composite Products - Show the Composite Products Configuration widget with the Progressive Layout
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to enable the Composite Products Configuration widget when using the Progressive layout.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@manospsyx
manospsyx / woocommerce-composites-sort-by-price.php
Last active February 29, 2020 20:44
Use this snippet to change the default Component Options sorting option from "Default sorting" to "Sort by price".
<?php
/**
* Plugin Name: WooCommerce Composite Products - Sort Component Options by Price
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to change the default Component Options sorting option from "Default sorting" to "Sort by price".
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*