By default, a product’s stock status doesn’t show in WooCommerce shop and catalog/archive pages. However, it’s easy to enable with a few simple additions to your theme’s functions.php and style.css files.
Recent Articles for Envy
Please note that this tutorial and Krolyn’s Update-Safe ‘User’ files are now deprecated and replaced by WP CLIPS. Update-safe Genesis theme customisation is now as easy as downloading WP CLIPS, installing the plugin, and adding your custom code via WordPress’s editor, FTP or file manager. It’s fast, free, flexible and feather-weight. And your custom code is completely safe from theme and plugin updates.
Visit http://wpclips.net for more information and to download your free Clip!
]One issue with Genesis child themes is that style and script customisations are generally made direct to the theme files. This means that updating your theme to a newer version will overwrite your customisations.
Thankfully, there is a way to make theme customisation both simple and safe. Create independent ‘user-‘ files to handle your customised code, which can be removed from the theme folder before updating and subsequently replaced. These files generally include:
1) a user-functions.php file to store any custom PHP functions;
2) a user-jquery.js file to store any custom jQuery scripts; and
3) a user-style.css file to store any custom CSS styles.
WooTheme‘s WooCommerce and StudioPress‘s Genesis framework team up again in ENVY’s Big Sister, ENVY PRO. Click below to view the feature-packed theme demo!
For those who are not PHP code-savvy and want some level of management over the blog output, this is perhaps not desirable given that it disables all Genesis settings for the ‘Blog Page Template’. However, for others looking to customise code or introduce plugins which interact with the blog page, there are definitely some benefits. So, here’s how to apply Bill’s solution to the ENVY theme.
The ENVY themes are already geared for translation, and come with an envy.pot or envy-pro.pot file in the /lib/languages/ folder. However, if you make any code customisations to the theme,, you will need to create a new POT file with adjusted file/line references.
There’s a tutorial on WPMU DEV called ‘How to Localize a WordPress Theme and Make it Translation Ready’, which is a fabulous guide to localising a theme. However, some of the instructions are a little dated in relation to Poedit and creating the POT file. So, simply follow the instructions below.
Read More ➝
ENVY Version 1.1.1 has been released! And, after listening to user feedback, Breadcrumbs can now be enabled via the Genesis theme settings. The new version also includes a resolution to hidden shipping methods on the checkout page.
View the full change log here (including simple update instructions for v1.1 users) – http://envy.krolyn.com/forums/topic/envy-version-1-1-1-released/
On June 30, StudioPress announced the release of its new framework, Genesis 2.1 – only 2 weeks after the release of Krolyn’s WooCommerce-integrated Genesis theme, ENVY – developed, of course, for Genesis 2.0.2. Aaargh! So, after a few hours of kicking the couch and yelling into pillows, it was back to the drawing board for the ENVY theme. And a week later (although it seems like a month), ENVY v1.1 has been released – specifically for the new and improved Genesis 2.1 framework.
WOW! An update to ENVY released already. Roll out the red carpet for Version 1.0.1.
ENVY v1.0.1 includes a few minor CSS fixes (not really worth mentioning), plus some more notable enhancements including significant changes to WooCommerce responsiveness allowing for reconfiguration of table columns to rows on smaller screens. This addresses a major ‘grizzle’ point with WooCommerce when it comes to displaying on smart phones.
Read More ➝
A recent post on the ENVY Support Forum questioned how to change the 4-column home featured product layout to 3-columns. This requires a simple adjustment to the WooCommerce shortcode.
Read More ➝