WP e commerce plugin
-
Hi,
I’m trying to modify a little bit the functionality for “Not in Stock” product status.
I want to change it in “Available to order ” which means that the product can be added in chart .
I’ve tried to remove from wpsc_the_variation_out_of_stock() function ( product-template.php ) the return “disabled=’disabled'” part..Doesn’t work …Please help me out ! Tnk
$stock = $stock[0];
if ( $stock < 1 ) {
$out_of_stock = true;
}
}if ( $out_of_stock == true )
return “disabled=’disabled'”;
else
return ”;
- The topic ‘WP e commerce plugin’ is closed to new replies.