StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 11-10-2012, 07:08 AM
andoverit's Avatar
andoverit andoverit is offline
Registered User
Pro Plus Member
 
Join Date: Mar 2009
Location: Andover, Hampshire, UK
Posts: 214
Default 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
__________________
Websites, SEO and hosting by Andover IT
  #2  
Old 11-10-2012, 07:12 AM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

This is WooCommerce specific, please check with the plugin developers on this.
__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series

  #3  
Old 11-12-2012, 01:08 AM
andoverit's Avatar
andoverit andoverit is offline
Registered User
Pro Plus Member
 
Join Date: Mar 2009
Location: Andover, Hampshire, UK
Posts: 214
Default

Okay thanks Nick. Will report back if I find a solution
__________________
Websites, SEO and hosting by Andover IT
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin to show "latest" "comments", "categories" etc as tabs colin General Discussion 2 04-16-2009 01:03 PM


All times are GMT -5. The time now is 04:47 AM.

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