Hello!
We have our Customer Services Reps creating orders using Magento's backend. We want to eliminate the Custom Price checkbox from the order form. Is this possible?
Thanks in advance
Hello @arisaac
It is not advisable to make changes in the core file to eliminate the custom price checkbox from the order form.
However, you can override the below file or make the changes directly as mentioned:
vendor\magento\module-sales\view\adminhtml\templates\order\create\items\grid.phtml
Line Number 97:
Replace: <?php if ($block->canApplyCustomPrice($_item)): ?>
with:
<?php if (0): ?>
Thank you. I think we can use that snippet as a starting point.
Welcome @arisaac
Glad to help
I'd like to know how the solution helped you as it may help other community members facing a similar issue.
Thank you.