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
3 views

Change condition to add new address if no address save in customer My address book

I want to change the condition that redirect you to customer/address/new if you want to see your address book. I just want to open the address book empty without force users to add a new address in ...
0
votes
0answers
2 views

Get the list of most seller combined products with its orders

I want to get the most selled product combinations along with number of orders( and Orders if possible). I have customized the Magento tables for my warehouse activities and the sample code will be ...
0
votes
0answers
11 views

Additional column in orders

I would like to add additional column in the Orders where all orders are visible called "Company name". The information that will be displayed in this column will come from a drop down menu located in ...
0
votes
0answers
7 views

Magento 2 Data Migrattion Tools ignores map.xml

I have installed migration tool and it is running, but I want to ignore some tables. So I set some to map.xml but something is wrong - ignore list is beeing ignored <config xmlns:xs="http://www....
0
votes
0answers
6 views

level 2 menu is not collapsing on mobile (Magento 2.3 Parent theme-Luma)

I have created a three-level menu using Magento Admin It works great on desktop. But the third level menu is not collapsing on mobile view. Please check the image. Yellow highlighted links are the ...
0
votes
1answer
11 views

Text Pages Formatting

I would like to recreate the boxes with text in them (you can see them on the picture below) I have access to the html part but when i paste it on a new page, they appear as bullet instead of boxes:
0
votes
0answers
4 views

“General system exception happened” Error when doing the import process

I have had problems when importing, I get that error, I attach the file I used at the time of import Does anyone know how to solve the problem? My version of magento is 2.1.6 https://drive.google.com/...
0
votes
0answers
4 views

Magento 2.3.1 manage stock = no but showing only 0 left

I have turned on the feature in Magento that shows only x remaining when the stock is less than 5 which works fine. However on products that are set to stock manage = no, it's showing there's only 0 ...
1
vote
2answers
14 views

Magento 2.1 pricing in 4 decimal places

I am trying to work with produce prices using 4 decimal places e.g. 0.0475 I have already got the prices to save and display in catalog admin by editing the following file... vendor/magento/...
0
votes
0answers
6 views

How admin form are submitted in magento 2

I'm wondering how form inputs are interpreted in magento2 admin grids. For example, add an input (manually via navigator console) in cart price rule creation form. The input value will not be sent ...
1
vote
0answers
10 views

Magento 2 - Hide component instead of componentDisabled

I have a component that I wanted to move. I managed to move the component exackly where I want it to be, however, it now appears in two places. When I remove the component using the <item name="...
0
votes
0answers
6 views

Custom Layred navigation for bundle product

I would like to create custom layered navigation for bundle product like configurable layered navigation Color. When we choose a color from layered navigation it chooses selected color image on the ...
0
votes
1answer
20 views

CustomerGroupsId always true for cart price rules

I'm a bit new here in the forum som feel free to slap me on the fingers if I'm dumb. I want to change the logic in the sales rules engine so it doesn't check the salesrules_customer_id table and ...
0
votes
1answer
16 views

Cache breaks my check for detecting if a customer is logged in

When I turned off cache (bin/magento cache:disable) the below code works otherwise it's not working. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $customerSession = $...
0
votes
1answer
11 views

Magento 2 Commerce Cloud acessing DB

I am working on a project based on Magento Commerce Cloud. Can anyone please guide on how can i access DB of staging branch. Thanks!
1
vote
1answer
11 views

Search not working in special characters in magento 2

search not working Product names with special characters like semiautomático in magento 2 how to solved this? Thanks
0
votes
0answers
11 views

Magento 2 - Call to a member function getId() on null, admin user ID

I have a custom module, and it's work perfectly in the past, and now I installed on a new Magento 2 project. and after that, I add the sample data module, and on setup:upgrade I get this error : ...
1
vote
1answer
28 views

Some CSS not working in frontend

This question has probably been asked a billion times, but I haven't found the exact same issue. I'm working on a M2 (v2.2.1) shop. Recently I accidentally removed the .htaccess file from pub/static. ...
0
votes
0answers
15 views

Edit in Cart using AJAX with model popup to update qty and options of product

From the cart page, if we want to edit and change production option and qty then there is an option to edit that product from cart page. If we click on the edit button then it will take me to this ...
0
votes
3answers
24 views

Magento 2: Mass Delete PHP code not Working

I'm very new to Magento, i created a Mass Action for Delete i write this code in /EC/Downloads/view/adminhtml/ui_component/ec_downloads_items.xml <?xml version="1.0"?> <listing xmlns:xsi="...
0
votes
1answer
16 views

Exclude CMS Block and CMS Pages from Data Migration Tool Magento2

is it possible to exclude CMS blocks and CMS pages from migrateion magento1 to magento2 using Magento Migration Tool? We only need products, categories, rewiews, orders, customer ... Thanks! Martin
0
votes
0answers
7 views

“Field is required” error once I make selection on custom ui-select

I'm currently making a custom ui-component for the adminhtml form which extends the default ui-select element. But the issue is that when I make a selection on this new ui-select all fields have their ...
2
votes
3answers
19 views

Database connection error, after CLI install?

First time Magento user here, seeking enlightenment. I did a CLI install on CentOS 7 using the following command... ./bin/magento setup:install --base-url="http://example.com/shop/" --db-host="127....
1
vote
1answer
14 views

Magento 2 dashboard diagram Revenue,tax,shipping 0

there are 66 order completed in order list,but Revenue,tax,shipping are zero i clicked reload data and refresehd statics but still not wokring. Pls help me
0
votes
0answers
14 views

Magento 2 - 404 on category page if said category has no products

I've got a problem with category pages: whenever a subcategory has any number of products inside, then the category page works. But, if the subcategory is empty, it just returns 404, not "no items in ...
0
votes
0answers
14 views

