Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
23 views

Prevent Ajax calls on Homepage

What is the purpose of these ajax calls and how to prevent these Ajax calls on magento 2 homepage, or atleast minimize their execution time because they are taking load time of around 3-4 secs on my ...
0
votes
0answers
16 views

Context dependency in Magento2 [duplicate]

I have my custom module in which I am using Magento\Framework\App\Action\Context is a dependency in my Controller because Magento\Framework\App\Action\Action needs it. but I don't understand why we ...
0
votes
1answer
31 views

Magento2 - How to display image inside dropdown?

I want to display image inside drop down option like below image, Can anyone suggest me how can i achieve this? Any help would be appreciate. Thanks In Advance..!
1
vote
1answer
29 views

Need to custom attribute in customer info backend programatically for magento 2

I need to add custom attribute same as image in backend in customer information to individual customer. If admin select category customer able to show only selected category. namespace Metizsoft\...
0
votes
2answers
21 views

send custom product price to checkout on add to cart in magento2

I have a custom price in phtml which is shown in the product page.Now I want to send that price to checkout page on add to cart click in magento2 that custom price is coming in js variable and input ...
0
votes
1answer
21 views

How to get product by name attribute

I want get product by sku, name, price.I do not know how to get it. Please help me. i get it by sku is success but name or price isn't success.
0
votes
0answers
15 views

Update Store Summary By Checkout Address Country Change

So Basically I want to update my checkout cart summary when user select country from shipping address ,cart price and currency change according to the country he selected in shipping address.
0
votes
0answers
14 views

Magento 2.3 Admin product Detail show as tabs

Is there a extension that make the Admin Product detail showing in tabs instead of accordion? Liz
0
votes
0answers
10 views

Symlinks issue after MAGETWO-96314

I have a problem (duhh) with symlinks inside public_html. Everything stopped working after this patch https://github.com/magento/magento2/commit/202ce32dd4bed272a9ddb1a4618fa0e14a179dcb#diff-...
0
votes
1answer
20 views

Translate modal confirm buttons in arabic Magento2

How to translate modal confirm buttons in arabic?
-3
votes
1answer
44 views

Magento 2: Override ACL using custom module

I have updated the parent of a menu item which is coming from a third party extension. I have updated the menu item by my custom module's menu.xml file. For instance, the menu was coming under ...
0
votes
0answers
13 views

Text swatch not showing all the options of a attribute

I am facing a strange issue in Magento 2.3 As I have a attribute called 'Compatible' of Text Swatch type, which have many options. When I open the category page those options are visible just below ...
0
votes
1answer
18 views

Parent-child attributes in Magento

I have car parts products in my M2 store and I need to give my clients availability to filter parts by model of car and year. Each product can be attached to different models/years, in example: Cabin ...
0
votes
0answers
32 views

magento 2 category url_rewrites issue

I am using Magento 2.3 when I create new category and check url_rewrite and front end that url generate like this domain.com/parent.html/subcategory.html instead I need url like domain.com/parent/...
1
vote
2answers
29 views

Magento 2 - create custom script on root directory

In Magento 1.9 I simply use below code and Magento's Mage model could be run on the script then include_once 'App.php'; include_once __DIR__.'/../app/Mage.php'; How can I do it in Magento 2? So that ...
1
vote
0answers
14 views

Magento 2 - Category page sorting does not work on grouped products

I added the new product sorting attribute related to price in category page like price low to high and price high to low. It showed on Sort By drop down. It is working fine for configurable product ...
2
votes
0answers
17 views

Getting black background after adding PNG transparent image for products

Hello I am using Magento version 2.1.7. When I try to add any transparent PNG image to any product then in frontend it is displaying with black background instead of white. The image is not saving ...
3
votes
1answer
23 views

Source class (PATH) for (PATH) generation does not exist

1 exception(s): Exception #0 (RuntimeException): Source class "\Vendor\ModuleName\Model\ResourceModel\CapabilityInterface" for "Vendor\ModuleName\Model\ResourceModel\CapabilityRepository" ...
2
votes
2answers
81 views

Magento2: I am getting placeholder images in cron tab. Need to get correct images in cron

I am getting placeholder images in crontab. Like this: /pub/static/version1554967977/crontab/_view/en_US/Magento_Catalog/images/product/placeholder/.jpg; This is wrong image. How to get product ...
2
votes
5answers
31 views

Categories are not in order same as in Admin panel Magento 2

I am listing children categories of specific category using below code: $categoryFactory = $this->_categoryFactory->create(); $category = $categoryFactory->loadByAttribute('url_key', 'shop');...
2
votes
0answers
20 views

Git integration For Magento2

I committed my project files from one development member finely. When another developer tried to pull files and push his changes to git. It is adding some code. For example bootstrap.php file the ...
2
votes
0answers
29 views

Fatal error: Class 'Codeception\Platform\Extension' not found

Hi I was running a unit test and phpstorm gave me this error. Fatal error: Class 'Codeception\Platform\Extension' not found in /var/www/html/magento/vendor/allure-framework/allure-codeception/src/...
4
votes
0answers
20 views

Is it possible to drastically reduce the number of JS files being served from Magento without merging/bundling?

Currently my almost-new Magento 2.3.1-based website with a lightly modified theme is sending 170 JavaScript files to the browser, just to serve the home page. To me, this is not remotely acceptable. ...
1
vote
0answers
17 views

Magento 2 - Add extra column to shipping methods

I have a custom shipping method. By default, the shipping methods show 3 columns - price, method and carrier. I want to add another column that shows estimated time of delivery. How can I add the ...
2
votes
0answers
33 views

Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

