Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change BG color on Stock Warning ? not on css?


Paulz

Recommended Posts

Posted

On the checkout_confirmation.php page

there is a small background color when a Stock Warning is issued

Ive looked everywhere but cant find where to change the color?.

 

The text can be simply changed by the css: .stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 11px; color: #cc0033; }

 

Please help

 

Paul

Posted

There is no association with the CSS

Ive investigated the source code and it appears

the class="infoBox" could have something to do with the warning box BG.

 

Ive looked at classes/boxes.php

where infobox class is but im still non the wiser??

 

:?

Posted

Have you tried to alter the infobox background colours in the stylesheet?

Posted

Try changing this in the css

SPAN.markProductOutOfStock {

 font-family: Tahoma, Verdana, Arial, sans-serif;

 font-size: 12px;

 color: #c76170;

 font-weight: bold;

}

 

Not positive thats what youre looking for but I think so...

Perdure - Transparent Object Relational Persistence
Posted

Post a URL of the page in question :?:

HTH

Neil

 

Common sense is genius dressed in working clothes.

Ralph Waldo Emerson

Posted

Ive give up on this one and installed the latest 2.2ms1

for reference the CSS Brendan quoted was for the text colour.

 

Thanks anyway

Posted

to which you just need to add

background: #(colour you want)

:wink:

Posted

just out of interest, have you figured out how to change it in your new version?

Posted

There is no warning Bg in the ms1 version.

I have however noticed a new problem that in the shop cart it issues the following:

Products marked with *** dont exist in desired quantity in our stock.

You can buy them anyway and check the quantity we have in stock for immediate deliver in the checkout process.

 

The checkout process doesn't show any quantity available all it does is places *** next to the product with no explanation?

 

I admit i havent searched for this problem yet, so i will probably post a new message for this..

 

Thanks for your help! :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...