-
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… Read more
-
Allowing customer access to WP Admin, and enabling the admin bar
•
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… Read more
-
Add a message above the login / register form
•
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… Read more
-
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… Read more
-
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… Read more
-
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… Read more
-
Customize the WooCommerce breadcrumb
•
You need to 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. Please don’t… Read more
-
Add a surcharge to cart and checkout – uses fees API
•
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… Read more
-
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 =… Read more
-
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… Read more
-
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… Read more
-
Query whether WooCommerce is activated
•
If you’re building a theme which supports but doesn’t require WooCommerce, you may want to wrap WooCommerce functionality (think cart links etc) inside a conditional query. That way, if WooCommerce isn’t activated, the… Read more