I hadn’t gotten a chance to work too much with css animation but decided to give it a try on some work today. With a quick stop over at css-tricks to brush up on things and another google on fade-ins I have a new snippet in my inventory. Demo on the gist is a simple ROYGBIV for a pretty demo.
Blog - Latest News
You are here: Home
In a single week I had 3 separate tasks on Codeable all on the same general issue with WooCommerce: changing payment options for specific circumstances. While it did make each successive task a bit easier since I had already been digging around in those functions it got me thinking it may be a popular plugin.
Doing support for Kriesi’s themes I am always trying to break a solution down into an even more simple set of steps. In most of the woocommerce supporting themes Kriesi has a sub menu that defaults to My Account | Log out/Login depending on if the user is logged in and out. I wanted to do the same thing with css and the wordpress menu manager to keep the theme files untouched and just to offer another way to do it.
With WooCommerce, the user goes from the Cart to the Checkout but once on the checkout page it isn’t in-your-face-clear what items you are purchasing. Using the cart template and adding it into a function to be called before the checkout gives you a simple way to customize and add the cart items above the checkout form.
I just implemented this for a Task on Codeable and after going through all the hoops to get it working thought I would share it.
First the Why: You want to show 1 of 3 different menus depending on if the user viewing the site has a Paid Membership, a Free Membership or just a logged out visitor.