General Snippets

Hide trailing zeros on prices

The option to show trailing zeros on your prices has been removed in favor of a filter, as of WooCommerce 2.2x. If you want to hide trailing zeros on your […]

Notify Admin When New Account Is Created

Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Avoid adding custom code […]

Display product weight on archive pages

To display WooCommerce product¬†weight on archive pages, below the title of the product,¬†add this code to your child theme’s functions.php file or via a plugin that allows custom functions to […]

Add a new country to countries list

Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Please don’t add custom […]

Adjust the quantity input values

Add code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Avoid adding custom code directly […]

Send coupons used in an order by email

This snippet sends by email the list of coupons used in an order. You can customize the “$to” variable and define your own email address, and the “$message” to have […]

Configuring Zeus Server Rewrite Rules

This rewrite.script has been configured for WordPress: RULE_0_START: # get the document root map path into SCRATCH:DOCROOT from / # initialize our variables set SCRATCH:ORIG_URL = %{URL} set SCRATCH:REQUEST_URI = […]

Minimum Order Amount

Add code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Avoid adding custom code directly […]

Change a currency symbol

See currency list for reference on currency codes. Add code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the […]

Loading…

Something went wrong. Please refresh the page and/or try again.