Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
1answer
34 views

How to Disable province , zipcode and country from checkout. Magento 2.2

In Magento2 - I want to remove ZipCode , Province and Country name from the Checkout page for which I tried Vender/Module/view/frontend/requirejs-config.js var config = { config: { ...
0
votes
1answer
27 views

I am getting Uncaught ReferenceError: wysiwygSetup is not defined

Please anyone can help me here, I am getting the require undefined in js, below is my code. Thank you My code: <script> require([ "jquery", "mage/...
0
votes
0answers
29 views

Magento 2: Translate Order Email template

How can I translate the attribute label? I've already added to "Manage Label" but still not working. Color is translated but not size? Does anyone have an idea ? I tried all possible by placing ...
0
votes
0answers
46 views

Magento2 slow checkout

How to optimize checkout speed. It's take to much time to load data. Loader take almost 60 secs It's almost heating 560 js request in my site
0
votes
1answer
27 views

Magento 2.3: How can I add PayPal Express Checkout integration on custom page?

I'm new to magento.I'm working on magento 2 custom checkout module due to integration with client ERP system. All of my checkout process are using custom table like custom_order_table and ...
0
votes
1answer
19 views

Cron Job ebizmarts_ecommerce has an error: in magento2

I have uploaded ebizmarts_ecommerce module in my live server. Cron Job ebizmarts_ecommerce has an error: : Argument 1 passed to Magento\SalesRule\Model\Converter\ToDataModel::...
0
votes
0answers
18 views

M2: coupon code for cart price rule applies percentage discount to whole cart instead of specific products

If I apply my Magento 2 cart price rule coupon code which is set up to give a 10% discount on products of a specific attribute set the coupon code will show as having been applied to my whole cart; ...
0
votes
0answers
23 views

What is the use of Communication.xml in Magento 2 Catalog module

What is the use of following vendor\magento\module-catalog\etc\communication.xml file located in the catalog module in Magento 2? <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
2answers
18 views

How to access all the rest api's in magento

I'm trying to build a flutter app from an existing magento store. How can I access the current REST API of the store? (I'm new to magento...)
0
votes
0answers
13 views

How to represent timestamp dimension second to days in visual report builder?

I've got stuck in a problem with magento BI visual report builder. The problem is, I have a metric with some dimensions and millions of rows where the timestamp is a dimension where we put every ...
1
vote
2answers
48 views

where can I find the main sidebar file location?

I am trying to get the location of this sidebar list I have shared with the image. where can I get that??
0
votes
0answers
25 views

How can I see all the orders down my orders tab on onclick my orders

I am trying to get my order list down below my orders tab on clicking my orders. how can I get that??
0
votes
0answers
11 views

Product tabs differ when updating cart item

I have added a custom product type with layout xml to add in extra tabs in the product view page. I have also included a custom block which has some scripting so that I can have better control over ...
1
vote
1answer
27 views

Magento Update to 2.3.3 backend after login Specified invalid parent id Magento_Analytics

i have a problem while upgrading Magento from 2.3.2 to 2.3.3. The update works fine and i have all done which mentioned here: https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html ...
0
votes
1answer
22 views

Magento 2.3.2 strings not translating

I am not able to figure out why some of the strings which I input in my i18 > bg_BG.csv are not translating. I will give a small example with Qty. Qty,Количество,module,Magento_Catalog Qty,Количество,...
0
votes
0answers
11 views

Pagination for search not returning with /catalogsearch/result/

Running Magento 2 and when someone searches the results are fine but the Pagination returns With Other pages ie; /?cat=&p=2&q=+Masks not /catalogsearch/result/?cat=&p=2&q=+Masks ...
0
votes
0answers
18 views

how do I do a URL that is 2 layers

For example for this page there is a /questions/ask I know how to do a simple URL with a Store direct URL line below not sure how to make one with 2 slashes. simple a href="{{store direct_url='test'...
0
votes
0answers
14 views

How can I create custom csv from products

I want to create custom export csv with products information in everyday. Heads: 1. identifier;manufacturer;name;category;product_url;price;net_price;image_url;description;delivery_cost 2. ABC123;...
0
votes
3answers
25 views

Magento 2.2.8: cannot install MailChimp

I have Magento 2.2.8 and I'm not able to install MailChimp in ANY way. I tried the manual installation, but it said: [ReflectionException] Class Mailchimp does not exist I tried the installation ...
0
votes
0answers
8 views

Magento2 get all validate field fail on checkout

I would like to get all validate field failed on checkout after clicking button placeorder. After that, I will show a popup notify all field. How can I capture where return all validate field fail? ...
0
votes
4answers
32 views

How to change text “sign in” to “Login” in top header

I want to rename text "Sign in" to "Login" in my header top. Please refer attached file.
0
votes
1answer
16 views

Magento2 : checkout_cart_product_add_after Event not working with API

I have created an observer on event "checkout_cart_product_add_after" and its working fine for web but not working with REST API.
0
votes
2answers
24 views

Magento2 Multi store problem

I have created three websites within a single Magento instance. All three store is showing in configuration it means are enable and active. I have put Magento version 2.3.3 with sample data. When ...
0
votes
1answer
16 views

TypeError: href is undefined when customer login

I'm using magento 2.3.3 Problem when customer login, all pages response with error TypeError: href is undefined code that related to this error <?php $controllerName1 = $this->getRequest(...
0
votes
0answers
6 views

I want pagination which contain first 3 pages link and then shows last page link on category page in magento 2

I want pagination which contain first 3 pages link and then shows last page link on category page in magento 2 Like 1,2,3,...,10 Please refer this: https://prnt.sc/plge7j
0
votes
0answers
17 views

Get product configurable attribute with value (Child of configurable) from QuoteFactory

How can I retrieve simple product configurable attribute with its value from \Magento\Quote\Model\QuoteFactory (or any other method?)? I can retrieve some information using this: public ...
0
votes
1answer
23 views

subscribe to the newsletter not working

I have a problem with magento 2.1.7, every time a guest user subscribe to the newsletter he doesn't receive confirmation email. I have already check on Configuration > Customer > Newsletter ...
1
vote
1answer
21 views

Magento2 How To Add Multiple System Notification Using Single File

I have use below code to add admin system notification and it is working fine but it add's only single notification , and i want to add multiple notification's using single file does anyone know how ...
0
votes
1answer
38 views

Magento2: Default value is not working of Date type product attribute?

I have created product attribute from admin and set input type "Date" and assigned "default date value" but default value is not showing when adding product and frontend also. Please check below ...
0
votes
0answers
32 views

Magento 2.3.3 Address update at checkout shows some Weird thing

I have attached the screenshots here, On checkout page customer is login, when I select first address and click on update, shows like this, anyone has idea about it? This is default braintree payment ...
0
votes
1answer
21 views

Why do I need the SID in my URL?

Since I installed my store I see the SID code in my URLs but I don't know why it's there, I found an option in my admin panel to disable it. Could you explain to me why do I need it?
0
votes
2answers
33 views

Why I'm seen “Invalid Form Key. Please refresh the page” in the frontend?

Sometimes I'm receiving this message below during the customer login after being changed the cookie domain through the admin panel. Do you know why and when this message shows up? Invalid Form Key....
0
votes
0answers
33 views

site is super slow GET customer/section/load/?sections=cart&force_new_section_timestamp=false&_=xxxxxx

My site became super slow since yesterday. I can not find out which extension causes this. I thought it might because of the weltpixel Google Tag Manager, i disabled it. Run setup:upgrade; setup ...
0
votes
2answers
69 views

Slick slider is not working in Magento 2

We have integrated the slick slider on Magento 2. But, the slider is not working. I have checked the console and see there is no error. I'm not sure where am i wrong. Code in Template file: <...
0
votes
0answers
21 views

call phtml file in page builder in magento 2.3 enterprise

I want to call phtml file in static block that uses page builder in Magento 2 EE.
0
votes
0answers
22 views

Magento 2 : add PDF attachment to new order email

I would like to add a custom PDF to the new order email for Magento 2.2 (each PDF is different I can't use an existing module). I looked into the file : vendor/magento/module-sales/Model/Order/...
0
votes
0answers
18 views

Magento 2 Redirect customer to login page (if not logged in) on click of 'Proceed to checkout' instead of showing login in authentication popup

I want to redirect customer to login page instead of showing auth popup if customer is not logged in and guest checkout is disabled.
0
votes
0answers
22 views

Call to undefined method Magento\Framework\App\Area::detectDesign() Magento2

Recently I came across this issue in one of the live magento 2 website. Fatal error: Uncaught Error: Call to undefined method Magento\Framework\App\Area::detectDesign() in vendor/magento/framework/...
0
votes
0answers
18 views

Magento 2.3 processed the payment befor the payment result?

I'm using Magento 2.3.2, the problem is: When the customer starts Checkout and reaches the payment methods and chooses my bank method, directly the system establishes an order without waiting for the ...
0
votes
1answer
32 views

Magento 2: How I can use category DataProvider in Admin Grid

I am trying to add Category Grid in Magento 2 I created A grid and add Dataprovider Magento\Catalog\Model\Category\DataProvider Here is Code of My DataProvider <dataSource name="...
0
votes
2answers
47 views

Magento 2: How to load my custom js file after footer?

JS File Path: web->js->swap.js default_head_block.xml <referenceContainer name="before.body.end"> <block class="Magento\Framework\View\Element\Text" name="swapjs"> ...
2
votes
1answer
28 views

Magento2.3.1 How to add customer grid mass action link reset forget password and custom reset forget email sent to customer

I am using Magneto 2.3.1 and how to add customer mass-action inside link add reset forget password and when select customer sent to email for customer, but email not use in default Magento our custom ...
0
votes
1answer
28 views

How to show image in custom grid in magento 2 backend using layout only?

I am trying to display image on custom grid in back-end using layout but not idea how to show it. I know image show using ui_component & block but i need to show using layout only. Please help me.
1
vote
1answer
34 views

How to change the CSS only for Myaccount page title?

I want to change the CSS only for the title of My Account page. I have added my custom class into the file title.phtml at the path module-theme/view/frontend/templates/html But it affects all the ...
0
votes
2answers
29 views

Magento 2 : Automatically rating for product has image

Automatically add four stars on the results page, products page, for all products that do have an image. (Use the database direct to update the stars for the SKUs that have image_count = true) Use ...
0
votes
1answer
29 views

How to override /vendor/magento/framework/Logger/Handler/system.php

I want to override this file vendor/magento/framework/Logger/Handler/System.php Basically I want to disable system.log and exception.log from var/log folder. I found that vendor/magento/...
0
votes
1answer
19 views

Use css of one theme into another

I want to use CSS from .less file of one theme into another theme phtml file. There are two theme in my Magento 2.3 site. How can i do this?
0
votes
4answers
43 views

How to filter product by specific attribute in Magento 2?

I want to filter a collection of products by product (brand) attribute, thanks
2
votes
1answer
21 views

what is “they found a typo in the CMS block”,I got a question in a magento 2 practice test, Can any one clarify this?

You have written a free module that is distributed on GitHub. Unfortunately, people are reporting that they found a typo in the CMS block. How do you get this resolved? Answers( radio button type) ...
1
vote
1answer
31 views

Magento 2: How to validate phone number by their country?

Hello i want to validate phone number in my checkout page but i want phone number validation by their country ,if customer select the USA as country then phone number should accept only usa number if ...