Hi Guys,
Just a quick question. I have multiple categories set up in which there are many products with the same name. So, for example, category id 1 has product "Toy1" and category id 2 has product "Toy1" also. These are completely separate products with a different look and price.
However I would like something that I can swap the entirety of the contents of my cart to another category, So I could choose category id 2, and it would swap the "Toy1" in my cart to the "Toy1" that is in category id 2 hence updating my basket total and the contents.
In essence, This would check the contents of my cart and the category chosen, If a product with the same name exists it will swap them.
I know this is a really strange way of having things set up. Any ideas?
I can imagine this as a separate page, a dropdown selector for the category and then a go button, But I have no idea for the code behind the button to swap things!
Thanks,
Dan
Bookmarks