Fixing a small issue reported by a client with Vendr Checkout.
In the Vendr Checkout settings when no store logo is selected, or if the media item is deleted, the Checkout pages throw an error.
This PR adds some better defensive code around the store logo in the VendrCheckoutMaster view. Unfortunately in V8 HasValue can't be trusted!
I appreciate this PR is targeted to Vendr Checkout V1, simply because this is what affects our client. It should be easy to merge these changes up to Vendr Checkout V2 also!
Fixing a small issue reported by a client with Vendr Checkout.
In the Vendr Checkout settings when no store logo is selected, or if the media item is deleted, the Checkout pages throw an error.
This PR adds some better defensive code around the store logo in the VendrCheckoutMaster view. Unfortunately in V8
HasValue
can't be trusted!I appreciate this PR is targeted to Vendr Checkout V1, simply because this is what affects our client. It should be easy to merge these changes up to Vendr Checkout V2 also!