0

I've got the following situation on my website:

1 - I search my products based on simple ones (which is alright); 2 - When I click on them my Product page shows me the configurable one (which is alright); 3 - The problem:

When I add one product in my cart and go to the CART page, it is showing the configurable product, which is not the correct.

I'd like to be able to show the chosen simple product instead. Any ideas?

Thanks in advance.

1

To do this, you have to change the productID which is transmitted to the CartController::addAction()

And this is generated (I think) in the JS of the Configurable stuff.

So I think the easiest way is to just add the simple product id (which might be there already) and then remove all the other things from the formular (easiest way, just add disabled="disabled" to all the inputs, this doesn't break the JS and avoids the information to be transmitted.

  • thanks for your help Fabian, I've sort the problem rewriting the cart/block. Thanks anyway. – medina May 10 '13 at 4:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.