How to add custom method in product interface.And how to overide productinterface and product model

I want to add custom method in product interface and override product interface and product model.
0
votes
0answers
13 views

Magento2: add youtube video to custom module

I want to add youtube video in a Magento 2 module. The video needs to be inserted in the magento admin grid system and render its thumbnail in the grid
0
votes
1answer
25 views

Magento 2.3.1 upgrade Errors

I am trying to upgrade magento2.2.3 CE to 2.3.1CE on staging server (magemojo) After upgraded getting the below errors. Please can anyone face these below issues suggest me how to fix? 1.Unable to ...
1
vote
0answers
14 views

Pass data from Helper Data to Knockout JS file Magento 2

How i can pass helper data to Knockout JS to show it on my html file. Actually i am working on Checkout page and i want to show the name of product owner on checkout summary. Any help would be ...
1
vote
0answers
22 views

How to create an extra field in attribute information

I am trying to add a field to the attribute information section. This should be an text field for multistore ( just like the manage titles section). Magento version: 2.2.6 Here's what I got now: I ...
1
vote
0answers
12 views

Magento 2 REST API: Empty cart or delete multiple items from the cart

I am working on a headless magento solution, but I am facing a bit of a problem. As the official magento 2 docs suggest, cart items can be deleted using these: DELETE /V1/guest-carts/:cartId/...
0
votes
2answers
40 views

Magento 2 - 500 Internal Server Error

sorry for creating another 500 Internal server error thread but I couldn't find any solution for my problem yet. We have a managed server from German provider 1&1 and we have a running magento ...
2
votes
1answer
43 views

How to rename currency name?

how can I change "AED - United Arab Emirates Dirham" to "AED - UAE Dirham" in Luma currency switcher? I created en_US.csv file in my custom theme > i18n folder and added "united Arab Emirates" in ...
1
vote
0answers
8 views

Incompatible argument type: Required type: \Magento\Framework\Stdlib\StringUtils

I want to override below block file /var/www/html/dg/vendor/magento/module-gift-card/Block/Sales/Order/Item/Renderer.php I made this file /var/www/html/dg/app/code/Drummondgolf/Orderemail/Block/...
0
votes
0answers
26 views

Magento2 email template inside getting this error

I am using magento2.3.0.When i fire email in frontend side than getting error in email inside "CSS inlining error: DOMXPath::query(): Undefined namespace prefix in selector >> .mt-menu .col-1....
0
votes
0answers
16 views

Magento 2 REST API copy image from another SKU

I am trying to use an existing image from one SKU and add it to another SKU. For example: SKU0 -> Image uploaded via Admin SKU1 -> Copy image details from SKU0 to SKU1 via API I've tried using ...
0
votes
2answers
21 views

How to add sub menu items - more than one child in one parent for menu item?

I have a custom menu on the dashboard, and I need to group the items through the parent item in the menu, as shown in the attach. Thanks My custom menu.
2
votes
1answer
25 views

How to Insert record in database-table through custom module in magento2

I have create a custom module and database-table using following this steps and i understand the table displaying in customer_side. Now I Need to Know the Insert operation in customer_side please ...
1
vote
0answers
12 views

Filter a custom attribute in Order Grid

I added new attribute and new column to Order Grid : [vendor]\[module]\view\adminhtml\ui_component\sales_order_grid.xml <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www....
0
votes
1answer
32 views

How to get a simple product id from configurable option in magento 2

How to get a simple product id from configurable option in magento 2
-1
votes
1answer
26 views

Array Get Value in magento2

i want to get profile id from this array [2019-05-21 07:30:24] main.DEBUG: array ( 'url' => 'https://api-3t.sandbox.paypal.com/nvp', 'CreateRecurringPaymentsProfile' => array ( '...
0
votes
1answer
15 views

How to get product collection based on custom price attribute in Magento 2?

I am using Magento 2.2.2 I have created one attribute "Retail Price". Input type for this attribute is "Price". I have added values in some products for this attribute. Now I want to load product ...
1
vote
2answers
26 views

Change Checkout Step Label in Magento 2

How i can change checkout steps Label in magento 2? http://prntscr.com/nr9rrr
0
votes
0answers
8 views

Magento 2.3 - How add new column/field to sales_shipment table

I need to add a new column/field (total_volume) to sales_shipment table. I know that I can use two approaches to do this, but what is the best? The first approach is to use the "Extension Attributes"....
1
vote
1answer
15 views

Magento 2 UI form set default value from url params?

I want to set a form field value from the URL params in UI form. I am aware that static values can be set via default property of the field but how to set dynamic values as default (to be specific ...
0
votes
0answers
8 views

Magneto 2.3.1 'Quantity source' becomes null when create product with the same name

I have Magento 2.3.1 setup and multiple products, When I am trying to create a new product with the same name, it is allowed me to create the product with the same name but the 'Inventory Sources' ...
1
vote
0answers
9 views

margin parameter not working in Owl Carousel slider magento 2.3

Please check my code,if anyone have any idea please guide me - <script type="text/x-magento-init"> { "#discounts-offers": { "OwlCarousel": { "autoPlay": ...
0
votes
0answers
10 views

Magento 2: Can't create user account during checkout

I have a problem with my Magento 2. I use Amasty One Step Checkout. When I create an account during "normal" registration, everything is ok and new user is added to database. When I try to create an ...
0
votes
1answer
9 views

How to get Original image URL in magento 2

I need to create a link of an image that should not be resized by magento2.That original image should be cached. Any help would be appreciated.
0
votes
0answers
13 views

Is it possible to get product price from info by request?

Is it possible to get product price from info with the help of request without add to cart? { "product":"111", "selected_configurable_option":"", "related_product":"", "qty":1, ...