For site contains many custom options, how to avoid to be hang when creating dependent custom?

Created by Jane D, Modified on Mon, 28 Mar, 2022 at 4:08 PM by Rosa Truong

QUESTION:


I create many custom options with function dependent in the backend. The site is hang.

Do you have any code optimizing this process?


ANSWER:


For optimizing the creating custom option in the backend, please upload the files below and overrides the current files on your site.


+ app/code/Bss/OptimizeConfigDCO/Override/Adminhtml/AddBackendSelectTypeField.php

+ app/code/Bss/OptimizeConfigDCO/etc/di.xml

+ app/code/Bss/OptimizeConfigDCO/etc/module.xml

+ app/code/Bss/OptimizeConfigDCO/registration.php

+ app/code/Bss/OptimizeConfigDCO/view/adminhtml/layout/catalog_product_edit.xml

+ app/code/Bss/OptimizeConfigDCO/view/adminhtml/templates/bssdependid.phtml

+ app/code/Bss/OptimizeConfigDCO/view/adminhtml/web/js/depend-config-control.js

+ app/code/Bss/OptimizeConfigDCO/view/adminhtml/web/js/optimize.js

+ app/code/Bss/OptimizeConfigDCO/view/adminhtml/web/template/depend-control.html


If you have any other questions, please feel free to contact us. We'd be happy to support!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article