Skip to content

Instantly share code, notes, and snippets.

Avatar

SomewhereWarm Support somewherewarm-snippets

  • WooCommerce
  • Athens
View GitHub Profile
@somewherewarm-snippets
somewherewarm-snippets / apfs-hide-cart-item-plan-options.php
Last active Nov 17, 2021
All Products for WooCommerce Subscriptions snippet for hiding cart item subscription options.
View apfs-hide-cart-item-plan-options.php
<?php
/**
* Plugin Name: All Products for WooCommerce Subscriptions - Hide Cart Item Subscription Options
* Plugin URI: https://woocommerce.com/products/all-products-for-woocommerce-subscriptions/
* Description: Use this snippet to hide cart item subscription options.
* Version: 1.0
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Jason Kytros
*
View pb-stock-cache-debug.php
<?php
/**
* Plugin Name: WooCommerce Product Bundles - Disable Stock Cache
* Plugin URI: https://woocommerce.com/products/product-bundles/
* Description: Use this plugin to disable the bundled item stock status caching mechanism introduced in Product Bundles v5.0+.
* Version: 1.0
* Author: WooCommerce
* Author URI: https://woocommerce.com/
*
* Requires at least: 4.1
View cp-sale-status-tweak.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Sale Status Tweak
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Prevents Composite Products with component discounts from appearing as on-sale.
* Version: 1.0
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-custom-price-html.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Custom Composite Price Strings
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to define your own custom price strings for Composite products, for instance when the "Hide Price" option is checked to reduce server load.
* Version: 1.0
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-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: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-force-seq-comp-progress.php
<?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: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-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: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-hide-free-price-strings.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Hide "Free!" Price Strings
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Hide "Free!" price strings from drop-downs and selected product details when the "Per-Item Pricing" option is checked.
* Version: 1.0
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-grey-out-incompatible-component-options.php
<?php
/**
* Plugin Name: WooCommerce Composite Products - Grey out Component Options Disabled by Scenarios
* Plugin URI: https://woocommerce.com/products/composite-products/
* Description: Use this snippet to have incompatible selections greyed-out, instead of completely hidden, when using Scenarios.
* Version: 1.0
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*
View cp-old-style-price.php
<?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: WooCommerce
* Author URI: http://woocommerce.com/
* Developer: Manos Psychogyiopoulos
*