After upgrading to Magento 2.3.1 from 2.3.0, Category URL Rewrite don't seem to be working. After the update, now when I am creating a new product, the URL that's being generated is something like ...
2
votes
1answer
28 views

Magento 2 Completely cancel/remove module

I installed some extensions manually some time ago, without composer. Now I'd like to delete them. Is there a way to permanently delete them? Now they are disabled. Especially some ...
1
vote
0answers
26 views

Use different domaine for Admin and Front

How can we use different domaine for the Front and the admin section. If I'm changing the domaine on the base URL of the store config, I'm getting a 404 because there's no admin on this domaine. I've ...
1
vote
0answers
25 views

Magento 2 magic methods phpunit tests

I've started learning and at the same time writing tests for my Magento 2 custom development. Not a ride in the park. It feels like digging a pit in the sand sometimes. I got to the point where I need ...
1
vote
0answers
17 views

Magento 2.2.5 Tax is not working

Magento 2.2.5 version tax is not calculating, It always show 0(zero) in cart page and checkout page. I have been lot of search but not luck, please anyone help to fix this issue. or How i can ...
1
vote
1answer
23 views

magento 2 : Place order using REST API and stripe payment method

We are working on mobile which use magento 2 REST API. In which we are facing issue while try to place order using Stripe payment method. For stripe we are using magenest stripe extension. REST API ...
1
vote
1answer
11 views

Unable to change/save any product attribute settings in admin panel

As per this bug report, I'm having an issue where I'm unable to save any changes to product attributes in the Magento 2 admin area. When I try to change settings of any attribute and hit save, a POST ...
0
votes
0answers
7 views

Where to edit magento 2 catalog pages

So I have a magento 2 installation on Ubuntu (aws lightsail) and I am using the pearl theme. I have ftp/server/ssh access. I am trying to add some custom html to the catalog pages to have the banner (...
1
vote
1answer
21 views

magento2 Checkout Page Shipping address

i am working on magento2 checkout page and i want to add tool tip after street address in shipping information section how can i do this please adivce.
1
vote
0answers
14 views

how to sorting product in listing page by group product in magento 2

How do I show all group product first in the product listing page first and then the rest of the product shown
0
votes
0answers
12 views

Updating Basket quantity using ENTER clears the basket entirely

Trying to update the quantity in the cart with the ENTER key, the entire cart is deleted. Viewing the form code I realized that in addition to the "update cart" button there are also the "Continue ...
1
vote
0answers
23 views

Magento 2 Problem with arguments in di.xml

The problem is this: I have a module, which passes arguments from di.xml to a class. Deploy mode is a developer. When I make changes in any arbitrary module or install a new module, and subsequently ...
0
votes
0answers
20 views

Magento 2 : Create and Handle Many to Many Relationship Between Two Table

I have two custom table that is related by many to many relationships. So how to create these two tables: is there a specific syntax? and how to handle this type of relation thanks in advance
0
votes
1answer
17 views

Magento2: custom options import using CSV

I am working on CSV import to create a custom option for Products I am facing the issue with the error Notice: Undefined index: type in /var/www/html/home/vendor/magento/module-catalog-import-...
1
vote
0answers
21 views

Magento 2 : Need to set custom category collection using plugin

I want to set custom category collection using plugin. I created plugin about Magento\Catalog\Block\Product\ProductList\Toolbar this block and aroundSetCollection(). But, not actual output I received....
0
votes
1answer
25 views

Add additional tab after reviews

I am trying to have a few more additional tabs added after the Reviews tab, though my tab keeps appearing as the first tab <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/...
0
votes
0answers
18 views

admin on magento EE 2.3 broken

on my admin on product page the lines are broken. what can be the problom of the look?
1
vote
3answers
33 views

How to migrate only Customers from magento 1.x to magento 2.x?

Actually i want to migrate Customers from magento 1.9 to magento 2.3 if anyone have any idea please guide me.
1
vote
1answer
29 views

How can i remove product gallery “ fotorama__stage” class height?

I am facing issue of image height on product details page gallery. If i remove fotorama__stage class height from inspect element then its work fine. Please check below image. How can i remove ...
0
votes
1answer
27 views

How to disable Paypal auto inovice generator in Magento 2

i am using magento 2 where using paypal while order placed invoice generated automatically how to stop i want to generate it later from admin manually.
0
votes
0answers
25 views

Magento2: How to restrict add configuration more than three products in configurable product

Magento2: How to restrict add configuration more than three products in a configurable product. Actually, In my case configurations restricted for more than three products and I am unable to find ...
3
votes
0answers
38 views

Extension works fine on local system but on live instance it gives me error

Can someone please give me some detail about about my issue. I am duplicating categories along with product on my local system it works fine although it take little more time but works fine but on my ...
1
vote
1answer
31 views

Magento 2.3 - Fetching child/associated products of configurable product only returns In Stock products

In order to fetch all associated products of configurable product. I used this code $childProducts = $configurableproduct->getTypeInstance()->getUsedProducts($configurableproduct); It return ...
1
vote
1answer
25 views

How to create a custom API in magento 2 which can be accessed by all the customers only?

I need to create a custom API which can be accessed by all the customers only in magento 2 . Please help.
1
vote
2answers
65 views

Magento 2 import bulk products with custom attribute

I have created 1 custom attribute (current_user_id) and saving value when product is saved. I have usecatalog_product_save_before event that save value for my custom attribute(current_user_id). code ...
1
vote
0answers
20 views

How can I get all filter combinations and their links for all categories in Magento 2?

I have a problem and I do not know how to solve it. The client wants to get links of all filter combinations for the category, and make a check on index and follow. And if there is a parameter index ...