After install extension I receive error. If I go to Sales -> Order => shipped order. If I go to new order it is ok. Exception #0 (Exception): Notice: Undefined variable: secureRenderer in ……/app/code/Smartmage/Inpost/view/adminhtml/templates/order/view/info.phtml on line 34 line 34: <?= /* @noEscape */ $secureRenderer->renderEventListenerAsTag( 'onclick', "popWin('" . $block->escapeJs($shippingHelper->getTrackingPopupUrlBySalesModel($order)) . "','trackorder','width=800,height=600,resizable=yes,scrollbars=yes')", […]
Magento2
I’m trying to configure the visibility of some products for a specific date, but I can’t find what configuration I should select for this action to take place.
i created a phtml file, called in the catalog_product_view.xml file (inside the head.additional reference block), where i want to preload the main product image, for Core Vitals purpose, for example: <link rel="preload" as="image" href="<?= $block->escapeUrl($imageUrl) ?>"/> where $imageUrl is: $imageUrl = $block->getImageUrl(); But, the url (cached) of the product image […]
Partial invoicing in Magento 2 – how to update order line items with which items to invoice via csv? For example, let’s say I have an order that has 4 items on it. 2 of those items are on back order. So, I want to invoice and ship the other […]
I have problems creating cart rules, I don’t quite understand how it works, I need to programmatically create a rule that fulfills the following: 3% automatic discount if you have between 7 and 13 products with the “format” attribute equal to “polvo”. please if someone can guide me… this is […]
Our Magento 2.4.3-p3 site failed the XS Vulnerability check. Does anyone know how this can be fixed?
I would like to move the qty input to the right of the last product option (which in my case is a select element) I’ve defined a new block and template for the quantity to separate it from the add to cart button. but when I move it to product.info.options […]
I have developed a module in my magento 2.2.6 for to create an API that can update the product price and quantity via product id . Please see my code below /var/www/html/app/code/AdmNetsuitePQ/NetsuitePQ/registration.php <?php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, 'AdmNetsuitePQ_NetsuitePQ', __DIR__ ); /var/www/html/app/code/AdmNetsuitePQ/NetsuitePQ/Model/ProductUpdate.php <?php namespace AdmNetsuitePQNetsuitePQModel; use MagentoFrameworkExceptionInputException; use MagentoFrameworkExceptionNoSuchEntityException; use MagentoFrameworkWebapiException as HTTPExceptionCodes; […]
I am facing an issue when adding a new image to a product that does not have one uploaded, the special price would change to a random one. I am trying to do this as an user of the admin page, not as a developer, that is to say I […]