StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   WooCommerce Plugin - Adding An "Out of Stock" Image (http://www.studiopress.com/support/showthread.php?t=123967)

andoverit 11-10-2012 07:08 AM

WooCommerce Plugin - Adding An "Out of Stock" Image
 
Theme: Agency 2.0 on Genesis 1.8.2
Website: www.ladida-andover.com

I would like to be able to add a red circle with "Out of Stock" on any products that are out of stock, similar to the green "Sale" offer that is built in to the plugin.

See http://www.ladida-andover.com/shop/black-slatted-bench for an example.

Ideally I'd like to add the red one to the opposite side to the green one so that both could show if required.

I have to admit I am at a loss as to where to start although the logic is obviously along the lines of "If Product = Out of Stock Then Add Red Image to Product".

Any pointers / clues / pages of coding welcome!

I'll also feed it back to Forum Members once have cracked it.

Thanks

NicktheGeek 11-10-2012 07:12 AM

This is WooCommerce specific, please check with the plugin developers on this.

andoverit 11-12-2012 01:08 AM

Okay thanks Nick. Will report back if I find a solution


All times are GMT -5. The time now is 02:37 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.