WEB11 Posted November 11, 2005 Share Posted November 11, 2005 This is supposed to hide the price and display the text if the product quantity is 0, I know im close but still cant figure out the rest... if ( $product_info['products_quantity'] > 0 ) { echo $products_price; } else { array('text' => TEXT_CALL_FOR_PRICE ); } Thanks Link to comment Share on other sites More sharing options...
♥yesudo Posted November 11, 2005 Share Posted November 11, 2005 Try: if ($product_info['products_quantity'] > 0) { echo $products_price; } else { echo TEXT_CALL_FOR_PRICE; } Your online success is Paramount. Link to comment Share on other sites More sharing options...
WEB11 Posted November 12, 2005 Author Share Posted November 12, 2005 That worked like a charm, but I could swear I tried that before hehe. Anyway thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.