A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

2

Here is my example module from mentioned question/answer on GitHub. You can examine a commit https://github.com/SiarheyUchukhlebau/Dcw_Vm/commit/baf4053dc1d9fa625122cddcfb0da05029bda41f to detect, how I have been add another attribute for the media gallery image called custom_iamge_link (having a text type). I don't know what exactly goes wrong in your case,...


0

Go to the same file module-sales/view/adminhtml/templates/order/create/totals.phtml Replace the whole div (line approx. 27) <div class="admin__field admin__field-option field-email-order-confirmation"> <input type="checkbox" id="send_confirmation" name="order[send_confirmation]" value="0" class="admin__control-checkbox"/&...


2

You need to update your observer function's code : public function execute(\Magento\Framework\Event\Observer $observer) { $_product = $observer->getEvent()->getProduct(); $_sku = $_product->getSku(); $writer = new \Zend\Log\Writer\Stream(BP . '/var/log/Rohan.log'); $logger = new \Zend\Log\Logger(); $...


0

You may add it from your Grid.php file itself. For example, if the custom column name is Country, $this->addColumn( 'country', [ 'header' => __('Country'), 'index' => 'param_id', // this is optional parameter (if you want to pass one of the available values in collection) 'filter' => false, 'renderer' =&...


2

It is naming convention issue. Please rename your controller action PDF to Pdf and run setup:upgrade and di : compile. And check route http://store/admin_1evvgb/testpakke/download/pdf Hope it will help you. Thank you


0

Try to add the sortOrder attribute. I face the same issue and adding it, fixed my sorting column issue after rendering some specific columns. <column name="products" class="Module\Name\Ui\Component\Listing\Column\Products" sortOrder="100"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...


Top 50 recent answers are included