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? […]
Blog
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 […]
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 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 […]
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' => […]
When downloading, Firefox asks whether to open or save files. I’ve read the documentation about this behaviour, but it seems you have to configure each media type separately. On top of this, if the server specifies the media type incorrectly you can’t set a default action. Is there a way […]