To create or edit Magento 2 email template via admin panel, we should proceed to Admin Panel -> Marketing -> Email Templates. Ref:https://belvg.com/blog/customize-email-templates-in-magento-2.html
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”>…
Just change the .xls to .xlsx if you have the latest office installed.
# 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…
This is due to a flag column-statistics that is enabled by default in mysqldump 8. You can disable it by adding –column-statistics=0. The command will be something like: mysqldump –column-statistics=0 –host= –user –password
A simpler approach would be: Open POSTMAN Click on “import” tab on the upper left side.Select the Raw Text option and paste your cURL command.Hit import and you will have the command in your Postman builder!Click Send to post the command
Set for a global run. npm install nodemon –save-dev In the Package.json file, we need to put the start and file name. “scripts”: { “test”: “echo \”Error: no test specified\” && exit 1″, “start”: “nodemon app.js” } npm start
scp -i pem_name.pem [email protected]:/var/www/data.sql.gz /local/path/
mysql –max_allowed_packet=512M –database=database_name -u root -p < database_name.sql