I’m setting up a WooCommerce site to sell shirts. I have the front page (and the “Store” page” set up to show a grid of thumbnails of the shirt designs. Each item has the price and the title of the design under it by default. I want to “turn off” showing the title and the price in the store view. I DO want them to appear on the individual product page, after a user clicks on a thubnail to go to the product page. Since it is a shirt site, I plan to keep uniform pricing so there is no need to have the same $17.95 price showing up under every shirt, and the title isn’t really needed since they can read the graphic on the shirts.
So, any idea if this is possible? Where would I go to turn this feature off? I’m running the Rustik theme using WooCommerce. Thanks!
There are a couple solutions. The solution I would recommend is to remove the actions that prints the price & title in the first place. The main reason I suggest programmatically removing the actions is because it is theme independent. These modifications should work for any theme and you don’t have to worry about CSS specificity or any of that nonsense.
If you were using a custom theme you could just put a couple of lines into your functions.php file but since you are using a theme that will just override your changes on the next update I suggest creating your own woocommerce plugin. It isn’t as scary as it sounds. In fact, I believe this little plugin I just whipped up does everything you need.
Here’s the version controlled gist if you ever need it.
You can Directly edit functions.php file and put your own function their
It will remove both add to cart and price
From the notes on WooCommerce forums (which are free to register) this is possible but it is also theme dependent.
For instance you can hide the price using this bit of custom .css to hide the price.
span.price{display: none;}
However … you’ll probably have to check that it doesn’t hide the Price everywhere.
If you got your theme from WooThemes you can register for the forums and post your own question there.