Category: Magento 2
6 If you have $order object then you can easily get the order comment history by,If you don’t have $order object then you can use like this,EDIT If you need order comment then please try this,At the end, you have all order comments in $orderComment
Clear / Update cookie
The issue relates to Plesk When using Plesk, in the php-Settings of the domain -> additional config It looks very similar, like: include_path = “.:/var/www/vhosts/pathtoyourwebrootdirectory/vendor/magento/zendframework1/library”
The issue is possibly caused when Import/Export DataBase Views was not created in Magento 2.3. So create Views and inventory_stock_1 table in the Database.Source: https://magento.stackexchange.com/questions/256997/salable-quantity-is-showing-zero-in-product-grid-magento-2
User-agent: * Disallow: /*? Disallow: /index.php/ Disallow: /catalog/product_compare/ Disallow: /catalog/category/view/ Disallow: /catalog/product/view/ Disallow: /wishlist/ Disallow: /admin/ Disallow: /catalogsearch/ Disallow: /checkout/ Disallow: /onestepcheckout/ Disallow: /customer/ Disallow: /review/product/ Disallow: /sendfriend/ Disallow: /enable-cookies/ Disallow: /LICENSE.txt Disallow: /LICENSE.html Disallow: /skin/ Disallow: /js/ Disallow: /directory/Lets consider each groups of commands separately.Stop crawling user account and checkout pages by search engine […]
All the blocks in the layout are huge objects that have references to other huge objects and at one point you get a circular reference an var_dump crashes. If you want to get the names of the available blocks do this:then if you find the key you need you can just print it out like […]
Method 1:In the Magento Admin. Go to System > Tools > Cache Management and click Flush Static Files Cache.If having issues setting permishsion or Method 2:If you just changed the CSS file which already exists, what you need to do is just delete the corresponding file in pub/static, then when you refresh the page, it […]
How to set equal product height on the product grid view.You must select every element which will be used in the calculation of the grid, the elements do not need to be siblings of each other, therefore both of the following are valid:Source: https://github.com/Sam152/Javascript-Equal-Height-Responsive-Rows
rm -rf pub/static/; rm -rf var/view_preprocessed/; php bin/magento setup:static-content:deploy -f
bin/magento maintenance:enable && php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento setup:static-content:deploy -f en_US en_GB && php bin/magento cache:clean && php bin/magento cache:flush && bin/magento maintenance:disable