[FIX] website_sale: corrected a small error in template condition and a bit of cleaning