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
0answers
4 views

How to remove tracking popwindow in Myorder magento2

How to remove the popupwindow of track the shipment.I wanted to show, When user click the trackshipment link then redirect to the trackinglink of the carrier.
0
votes
0answers
7 views

how do i fix this error please help

magento 2.4.2 ReportApi {"time":0.0054779052734375,"request":{"table":"sales_order","columns":["sales_order|total_qty_ordered__sum","...
0
votes
0answers
3 views

create an account form not showing in magento 2

when we click on create an account link then shows empty page means form is not showing,please see the screenshot.
0
votes
0answers
8 views

"The requested qty is not available" not always shown?

Magento 2.4.2 Lets say I have a qty of 1 for product X. Now when I try to put a qty of 10 of product X to the cart, the message "The requested qty is not available" is NOT shown. Nothing is ...
0
votes
0answers
3 views

How can I save accounts with 2 tables in different databases?

how can I add save accounts registered on customer/account/create page to 2 tables in different database. Initially, when creating an account and saving the new account address, it will be saved in ...
0
votes
0answers
5 views

Synchronize all registered accounts outside the front end with add new account module in magento 2

I am writing a module with the function of creating an account in admin and that account if logged in will be redirected to our main page. And if that account is created outside when logging in, it ...
0
votes
1answer
9 views

How to make custom customer attribute filterable in the customer grid?

I've made a patch and this is the code for creating my customer custom attribute: public function apply() { $this->moduleDataSetup->getConnection()->startSetup(); /** @var ...
0
votes
0answers
6 views

How to write custom query for sorting for a new column added in sales order grid in Magento 2?

How to write custom query for sorting data for a new column added in sales order grid in Magento 2 ? It shows Printed when invoice is created and it is blank if invoice is not created. I have ...
0
votes
0answers
7 views

nosto.ERROR: Nosto\Request\Http\Exception\HttpResponseException

I use Nosto extension to track and update the settings for Store views and recently started getting a serious problem, my Default Store View configuration is a total blank page. Store > ...
0
votes
1answer
6 views

How to avoid JS minification in an external file add via requirejs-config.js?

I have a custom module called Quicklink it has its own JS files and external JS files too, I've added an external JS from a third-party CDN, but when I enable the JS minification in a Magento 2 clean ...
0
votes
1answer
17 views

Can't remove index.php

I've just installed a fresh version of Magento 2.4.3-p1. I can access my website like domain.com Once I'm on the Magento homepage, all other links contain .index.php in the url, such as: https://...
0
votes
0answers
5 views

Add Items To Credit Memo Email Template

I am looking to override the default Magento Sales New Credit Memo - Customer email template but I'm looking to have the email show the details for the item which has been refunded, as currently, the ...
0
votes
0answers
7 views

Join a field to customer collection and filter on joined attribute? Attribute Name is Invalid Error

Would like to add a last order date field to a customer collection and have done so like below which seems to work: $collection = $this->_customerFactory->create()->getCollection() ...
0
votes
0answers
6 views

Capture payment online after create quote programmatically

I need programmatically to capture payment online using the PayPal Payflowpro method and credit card details. Also, create an order number and invoice after creating a quote then setting quote_id in ...
0
votes
0answers
7 views

How to get all email templates are using - Magento 2

i want to know which email templates are using on my store I thought a way find on core_config_data, path like email, and can check value - But it's not best way i think Because some modules don't use ...
0
votes
0answers
8 views

Magento 2 Form Admin Email address

I have a problem. In Magento 2.4 I have two stores, store A and store B. Both use the same form. I created separate but identical forms for each store. In the form options I have an Admin Email ...
0
votes
0answers
14 views

Core_config_data value in crontab.xml

I am creating a module to monintor teh cronjobas in Magento. I have created a field in system.xml where we cab store a value to schedule the job in de cron. And I want to place this value in cronbtab....
0
votes
1answer
13 views

Payment method does not appear in Store > Configuration > Sales > Payment method

Payment method does not appear in Store > Configuration > Sales > Payment method I have (I think succesfully) created a custom payment method. My custom method is shown in the list when i ...
1
vote
1answer
14 views

Getting the right format for saving multiselect customer attribute issue?

This is my code: $values = ['value1','value2','value3']; $customer->setCustomAttribute('customer_attribute_code', $values); //\Magento\Customer\Api\...
0
votes
0answers
4 views

Magento 2 Cannot continue to payment step

Hi I have converted my shipping address city field into a dropdown using the help of https://magento-qa.com/how-to-change-city-field-to-a-dropdown-in-checkout-step-magento-2 As mentioned in the link ...
0
votes
0answers
9 views

404 page not showing if url not found

I am facing a strange issue when I enter a number after domain name it is not showing 404 page and load home page each time. I want to show a 404 page if the user types a number after domain name e-g ...
0
votes
1answer
6 views

How to disable a knockout generated dropdown option by default

I am trying to disable a certain option of select generated from knockout on the checkout page. I tried what was mentioned on the knockout documentation i.e. to call optionsAfterRender. But this gives ...
0
votes
0answers
13 views

Admin url changes domain & gives 404 error on multisite Magento 2.3.4

After moving to new a server the admin url gives 404 error on multisite Magento 2.3.4 ,with domains new.example.com and new.20example.com The frontend works perfectly for both sites When I go to the ...
0
votes
0answers
14 views

Magento 2 $quote->getAllItems(); set StoreId or Website

Try to catch the quote items, it's working fine. But when quote is not in default website, the request is empty. How to change website ID or store ID in quote request? Did try with: $quote->...
0
votes
0answers
12 views

Magento 2 minicart icon as link to shoping cart

I'm working in Magento 2.3.5 - p1. I have the minicart in the sidebar, when a product is added the minicart opens for a few seconds and then closes automatically. When the minicart icon is clicked, ...
0
votes
1answer
12 views

Checkout offer to order special product once

We are currently on M2. In order for customers to try new products we would like to promote what we call "checkout offers". In theory a particular product for which the customer can only ...
0
votes
1answer
17 views

Issue while upgrading the Magento Instance Upgrade

I am currently having the issue, while magento instance upgrade, while running composer upgrade i am having the require resources to be available. But here question is i already having one version of ...
0
votes
0answers
5 views

Custom Promo Condition Attribute for date field

I followed below link to create custom promotion attribute https://magently.com/blog/magento-2-custom-sales-rule-condition/ As mentioned in above link it is select type attribute which is working. I ...
0
votes
0answers
9 views

Magento 2.4.3 The tier_price data is invalid. Verify the data and try again

I'm importing products and tier prices. Some of them, needs to be removed. When I try to remove a tier price, i just get The tier_price data is invalid. Verify the data and try again. This is my code: ...
0
votes
1answer
10 views

How To Auto Select First Child Product for swatch with image in list Of Magento 2?

How To Auto Select First Child Product for swatch with image in list Of Magento 2? i have override module-swatches/view/frontend/web/js/SwatchRenderer.js And update the method _RenderControls. but ...
0
votes
1answer
19 views

Macbook pro for magento front-end development? [closed]

I am magento front-end developer and I have question about best choice of macbook for work. My work consists of: magento 2 - 49% of time magento pwa studio - 49% of time magento 1 - 2% of time ...
1
vote
0answers
11 views

Marketplace purchase sharing does not work by the end of December 2021

Our customers used to give us shared access to their accounts on Magento.com, as described here: https://docs.magento.com/user-guide/magento/magento-marketplace.html. This way, we did not have to use ...
0
votes
0answers
10 views

Magento 2 Form Exception: The "componentType" configuration parameter is required for the "config" component

i am a newbee in magento 2 ad when i am trying to render form by ui component , i am getting this config component exception and i can't figure out where i am wrong.. if any body can debug this ...
0
votes
0answers
12 views

Magento 2 - getting currency symbols for all currencies via CurrencyFactory is causing timeouts

In order to get the currency symbol for a particular currency code, Magento internally uses the Zendframewok functions. When these currency data are not cached, the Zend function call does a file ...
0
votes
1answer
16 views

How to create custom sorting in sales grid custom column in Magento 2?

I have created a custom column named printed which shows the invoice is printed or not and works well. But how to apply sorting in in it like when i click on printed firstly it shows all data with ...
0
votes
1answer
13 views

installed magento marketplace coding standard plugin but it throws error Array and string offset access syntax with curly braces

Tried https://github.com/magento/marketplace-eqp . Getting error PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in vendor/squizlabs/php_codesniffer/src/Config....
0
votes
0answers
15 views

log missed while cron run

I have created cron which is scheduled for every 5 mins.In the cron,based on some conditions I have inserted value to custom table, while insert I have logged value in custom log file.For sometimes ,...
0
votes
0answers
14 views

How to Select some product from cart to checkout

I'm currently using Magento 2.4 and I'm trying to customize cart page. So I want to add checkbox to cart so I can select some item in my cart to proceed checkout. I have no lead to do this and I'm new ...
0
votes
1answer
14 views

how to make Email not required in Contact us?

i have Magento 2.4 and i need your help to let guests contact me on Contact us page without adding their email. i tried to make some changes in form.phtml but still the same issue. thank you in ...
0
votes
0answers
15 views

Searching for customers by their company_id / Magento 2 B2B REST API

We are trying to search for all customers which belong to a specific Company via the REST API. When we get the customer JSON data, there is a field for the Company ID - company_id - so apparently the ...
0
votes
0answers
21 views

How to remove thousands of fake customer accounts?

I'm trying to remove all fake customer accounts, but first I need to unsubscribe them from my newsletter, I have around 600k fake accounts to remove, trying to run it via admin massive action I got ...
0
votes
0answers
20 views

How to move short description inside Product Overview?

How to move short description and "In the Box" inside Product Overview? Using Magento 2.4.3
0
votes
1answer
16 views

Magento 2 : Get option name rather option id in product collection

Hi I am using below product collection,but it returns option id of attribute in collection my question is how to get option label rather than option id in collection. Is there any way ? Because I am ...
0
votes
1answer
51 views

Why Composer install is asking to allow-plugins?

Why when I run composer install using Composer 2, I'm receiving these messages below asking to "trust" the Composer plugins? magento/magento-composer-installer contains a Composer plugin ...
0
votes
0answers
7 views

Magento 2 Tax Rate displayed on invoice with 4 decimals

How can I display the tax rate rounded with no decimals on the invoices? Right now It is displayed with 4 decimals, like you can see it on the picture I attached. Thank you! Best Regards Simon
0
votes
0answers
19 views

Magento2 Pwa storefront not loading

i have configured PWA with following devdocs url: https://developer.adobe.com/commerce/pwa-studio/tutorials/setup-storefront/ but somehow url is not working, i also tried with creating virtual host ...
0
votes
0answers
11 views

Can i save every order placed with custom payment method to order state to new and order status to custom status?

order status is processing while I am placing an order with the custom payment method. I want order status is custom status and order state is new
1
vote
2answers
22 views

How to unselect value from ui-select component in magento 2?

I have created a UI select field using PHP, with the below code of lines. $data = [ 'arguments' => [ 'data' => [ 'config' => [ 'label' => __('...
0
votes
0answers
18 views

Magento2 stop giftcart code pool auto generation

Magento2 How to stop the auto code pool generation in following table? magento_giftcardaccount_pool I am importing custom code. I want to stop auto generation
0
votes
0answers
18 views

Custom Pricing Question

I use Magento 2.4.3. and I want to delete the thousands separator in magento prices. For example for in place of this price "2,100.00 €" I want to have "2100.00 €" Thanks a lot.

1
2 3 4 5
899