0

I have a widget that selects the product but it returns the sku and the id of the product, and what I need is the image or a thumbail.

any idea what block I call because for this I make the call to the block

        <parameter name="id_path" xsi:type="block" visible="true" required="true" sort_order="10">
            <label translate="true">Product</label>
            <block class="Magento\Catalog\Block\Adminhtml\Product\Widget\Chooser">
                <data>
                    <item name="button" xsi:type="array">
                        <item name="open" xsi:type="string">Seleccionar Producto...</item>
                    </item>
                </data>
            </block>
        </parameter>

the above code returns this in the frontend

enter image description here

I would appreciate some help

1 Answer 1

0

This may help you regarding this :

https://www.mageplaza.com/devdocs/magento-2-create-widget/#step-1-declare-widget-widgetxml

https://www.toptal.com/magento/custom-widgets-in-magento-2

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.