revans
March 23rd, 2003, 06:27 PM
You know how the cart will flag all “new “items. That’s good, but what if a customer wants to see only the new items? She has to trawl through all the catalogue and pick them out one by one.
Now I could go and add a sub-category called say “Items added recently” and then when I add a new product, add it to that category too. So the customer could click on “Items added recently” and get only new products, regardless of what other category they were also in. Problem though: at some time I’d have to go back in and remove that category from older products, and be keeping track of when a product was entered etc. unlike flag system which is slicker because it maintains itself.
I was trying to come up with a way to do this, the functionality is already built in, but I’m not good enough of a programmer to figure it out. Basically I was writing a page to load into demo.php which queried the DB for flagged items. Doesn’t work though.
Is there a way to do this besides adding a new subcategory?
Now I could go and add a sub-category called say “Items added recently” and then when I add a new product, add it to that category too. So the customer could click on “Items added recently” and get only new products, regardless of what other category they were also in. Problem though: at some time I’d have to go back in and remove that category from older products, and be keeping track of when a product was entered etc. unlike flag system which is slicker because it maintains itself.
I was trying to come up with a way to do this, the functionality is already built in, but I’m not good enough of a programmer to figure it out. Basically I was writing a page to load into demo.php which queried the DB for flagged items. Doesn’t work though.
Is there a way to do this besides adding a new subcategory?