Author

Siddharth Shukla

Browsing

you can add this code in your .xml file <fieldset name=”address”> … <field name=”country_id”> <argument name=”data” xsi:type=”array”> <item name=”options” xsi:type=”object”>Magento\Directory\Model\ResourceModel\Country\Collection</item> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string” translate=”true”>Country</item> <item name=”formElement” xsi:type=”string”>select</item> <item name=”sortOrder” xsi:type=”number”>100</item> <item name=”source” xsi:type=”string”>address</item><!– fieldset name –> <item name=”dataScope” xsi:type=”string”>country</item><!– ‘country’ – db table column name where country code is saved –> <item name=”validation” xsi:type=”array”> <item name=”required-entry” xsi:type=”boolean”>true</item> </item> </item> </argument> </field> <field name=”region_id”> <argument name=”data” xsi:type=”array”> <item name=”options” xsi:type=”object”>Magento\Directory\Model\ResourceModel\Region\Collection</item> <item name=”config” xsi:type=”array”>…

# php -v (default PHP version) # From PHP 8.0 to PHP 7.4: sudo a2dismod php8.0 sudo a2enmod php7.4 sudo update-alternatives –set php /usr/bin/php7.4 sudo service apache2 restart # From PHP 7.4 to PHP 8.0: sudo a2dismod php7.4 sudo a2enmod php8.0 sudo update-alternatives –set php /usr/bin/php8.0 sudo service apache2 restart

Go to System > Index Management and check indexers status.Select the items that are marked as “Reindex required” and go to Actions > Update on schedule Run this command for all indexing php bin/magento index:reindex Check the status of the indexe and identify indexe that still need to be individually reindexed, sometimes general reindex does not work for all indexers php bin/magento indexe:status You will receive a similar result as presented below: Show the list…