Skip to content

Instantly share code, notes, and snippets.

View keusta's full-sized avatar

keusta keusta

View GitHub Profile
@keusta
keusta / woocommerce-overrides.php
Created March 29, 2020 08:21 — forked from BurlesonBrad/woocommerce-overrides.php
Include this in your theme to allow WooCommerce variable products to be displayed in a grid format with each variation having there own quantity and add to cart button, rather then the drop-down options. This should be include in your themes function file.
<?php
/******************************************************************************
* Variation Grid
*
* The following function allow for the theme to display product variations in a grid format.
* This code could be moved to a plugin but is in the theme function file as it used the
* themes grid system.
*
* @reference: http://www.eggplantstudios.ca/woocommerce-product-variation-add-cart-grid/
* ******************************************************************************/
@keusta
keusta / dabblet.css
Created December 19, 2011 15:52
testing gradient
/**
* testing gradient
*/
#coucou{
padding:20px;
color:#171717;
background: grey;
background: linear-gradient(270deg, grey, lightgrey);