0

I am new to magento, currently working on a custom payment module created by another Developer. I am facting hard time to understand module.

This module has A drop-down List before placing order, But I change the option, it is not Displaying updated list, I could see old List.

I have tried below

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

But non of this worked. i whated to know how I can compile the module.

Please check this question I Could not able to Fix this problem.

  • try php bin/magento cache:flush – Nikunj Vadariya May 21 '18 at 5:24
  • You enable developer mode and check the error log – Amit Bera May 21 '18 at 8:22
0

You can compile by the following command:

php bin/magento setup:di:compile

Then run:

php bin/magento setup:static-content:deploy
php bin/magento cache:flush

| improve this answer | |
  • I have followed the steps, but i did not work. Can you please check the question once I have edited. Given link to another link of my question. – JB Pakalapati May 21 '18 at 6:01
0

No. That is not possible with tools shipped with Magento now.

Explanation: We have to distinguish code generation and compilation. Compiler does both. For both operations we need to read configuration of all other magento modules, otherwise their output will be incorrect or not full.

Compilation for one module does not make sense, as magento will not work with compiled configuration for one module only.

Generation for one module might make sense, but we will have to read configuration and constructor signatures from all other installed modules anyway. Without it not all code might be generated. So such operation would not be much faster than full compilation. We might think of it, but I think the bug you referenced will be fixed before the command is implemented.

| improve this answer | |
  • Can you please check the question once I have edited. Given link to another link of my question. – JB Pakalapati May 21 '18 at 6:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.