Feature Request: add class to disabled submit button for CSS styling.

j0rd - August 21, 2009 - 03:26
Project:UC Attribute Stock Filter
Version:6.x-1.0-beta12
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

 
 

Drupal is a registered trademark of Dries Buytaert.