A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Kevin Killingsworth dc2b4485f4 Add placeholder image for product preview (https://github.com/woocommerce/woocommerce-blocks/pull/382)
* Add placeholder image for product preview

This adds the designated placeholder image url from settings into the
wcSettings global for the blocks to use. Then uses the placeholder url
when a product doesn't have any images.

* Updated based on review notes

Using `$block_settings` instead of `$settings`
Using '' alt tag
Updated snapshot

* Add the placeholder global to test that it passes through to the preview
2019-02-01 10:45:53 -05:00
plugins/woocommerce-blocks Add placeholder image for product preview (https://github.com/woocommerce/woocommerce-blocks/pull/382) 2019-02-01 10:45:53 -05:00