Daily Archives: December 1, 2019
How may times have you started a project from scratch and said 0 tech debt, unit tests at 100% coverage, and 0 defects. Only to find that the project turned into chaos, your unit test coverage slipped to the minimum required, and you have an entire backlog of tech debt? […]
I need to make massive changes on a purchased magento 2.1.9 theme. I created a child theme, copied the files I want to edit. For now I can use grunt to compile .less files located in the web/css directory of my child theme but I would also like to compile […]
Security best practices suggest that you should never have an executable in a public web directory. However, in a typical Magento install (in my very limited experience), this is not true. Even in production, it seems bin/magento needs to remain executable. Are there other files that need to be executable? […]
I have Magento ver. 2.2.5, and I created a simple -20% discount rule on all products with the Catalog Price Rule. But the problem is, that the rule doesn’t work on some of the products and I have no idea why. Could anyone please help me out? I have tried everything […]
i want to dispaly billing address in this format postcode region city street. Any idea guys please help me.
I am adding the barcode with product SKU and product ID in a table using below code:- File Path: /app/code/[NameSpace]/[ModuleName]/Model/ResourceModel/Custom.php public function generateBarcodes($object, $attribute, $barcode, $_product) { $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $barcodeModel = $objectManager->create('VendorModuleModelBarcode'); $data = array( 'barcode' => $barcode, 'product_id' => $_product->getId(), 'qty' => 1, 'product_sku' => $_product->getSku(), 'supplier_code' => […]