I have a database with products in it, using OOP I’ve got a product object and a list for my page.
i want to build a sales manager add on. Start and end dates, % and maybe $ discounts, sometimes all sometimes selected products.
whats the best way to load this.
thinking of having a sales object, when selecting my products I’ll do check if there’s a sale, looking up the product ID and apply the discount… any better ways?