Blog
We added some extra functionality to an Product inventory grid and now the default actions that were previously there all fail with this error below. Note products are selected with a check in the checkbox. So not sure why it says that “something needs to be selected” Any ideas what […]
I’m trying to set a decimal value to a percentage discount on a tierprice. The problem is that when it’s saved the value is becoming an int instead of a decimal. Example if I set a percentage to 1.23% after save => 1% after saving it Any way that it […]
What is object manager in magento2? Is it good to avoid use of it in Magento and where shall we make use of object manager ?
I want to override MagentoSalesBlockAdminhtmlTotals this block I did but I don’t know what I’m doing wrong. app/code/[Vendor]/[Module]/etc/adminhtml/di.xml < ?xml version="1.0"?> app/code/[Vendor]/[Vendor]/Block/Adminhtml/Totals.php < ?php namespace [Vendor][Vendor]BlockAdminhtml; class Totals extends MagentoSalesBlockAdminhtmlTotals { /** * Initialize order totals array * * @return $this */ protected function _initTotals() { $this->_totals = []; $this->_totals['subtotal'] […]
I have found a lot of examples on how to create an extra attribute for the categories. I want to create a text field for adding a different H1 – instead of using the category name as the headings, on the category pages. But how can I fetch the attribute […]
KDE 5 power management allows to enable screen dimming after some period of inactivity: I’m using 900 nit high brightness display in laptop but I usually work at night so my typical “full” brightness is set at around 10% of brightness supported by display (and it’s already quite bright). When […]
I am trying to change the framerate of a video so it runs a little longer. I don’t want to re-encode and I want the audio to remain in sync. I was able to extract the raw video from the video and then remux using… ffmpeg -i source.mkv -c copy […]