0

I would like to know if it's possible to create an order without any shipping method?

The project I'm working on requires orders without shipping method for specific products. I first thought about creating virtual products but for now it's not an option...

Once inside the cart if there is only this specific product shipping methods would be hidden and the user could go to the next step. But I don't know if it's possible to have a quote and an order without any shipping method (and any shipping address).

This specific product is a giftcard but it can't be a virtual product (don't have a choice on this at the moment). That's why I don't want a shipping method because it will be sent by email.

Thanks in advance.

1
  • Hate to ask this, but as virtual products are the correct answer, why can't you use them? Commented Aug 22, 2016 at 16:27

1 Answer 1

0

You could override Magento's logic for what constitutes a virtual product. If you override Mage_Catalog_Model_Product::getIsVirtual to include a check for a specific product then essentially it will be treated as virtual.

Usual caveat that you should extend this in your own extension rather than in core.

3
  • Thank you for the answer, I'll give it a try and see if it could work. Main reason why I don't use a virtual product is because the customer we have doesn't want to use them and we have to adapt to what he already has. It would be so much easier tho.
    – PRMagento
    Commented Aug 23, 2016 at 6:53
  • Any joy with this approach? Commented Aug 24, 2016 at 14:43
  • I'll give it a try next week and let you know how it goes :)
    – PRMagento
    Commented Aug 25, 2016 at 12:15

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.