tddwizard / magento2-fixtures

Fixture library for Magento 2 integration tests by @schmengler (@integer-net)

Home Page:http://tddwizard.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support bundle products - was: Make cartbuilder able to use actual products from the database?

amenk opened this issue · comments

I have to test with a pretty complex bundle product, so I imported the production database to the integration database, I think that is seems to be okay.

No I want to put this product into the cart during cart builder.

I would add a withProductInstance() method ...

Does this make sense and a pull request would be merged?

I see that I can already load products .. but I have to support bundle products ...

Does #5 already solve the issue? If not, how would a convenient interface look like to add bundle products?

It basically solves the issue ... I do not really know how a convenient interface could look like .. these bundle options etc. are not easy to put into an array in Magento.