hi there i was writing a module for opencart that let’s the user chose from some
products(mother board, graphical card, processor …)
in a wizard style that for every choice i retreive the “id” of the selected product
but calling a
addtocart(id);
for every product will make them apear as a list of products
but i want to make them added to the cart as a single product called
“costimized pc”
and make the order treat them as a single product as well
any idea about how or where should i start are welcome
This isn’t really something simple to achieve, since OpenCart is designed as a shopping cart for single item products. Your best solution would be to use options instead for a single product, and perhaps change it so that they display in a better fashion on your product page