Skip to content

Instantly share code, notes, and snippets.

@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-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-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-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-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
*