Online Marketing Blog

Blog2018-05-01T06:50:55-05:00

Filter Out Invalid Woocommerce Variations

I had a large number of Woocommerce variations for a project and the dropdowns were showing options that were not possible to create a product from. To remove these unwanted options, I need to increase a variation threshold.This probably is due to the woocommerce_ajax_variation_threshold. If your product contains more variations than the threshold specifies, woocommerce will wait until all variation options have been selected by the user before determining if the selected combination of options is valid(in stock, exists, etc).Just set the threshold to a higher value. If your product has 30 possible combinations(whether they actually exist or not) set the threshold to something higher than 30, like 1111 for example.You can use the snippet below in your functions.php file./* Increase Woocommerce Variation Threshold */ function wc_ajax_variation_threshold_modify( $threshold, $product ){ $threshold = '1111'; return $threshold; } add_filter( 'woocommerce_ajax_variation_threshold', 'wc_ajax_variation_threshold_modify', 10, 2 );Full discussion here

By |December 2nd, 2020|Web Design Tips|

Why is Social Media Important for Republicans?

Brands are everywhere today, and Republicans need to effectively market their brand across the social media spectrum. Here are a few areas where Republicans county parties, groups, or candidates can effectively engage multiple generations with their social media marketing strategy.

By |April 28th, 2018|Social Media Tips|

Where to Start in Digital Marketing

Starting a Digital Marketing effort for your local business or Republican county party doesn't have to be a daunting challenge. With the right plan in place and having a good team around you can start to transform your online engagement. Working with an expert like me helps too! Learn more about getting started.

By |March 25th, 2018|Online Marketing Blog|