TransWikia.com
  1. All Categories
  2. Magento

Magento : Recent Questions and Answers (Page 49)

Find answers to your questions about Magento or help others by answering their Magento questions.

Get matrixrate config programatically

I need to get shipping price programatically. I thought I'd use something like this (inspiration):$scopeConfig = $objectManager->get('MagentoFrameworkAppConfigScopeConfigInterface');$activeCarriers = $objectManager->create('MagentoShippingModelConfig')->getActiveCarriers();foreach($activeCarriers as $carrierCode => $carrierModel) { ...

Asked on 12/14/2020 by pevik

0 answer

Error 404 : The requested page do not exist

My target URL is: http://mylocalhost/devis/customer/printPdf But it triggers a 404 and I can't find why I have my frontend router app/code/FT/Devis/etc/frontend/routex.xml<?xml version="1.0"?><config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd"> <router id="standard">...

Asked on 12/14/2020 by Claims

1 answer

Magento 2 Checkout shipping afterRender

how to add afterRende to a form (page checkout shipping).I am using setInterval to check form is loaded, but it's a very bad idea....

Asked on 12/13/2020 by mac_mod

0 answer

I need to set the 'OR' condtion for last where clause but it is setting as AND how can change in magento 2.3

SQL need to change AND condtion to OR in below codepublic function getOrders() { $po_number = "%"."A"."%"; ...

Asked on 12/13/2020 by Sabareesh

1 answer

How to make checkout page 2columns-left on magento 2

I try to make the checkout page 2columns-leftlayout, but i can't. If i add this code in checkout_index_index.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left"xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">the page is not loading by default...

Asked on 12/13/2020 by Alin Lupoiu

1 answer

magento2 plugin and str_replace

In file module magento have functionpublic function formatPrecision( $price, $precision, $options = [], $includeContainer = true, ...

Asked on 12/11/2020 by Boll

2 answer

Custom email layout handle for custom module

I have created a custom module, In which I am sending email to customer. email is working fine but I have created a layout handle in layout/test.xml<?xml version="1.0"?><layout version="0.1.0">...

Asked on 12/11/2020 by Karan Adhikari

2 answer

Magento 2 - Remove debug path hint from email template

I am sending order email from my custom module. Issue is in order email it showing debug path hint. Here is the code that i am using.public function sendEmail($orderdata,...

Asked on 12/09/2020 by Hardik

3 answer

Watermark magento 2

most of the time the logo of the shops is apearing correctly on the product picture but it also happens that we are seeing a black bar on the right...

Asked on 12/09/2020 by Pascal van Kooten

2 answer

How to add Enable Disable functionality for a referenceBlock in Magento 2

I want to add Enable/disable functionality for a referenceBlock. <referenceBlock name="product_recommendations_pdp" remove="false" />The referenceBlock can be remove="true" or remove="false" directly form admin-panel for just selecting....

Asked on 12/09/2020 by Kumar Gaurav

2 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP