Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disabling buy now button


Crabs

Recommended Posts

Posted

Is there a way of disabling buy now button and adding an out of stock message if an item is not stocked in the quantities customers are requesting?

 

Any help appreciated.

Posted

yes it would require a little programming but it can be done with if/else statements.

 

ex only:

 

if quantity == 0 {

echo 'out of stock';

else

echo 'buy now button code. ';

 

}

 

 

Is there a way of disabling buy now button and adding an out of stock message if an item is not stocked in the quantities customers are requesting?

 

Any help appreciated.

Posted
yes it would require a little programming but it can be done with if/else statements.

 

ex only:

 

if quantity == 0 {

echo 'out of stock';

else

echo 'buy now button code. ';

 

}

 

Thats what I figured. I don't have the php expertise to rewrite the code.

Posted

Search the contributions for out of stock mods I am sure someone has wrote something that will work.

 

Thats what I figured. I don't have the php expertise to rewrite the code.

Archived

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

×
×
  • Create New...