Skip to content

Upload csv file from a custom admin form issue

This is my fieldset from the uicomponent form: <fieldset name=”image_form_fieldset”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string” translate=”true”>Form</item> </item> </argument> <field name=”file”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string”>File</item> <item name=”visible” xsi:type=”boolean”>true</item> <item name=”formElement” xsi:type=”string”>fileUploader</item> <item… Read More »Upload csv file from a custom admin form issue

Composer can’t install any module due to “Your requirements could not be resolved to an installable set of packages”

Running 2.3.6 When I try to install any module via composer I get the following error: []$ COMPOSER_MEMORY_LIMIT=-1 composer require stripe/stripe-php:^7 Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2 is now available and you should… Read More »Composer can’t install any module due to “Your requirements could not be resolved to an installable set of packages”

Add a product attribute to a custom button on product pages, Magento 2.4.2

I am trying to add a product attribute to a custom button on product pages. I created a custom attribute called ebay_url. In custombutton.phtml I want to use the ebay_url product attribute to replace ‘https://www.ebay.com’. Help appreciated! /app/design/frontend/Solwin/freego/Magento_Catalog/layout/catalog_product_view.xml contents: <page… Read More »Add a product attribute to a custom button on product pages, Magento 2.4.2