The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

2

You can upgrade your Magento application from the command line php bin/magento maintenance:enable composer require magento/product-enterprise-edition=2.3.2 --no-update Specify additional packages composer require --dev allure-framework/allure-phpunit:~1.2.0 friendsofphp/php-cs-fixer:~2.13.0 lusitanian/oauth:~0.8.10 magento/magento-coding-standard:~1.0.0 ...


2

Command Line Upgrade is always Preferable: Step 1: Backup the existing composer.json file in the Magento installation directory. Step 2: Remove any unnecessary packages before upgrading to Magento 2.3.2. composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update Step 3: Then you need to deactivate the Magento Open Source ...


2

You Can Upgrade Via Admin As Well, Start System Upgrade Setp 1 :- Save a backup for composer.json because the following steps will overwrite it. The commands are as below: 1. cd <your Magento install dir> 2. cp composer.json composer.json.old Step 2 :- php bin/magento maintenance:enable Step 3 :- composer require magento/product-...


2

Just run following commands php bin/magento maintenance:enable composer require magento/product-community-edition 2.3.2 --no-update composer update rm -rf var/cache/ rm -rf var/page_cache/ rm -rf var/generation/ php bin/magento setup:upgrade php bin/magento maintenance:disable For more details: https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-...


2

Run below commands from the terminal to upgrade Magento to 2.3.2 php bin/magento maintenance:enable composer require magento/product-community-edition 2.3.2 --no-update composer update rm -rf var/cache/ rm -rf var/page_cache/ rm -rf var/generation/ chmod +x bin/magento php bin/magento setup:upgrade php bin/magento maintenance:disable Hope it helps!!!


1

"Running schema recurring.Unique constraint violation found" this occurs if there is duplicate entry in any table of project db and high probability to occur this problem is when you export db and then import,if db is not export completely or correctly. so the solution is just export db again correctly and import and if you created tables then define at ...


1

You should be able to update directly without creating a new project first. Take a look at the docs: https://devdocs.magento.com/guides/v2.3/cloud/project/project-upgrade.html


1

create an observer using checkout_cart_product_add_after event into Vender/CustomModule/etc/frontend/events.xml <event name="checkout_cart_product_add_after"> <observer name="change_custom_option" instance="Vender\CustomModule\Observer\ChangeCustomOption" /> </event> then create observer into Vender\CustomModule\Observer/...


Only top voted, non community-wiki answers of a minimum length are eligible