Skip to content

Instantly share code, notes, and snippets.

Avatar

SomewhereWarm Support somewherewarm-snippets

  • WooCommerce
  • Athens
View GitHub Profile
View cp-prevent-subtotals-mods.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Prevent Cart/Order Item Subtotal Modifications
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Prevents Composite Products from modifying the appearance of cart/order item subtotals. Requires v3.7+.
* Version: 1.1
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-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: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-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: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-sort-by-menu-order.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Sort Component Options by Menu Order
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to make the "default" Component Options sorting option operate based on "menu_order".
* Version: 1.0
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-sort-by-price.php
<?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: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-sort-by-title.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Sort Component Options by Product Title
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to make the "default" Component Options sorting option operate based on "title".
* Version: 1.0
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-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: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-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: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-toggle-box-stacked.php
<?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: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View pb-optional-checkbox-state.php
<?php
/**
* Plugin Name: WooCommerce Product Bundles - Optional Items Checked by Default
* Plugin URI: https://woocommerce.com/products/product-bundles/
* Description: Use this plugin to have optional bundled items checked/selected by default.
* Version: 1.1
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*