Blog
Change log: 7.4.3 7.3.15 7.2.28 CVEs Patched: CVE-2020-7061: heap-buffer-overflow in phar_extract_file CVE-2020-7062: Null Pointer Dereference in PHP Session Upload Progress CVE-2020-7063: Files added to tar with Phar::buildFromIterator have all-access permissions I’d like to share a tool I’ve created to automatically detect these security releases and notify if you’re using an […]
I will try get total stock product qty. I use this below code: < ?php echo "Total qty: "; ?> < ?php $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $StockState = $objectManager->get('MagentoCatalogInventoryApiStockStateInterface'); echo $StockState->getStockQty($productId); ?> But script display 0 qty for all products. Here is full file code: < ?php $_helper = MagentoFrameworkAppObjectManager::getInstance()->get('MagentoCatalogHelperOutput'); $_product […]
I am trying to change how the order overview page found in the admin looks when it physically prints out on a printer. I have been inspecting the print preview page popup in Chrome, and I have no idea how to do it. In the print preview, some changes I […]
I have migrated one of my projects into 2.3.3 from 1.9.3.2 recently using data migration tool https://github.com/magento/data-migration-tool/. I am facing one weird issue with product description which got migrated. The migrated product description display straight on product page without reflecting any html tags which used in editor in admin. Can […]
I’m trying to compare the current date timestamp with product special price end date. to get current date I use : $currentDate = Mage::getModel('core/date')->timestamp(time()); and for specialToDate : $promoEndDate = strtotime($product->getSpecialToDate() ); the problem is that magento changes the date format when someone changes the admin locale and then strtotime […]
We use free extension pdf catalog generator. https://snm-portal.com/pdfpublication-templates But this extension generated all products also out of stock. Code is full open source. Any one help how can we change to generate products only in stock? Here is extension files: gofile.io/?c=Mz1hv6