Just curious. Im playing with 7.4 at the moment but havent tested it in production, yet. submitted by /u/Krauter123 [link] [comments]
Yearly Archives: 2019
I am using the object manager (directly and intentionally) to get the sales quantity of a product. $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $product_id = 101; $soldproduct = $objectManager->get('MagentoReportsModelResourceModelProductSoldCollection') ->addOrderedQty() ->addAttributeToFilter('product_id', $product_id) ->getFirstItem(); This successfully allows me to get the quantity sold of a product by passing in the product ID to the […]
I set Magento up using Cloudways, and now I’m trying to move it to my local Ubuntu VM. I used the official .gitignore from Magento, cloned the project locally, ran composer install, made sure that I had my env.php and config.php files downloaded and in the right place. I changed […]
I have submitted a module to the marketplace, I have tested it by all cases. I have switched to production mode but I am not getting any errors. However, I am getting a failure on submission with the below errors. Enabling maintenance mode Starting compilation Something went wrong while compiling […]
Can anyone explain why in some CSV’s translations are not always in ” “. For example in the tax csv: Tax,Tax Shouldn’t it be: “Tax”,”Tax”
Currently I’m using magento 2.2.8 and so far I know about 3 main options to import simple products (using csv file). a) csv import (Magento seems quite slow on this end) and only allows batches of about 400 products locally (on live server, only 100). This is the option I’ve […]
I have an external hard drive (type ext4) to which I make a daily backup of my /home folder and postgresql database via an anacron script. I have run into two problems: 1.) When the computer (Ubuntu 18.04) starts up I need to enter my login password. Then the backup […]
Does anyone actually know how GB&S actually works? Not for the first time, I have had to put a block on the use of this tool. Because I have witnessed it deleting a file on my main machine which it shouldn’t have deleted, and which is a vitally important file. […]
I get that different devices need different color models, as explained here, for example. However, why can’t applications switch transparently between RGB and CMYK and send a RGB to a monitor and the equivalent CMYK to printers? What and why goes wrong?