PeeJay Posted February 26, 2005 Share Posted February 26, 2005 Hello, I have made one of my payment module to be disabled when the total exceeds the maximum. I used the below code: if ( ($this->enabled == true) && ($order->info['total'] >= 100) ) { $this->enabled = false; } It works fine but I would like to show some texts which explains why that method was disabled. Is it possible? I tried myself but could not show any text! If you have some idea or pointer, please help me. -PeeJay Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.