I need to send data from controller to Block, I have used many ways but it does not work. I’m trying this way: Controller.php public function execute() { $order_id = $this->getRequest()->getParam("order_id"); $order = $this->orderInterface->loadByIncrementId($order_id); $pakkeShipment = $order->getPakkeShipment(); $resultPage = $this->resultPageFactory->create(); $resultPage->getConfig()->getTitle()->prepend(__(' heading ')); $block = $resultPage->getLayout() ->createBlock('VendorPakkeBlockTrackInfoTrackingInfo') ->setTemplate('Vendor_Pakke::track_info.phtml') ->setTrackingInfo($pakkeShipment) ->toHtml(); […]
Magento2
I just upgrade Magento 2.3.0 to 2.3.3, all issues has been fixed just Authorized.net payment method not working with Sandbox account. Please give me suggestion on this issue.
I want to render the billing address inside the checkout sidebar, above the shipping address. How can I achieve this?
I’m trying to make a SOAP web service work. I have a XAMPP server installed and I use Visual Studio Code for coding. I’ve created a web service in a file called “servidorWs.php’. It’s content is the following: function sumar($n1, $n2){ return $n1+$n2; } function restar($n1, $n2){ return $n1+$n2; } […]
need some sample code for the retrieving the images from magento. I always see the search results in php but not anything in java.
I want to create a custom customer attribute where for example he can complete custom values for Complete your 5 best movies Multiselect do not works because it need a source. There is something that i can create to save that custom data for example in a JSON or so?
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 […]