Running vagrant up isn’t working anymore. I have read the post Vagrant up command not working which instructs removing Virtual Box and installing the newest version. However, I can’t uninstall VB either. Then I downloaded new version of VB here, and when I doubled clicked on it I got the […]
Blog
I am attempting to turn a table of prices over time into a pivot table that can be used to create reports. My issue is that per our process, if a price remains unchanged on a certain date, it is not added as a value to the table until the […]
Another talk: https://www.youtube.com/watch?v=dfgtKb-VpRk You don’t have to really watch it. Basically, he’s saying many people currently do for example: class Plant { // blah, blah… } class Gardener { public function water(Plant $plant) { // water the plant } } His basic premise is too frequently people are creating service […]
Well, I was using structured php and when asked to perform automated tests I found myself in need of moving on to objects since I didn’t find a way to do it the other way around. Earlier I used travis with java, but still searching I can’t find a way […]
I am working on a module to remove images of all deleted products, which is not the standard M2 behavior. My initial query to found images path still used by products was : $connection = $this->connection->getConnection(); $select = "SELECT {$connection->getTableName('catalog_product_entity_media_gallery')}.value" ." FROM {$connection->getTableName('catalog_product_entity_media_gallery_value_to_entity')}" ." , {$connection->getTableName('catalog_product_entity_media_gallery')}" ." WHERE {$connection->getTableName('catalog_product_entity_media_gallery_value_to_entity')}" ." […]
i’m tring to import a date field correct into the special_from_date and special_to_date field of products however for some reason the result is not correct. I have this - 008739-91-31 PROM18-00011 1 65.00 99.90 06-04-2018 09-30-2018 i try every format like d/m/y m/d/y y/m/d d-m-y m-d-y y-m-d but the result […]
I have developed a custom module to show additional product info on cart page. My module is combo of: https://webkul.com/blog/add-product-information-checkout-cart-in-magento2/ (https://github.com/webkul/magento2_cartPageAdditionalInfo) & https://www.atwix.com/magento-2/how-to-add-the-details-for-cart-item-in-magento-2/ I want to fetch the current product attribute as additional info for every next product in cart. But I get the same product attribute/name which is first […]
i have already tried to make the chanage of sort by price to custom attribute in admin store configuration but still the products are sorting by price in magento 2