I’ve set up two vm running on same virtualbox host, they are working under same NAT Network and each has grained an IP. Their network setting looks like: In order to make SSH works, I’ve followed instruction of this thread, and my port forward setting looks like: The ssh_config and […]
Yearly Archives: 2020
DevTools failed to load SourceMap: Could not load content for webpack:///node_modules/sockjs-client/dist/sockjs.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME program used: visual studio Code. language: javascript es6+. using local host webpack.
I want to fill a column with the numbers from a specific range automatically. For example, I have this range [-1;1] and I want Excel to calculate the step and fill whole the range despite the amount of cells I selected. If I select 3 cells, it should do this: […]
I firmly believe that, in order to strike the optimal balance between minimalism and visual appeal, a user interface should display no more than what’s absolutely necessary while making those necessary elements look visually appealing. Keep it simple, but make the simple look amazing. But, what does simple look like […]
when I use this method to get custom attributes $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $_product = $objectManager->get('MagentoCatalogModelProduct')->load($block->getItem()->getProductId()); echo '' . $_product->getData('custom_attribute'). ''; in this place design/fronend/theme/Magento_Checkou/templates/cart/item/default.phtml (page checkout/cart, list products), this method repeat custom attribute. When a product has no attribute, it takes from the previous product.
I created a new template var using email_order_set_template_vars_before observer and it works when I send email new order through the Magento admin. But it does not trigger when new order is placed. Here is my code. events.xml < ?xml version="1.0"?> SaveEmailVariables.php namespace FoobarShipperHQDeliveryDateObserver; use MagentoFrameworkEventObserverInterface; class SaveEmailVariables implements ObserverInterface { […]
I need to remove the cache from my Block class, even if it removes the cache from the entire page. How could I do it?
I created an order payment with Redsys. The status of the order is Pending. However I can’t cancel the order. Appears a message saying that “the order can’t be canceled” Why? In theory, I could cancel a order in pending. Anyone knows what happen? Thanks. I’m in Magento 2.3.1.