♥Skittles Posted June 21, 2008 Author Share Posted June 21, 2008 Basically i would like for the related products to show after adding the item to your cart. So in my case you would add the product (flooring) to your cart and at that point it would show what products (trim) are avilable for that product. Hope you understand. Thanks tpboles, Yes, I understand what you are looking for. The problem that arises from putting Related Products on the cart page comes when there are multiple items in the cart. Which product_id do you use for the module? If it's always the last one, how do you make sure the last item added is the item used for the module? What happens if they add one of the Related Products? Will the module then display Related Products for, in your case, the selected trim? Okay, none of that means it isn't possible, just that there are a lot of variables that come into play. Which means there is a lot of coding involved over and above just adding the contribution. One possibility that would be fairly easy to implement would be to create a separate page to display all the Related Products of any given product_id, (like Whitespliff was looking for,) then add code to the cart page that includes a link to that page for each product. The link would pass the product_id to the new page. If the customer was interested, they would click on the link. The code on the cart page could look for any related products for each item in the cart and if there weren't any, just not add the link... Another possibility would be to create an "interim" cart page. When the customer adds a product to the cart, have them sent to a page which indicates the item has been added to the cart, with the related products below the item. Give the customer the opportunity to then continue to the complete cart, select a related product, or continue shopping to return to the previous page. This solution would entail a lot more programming changes than the previous one. So I guess the real question is, how good are your php skills? If this isn't something you can do on your own, you will need to hire someone to do it for you. I doubt that is something you want to hear, but any solution requires way too much work for me to put paying clients on hold while I add new and significant functionality to a free contribution. (If you'd like me to quote a price, send me a PM...) On the other hand, if you decide to tackle this yourself, I'll be happy to be a resource for you. Good luck, -Skittles Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.