vuestorefront / vue-storefront-1

The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Newest updates: https://blog.vuestorefront.io. Always Open Source, MIT license.
https://www.vuestorefront.io
MIT License
18 stars 13 forks source link

History order #236

Closed bloodf closed 3 years ago

bloodf commented 3 years ago

From vue-storefront created by fishwolf: vuestorefront/vue-storefront#5863

Current behavior

If i have a product without shipping, for example a downloaded product, if the customer have a order with this product the api return a php error

Expected behavior

no php error and return correct data


Fatal error: Call to a member function getData() on boolean in app/code/community/Divante/VueStorefrontBridge/controllers/UserController.php on line 333

Steps to reproduce the issue

Order without shipping

Version of Vue Storefront

Can you handle fixing this bug by yourself?

Which Release Cycle state this refers to? Info for developer. (doesn't apply to Next)

Pick one option.

Environment details

Additional information