I have set up a custom product type for my configurator in magento. Now everything seems to be fine. If I do a second conf with the existing product, not a second "row" is added to the cart. It does sum up the cart item to be an amount of 2.

How can I prevent this?

This is the code in config.xml:

                <econfigurator translate="label" module="econfigurator">
                    <label>Econfigurator Product</label>

Thank you!

1 Answer 1


The simplest way to do it is to override the Mage_Sales_Model_Quote_Item::representProduct method.

add this at the top of it.

$itemProduct = $this->getProduct();
if ($itemProduct->getTypeId() == '`econfigurator ') {
    reutrn false;
// original code here

Your Answer

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

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