Questions tagged [magento2]

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

Magento 2 - Error with new custom module - Impossible to process constructor argument Parameter #1

Does anyone have any idea what this error is when running this command in magento 2: setup:upgrade for a custom module? Here is the error: Impossible to process constructor argument Parameter #1 [ <...
  • 1
0 votes
0 answers
12 views

magento car api rest/V1/carts/mine/totals/

when i hit this api i am getting this error "message": ""%fieldName" is required. Enter and try again.", "parameters": { "fieldName": "cartId&...
  • 1
0 votes
0 answers
11 views

Magento 2 Multiple Image Upload

I want to add multiple images in magento2 ui component and under each image i want to add sub images currently i am using the concept of product gallery for adding multiple images upload but how i can ...
1 vote
3 answers
33 views

something went wrong with your request, please try again late Magento 2.4.5?

I have Magento 2.4.5 and on checkout page I get this error "something went wrong with your request" I use one step check out and in that I got this error how can I resolve this ..
0 votes
1 answer
16 views

PDP page customise if open from qr code

I want to know about the PDP page. How can I difference between if the product is open from qr code or list page itself. I want to customise the PDP page if the product is open from the QR code scan
0 votes
0 answers
12 views

Show applied cart rule on each product in cart/minicart

I have a cart rule that goes like this: if you have an item from category A and an item from category B, the item from B gets a 50% discount. So the way it works now is, the discount is displayed in '...
  • 3
0 votes
1 answer
11 views

Admin Products in Carts shows $0

Magento 2.4.6 luma template. 2 Domain setting with single install . Items added from second domain . Admin Products in Carts shows Item at $0 dollar. Items in frontpage shopping cart and checkout is ...
  • 41
0 votes
1 answer
9 views

Magento 2.4.4: Paypal Payments Pro test mode not working

I hve enabled test mode from the Magento admin as well as from the paypal dashboard, however, when I try to place an order using a test card it gives me this error: Some required information is ...
  • 330
0 votes
1 answer
17 views

Magento checkout for guest users only

I am looking for solution to remove or skip customer authentication on checkout and Allow guest to checkout. Simple is that we need to remove the authentication step to login or register, any one can ...
0 votes
1 answer
16 views

How to add bcc for forgot password emails in Magento 2

I want add bcc for forgot password email in magento 2. When i checked the code - \vendor\magento\module-customer\Controller\Account\ForgotPasswordPost.php in execute method we have this try { $...
  • 131
0 votes
0 answers
5 views

Magento 2.4.4: Discount on shipping amount not working with Paypal Payments Pro

I have created a Cart price rule with coupon code with condition where 85% discount is applied to the total. I have also enabled "Apply to Shipping Amount". When I placed an order the ...
  • 330
0 votes
1 answer
38 views

Magento 2. Change the price format .0000 to .00

In abandoned cart email I have <?= $item->getPriceInclTax() ?> and it looks like this 29.0000 Is it possible to change to 29.00
  • 57
0 votes
1 answer
18 views

Product Url inside order summary checkout

I want to put the name and the image of the product, in the checkout order summary, inside an anchor tag with the destination to the product page. I created a new module but without any good result: ...
  • 3
0 votes
0 answers
11 views

how to fix My Payment Methods loader issue in magento 2?

how to loader size customize in magento 2?
0 votes
0 answers
14 views

Magento 2 Marketplace Extension Submission Issue

I want to submit one of my extension in marketplace. I submitted and they give me one error while submitting one ajax form. But I am Following the same steps they gave me to reproduce the error. But I ...
0 votes
0 answers
16 views

How do I add favicons for individual pages?

I would like to use different favicons on individual subpages. Is that possible? If yes, how can I do it? Thank you!
0 votes
1 answer
12 views

var dump resizeFromImageName is giving NULL

I am generating image cache by following code $resizeImage = $objectManager->get('\Magento\MediaStorage\Service\ImageResize'); $...
0 votes
0 answers
8 views

Magento2 : Php script to query result data to send email in excel format

Iam having select query to fetch data, based on this data to send mail in excel sheet for my magento project.
  • 1,113
0 votes
1 answer
15 views

New Order Email Template for Specific Product Type / Sku in Magento 2

We are looking for a solution whereby if a customer orders a specific product or product type, they will receive a different order confirmation (new order) email. The standard confirmation emails ...
  • 1
0 votes
1 answer
14 views

How to add new section below shipping method and above next button on checkout page - Magento 2.4

I searched for the reference URL from that I can able to add above the "Shipping Method" or below "Next". But Not able to add the text box between "Shipping Method" and &...
  • 2,034
0 votes
0 answers
18 views

Change price label from MYR to RM in Magento 2

In magento 2.4.4p2 commerce I am trying to change the pricing label from MYR to RM But I am not able to found ways to change it, I am able to find this source code which purpose is to show the ...
0 votes
0 answers
19 views

Malicious code in Order Address

I got many orders in which I found malicious code in the order address section. My website's Magento version is 2.4.5-p1. I am afraid it is some kind of malware attack and if it is so please suggest ...
0 votes
2 answers
22 views

Magento upgrade from 2.4.2-p1 to 2.4.5-p1 problems

I upgraded my magento store from 2.4.2-p1 to 2.4.5-p1 and changed php version from 7.4 to 8.1 and I ran "composer update" successfully, then upgrade,compile and deploy static content. Now i ...
  • 15
0 votes
2 answers
21 views

How to do customization in the Luma theme CSS?

I have created a child theme with a Luma theme as a parent. and activate the theme from the configuration. Now I need to do some modifications in the CSS file like I need to change the background ...
  • 13
0 votes
1 answer
30 views

Add template Variable in email template for Magento RMA in Magento Enterprise

I want to set the template variable in Magento RMA email template using observer or plugin. Unlike in email order (i.e. email_order_set_template_vars_before) or email shipment (i.e. ...
0 votes
0 answers
11 views

Row total mismatch on credit memo page (magento version 2.4.3)

See this image it's the order page. The highlighted product's calculations are correct. See this image it's the credit memo page. The highlighted product's calculations are incorrect. Can you kindly ...
0 votes
1 answer
17 views

magento 2 required is not working category in custom form

we adding required entry in magento 2.4 is not working <script type="text/x-magento-init"> { "*": { ...
0 votes
1 answer
76 views

Adobe commerce cloud upgrade to 2.4.6 gives me a error

Recently I have upgraded my adobe commerce from 2.4.4. to 2.4.6. I am using PHP 8.1. After upgrading my forntend throws a exception error. [2023-03-16T06:03:15.101913+00:00] report.CRITICAL: TypeError:...
0 votes
2 answers
22 views

How to double extend Magento_Checkout/js/view/summary/item/details in Magento 2

is it possible to extend a new checkout_index_index.xml on top of already existing one I created a projectA/app/design/frontend/MageBig/martfury/projecta/Magento_Checkout/layout/checkout_index_index....
0 votes
0 answers
17 views

magento-cloud CLI ssl cert error

I just installed magento-cloud cli on my local environment however after install I am getting an error that says cURL error 60: SSL certificate problem: certificate has expired I have seen another ...
  • 683
0 votes
0 answers
15 views

Magento 2.4.5 after place order success page with customization

Hello I have created one observer after the order is placed (sales_model_service_quote_submit_success) order data need to synch with some third-party system it is working fine order is synched to the ...
0 votes
1 answer
6 views

How to obtain Fastly keys on Magento Cloud?

I have a Magento Cloud installation and Fastly is configured out-of-the-box. Although, I need to use the Fastly API to trigger a Curl command using the API key. How is it possible to get the API key ...
0 votes
1 answer
34 views

Magento 2, Undefined variable: secureRenderer

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 .........
  • 57
0 votes
1 answer
12 views

How to prevent your custom .gitignore file to be overridden?

Running composer install I have my .editorconfig and .gitignore overriding. Is there any way to avoid it?
0 votes
0 answers
10 views

How to add custom admin form with store switcher in magento 2?

I want to add a form with store switcher facility. So when we change the store the fields value will be change according to the store view. How to save the field values in the database? And How to ...
0 votes
2 answers
33 views

How to programmatically add roles to product images?

I need to insert Small, thumbnail and swatch roles to all existing product images, any solution? Thanks
  • 738
0 votes
0 answers
9 views

Magento 2.4 move cart page shipping rates on top of the page

Hi I need to remove the cart page shipping rates list under the "Estimate Shipping and Tax" and move that block on the top of cart page. Can you give me some support to do that. SO far I ...
0 votes
0 answers
14 views

How to create Image uploader with multiple fieldset Magento2

<fieldset name="dealz_info" sortOrder="11"> <argument name="data" xsi:type="array"> <item name="config" xsi:type=&...
  • 131
0 votes
1 answer
26 views

Product showing out of stock but In stock in backend

We have some products in our inventory that are in-stock in the backend but showing out-of-stock in frontend. If I make a product out-stock and then back to in-stock then it works fine( in-stock in ...
0 votes
2 answers
24 views

How do I use Magento2's Payment Module

What does the Magento Payment Module do in Magento 2.4? I want to create a payment method. How do I use this module
  • 95
0 votes
0 answers
9 views

conditions at cart rule mage2

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 ...
0 votes
1 answer
7 views

Partial invoicing in Magento 2 - how to update order line items with which items to invoice via csv?

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. ...
  • 163
0 votes
1 answer
23 views

Magento 2.4.3-p3 security scan failed XS Vulnerability (APPSEC-1539)

Our Magento 2.4.3-p3 site failed the XS Vulnerability check. Does anyone know how this can be fixed?
  • 1
0 votes
0 answers
21 views

Magento 2 - Add custom form to admin sales order create

I'm trying to add a form to the admin sales order create page. When I create a new order i cannot see my form but if i refresh the page the form is available. i added code to sales_order_create_index....
0 votes
1 answer
40 views

How to override page builder upload.php in magento 2.4.5?

I want to override vendor/magento/module-page-builder/Controller/Adminhtml/ContentType/Image/Upload.php. please help me. I want to allow webp extension in code using the override method.
0 votes
0 answers
11 views

Magento 2 Update Cart Redirects To Homepage in magento 2.3.5

Update Shopping Cart button redirects to homepage when pressed. The quantity is updated but the customer is forced to go to the homepage instead of staying in the shopping cart.
0 votes
0 answers
12 views

How to add an product chooser to a Magento 2 widget

I want to add product chooser field like this I am using this code but its not working anyone please help me. helper = $helper; $this->_allProducts = $allProducts; $this->...
0 votes
1 answer
14 views

Can we add the bundle product in bundle product items for bundle product?

Is this possible to add the bundle product in bundle product items for bundle product?
  • 706
0 votes
1 answer
23 views

Error in Postman and show that Invalid type for value: \"%productId%\

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/...
0 votes
1 answer
36 views

How to Create Bulk Product Attributes in magento 2?

I want to add more than 50 Product Attributes in the bulk. Please let me know the best way to do it in Magento 2.

1
2 3 4 5
940