Yes, you can just add that code, but you would also have to add this on line 79:
$this->Discounts = new WA_eCart_Rule(urldecode("Flash%20Sale"), true, "WAEC_eCart1_FlashSale");
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.