Blog

We are always up to something. Feel curious? Get the latest insights here...
Nov 0
Nov 0

[WooCommerce] Add video as featured image for products

Using the code below, you can add a video that will replace your featured image for the given product. If video is not found, the featured image is displayed instead. Place this code in your functions.php file and note that you may have to edit the function that displays the video to match your theme. […]

  Read more
Sep 0
Sep 0

[WooCommerce] Add a surcharge to your cart / checkout

You can use the following snippet to add a 1% surcharge to your cart on checkout. You can easily change the $percentage variable to adjust the surcharge percent and you are good to go.

  Read more
Sep 1
Sep 1

[Woocommerce] Dynamically add/remove products from cart

Ever needed to dynamically add/remove products to a visitor’s cart based on their cart contents? The below functions will help you do just that. Place them in the functions.php of your theme or (better) in a separate plugin and you are all set. Just make sure to modify the qualifies_for_incentive function to work based on […]

  Read more