I have my products in Magento db but I am borrowing the cart module from external site through an API. So basically when a customer clicks on "ADD TO CART" button, the product details are sent to the external site via a post API call, now using a get API call I am retrieving the cart details from the external site. But I am not getting which particular classes do I need to override in Magento so that cart displays the product details retrieved from the API. Also I am sending the product details to the external site by overiding the addProduct method in checkout module. Is this the correct way? I am confused about the parameters that are passed there i.e $product & $requestinfo . Can you please clarify my doubts. Thanks in advance



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.