Skip to content

Instantly share code, notes, and snippets.

@manospsyx
manospsyx / woocommerce-composites-append-component-options.php
Last active February 29, 2020 20:42
Use this snippet to display a “Load More” button for appending additional component options, instead of using pagination.
<?php
/**
* Plugin Name: WooCommerce Composite Products - Append Component Options
* Plugin URI: https://www.woothemes.com/products/composite-products/
* Description: Use this snippet to display a “Load More” button for appending additional component options, instead of using pagination.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://www.somewherewarm.net/
* Developer: Manos Psychogyiopoulos
*
@manospsyx
manospsyx / woocommerce-composites-force-seq-comp-progress.php
Last active February 29, 2020 20:42
Use this snippet to enforce a sequential configuration of Components when using the Componentized layout.
<?php
/**
* Plugin Name: WooCommerce Composite Products - Sequential Componentized Configuration
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to enforce a sequential configuration of Components when using the Componentized layout.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@manospsyx
manospsyx / woocommerce-composites-hide-cart-order-components.php
Last active November 22, 2021 04:45
Use this snippet to hide Components in the cart, checkout, order and e-mail templates
<?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
*
@manospsyx
manospsyx / wc-bundles-hide-bundled-item-prices-ppp.php
Last active February 19, 2024 20:26
Use this snippet to hide bundled item prices.
<?php
/**
* Plugin Name: WooCommerce Product Bundles - Hide Bundled Item Prices
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to hide bundled item prices in all templates.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: https://somewherewarm.gr/
* Developer: Manos Psychogyiopoulos
*
@manospsyx
manospsyx / woocommerce-composites-discount-over-regular-prices.php
Last active February 29, 2020 20:53
Use this snippet to allow component-level discounts over regular prices.
<?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
*
@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
*
@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-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-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-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
*