Needs review
Project:
UC Attribute Stock Filter
Version:
6.x-1.0-beta12
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2009 at 03:26 UTC
Updated:
21 Sep 2010 at 17:42 UTC
A lot of the sites I use overwrite the add to cart buttons with images. Some of these even get rid of the text and instead opt for full images.
Now with this, I'd ideally like the ability to have an "Out of Stock" button. Currently UC Attribute Stock Filter only disables the button, but does not include any way of styling this in CSS. I would request that you add an additional and distinct class name, so we can use it in CSS. Keep in mind some browsers do not support double classes in CSS like .edit-submit.nostock , so instead provide a distinct name like .edit-submit-nostock or edit-submit-disabled
Thanks.
Comments
Comment #1
steve.m commentedThis is easy enough. I added this line
right above
To add an 'oos' class to the submit button.
Comment #2
jnettikI just used css attribute selectors:
input[disabled="disabled"] { STYLES HERE }