Skip to content

how to change product attribute’s frontend input to dropdown programmatically

i have tried following but it’s not working. <?php namespace VendorExtensionSetupPatchData; use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupPatchDataPatchInterface; use MagentoFrameworkSetupPatchPatchRevertableInterface; class UpdateProductAttribute implements DataPatchInterface, PatchRevertableInterface { /** * @var ModuleDataSetupInterface */ private $moduleDataSetup; /** * @var EavSetupFactory */ private… Read More »how to change product attribute’s frontend input to dropdown programmatically

Collapse Checkout Tabs

I am trying to figure out how to collapse all tabs on checkout page except the address tab. I want that once I open the checkout page, that all tabs except the adress tab are collapsed.