Jump to content


Photo

How to Set Default Values for Magento 2 System Configuration

magento magento 2 magento 2 tutorials magento 2 ecommerce

  • Please log in to reply
No replies to this topic

#1 Meetanshi

Meetanshi

    Advanced Member

  • Members
  • PipPipPip
  • 535 posts

Posted 23 August 2019 - 07:27 AM

Set default values for Magento 2 system configuration to ensure that there will always be a logical value returned for the configuration option and not have to worry about an invalid or empty output.

The programmatic method for the same can be found at https://meetanshi.com/blog/set-default-values-for-magento-2-system-configuration/


looking for the best presta addons with outstanding support? check this: PrestaShop Modules