Stack Exchange Network

Stack Exchange network consists of 174 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.

3
votes
1answer
19 views

How to fix this “Running schema recurring.Unique constraint violation found”

How to fix this error "Running schema recurring.Unique constraint violation found". This statement occurs when I used upgrade command of Magento 2 model upgradation.
1
vote
2answers
27 views

Reindex from different computer

Ok so basically I have been given this one task to manage the admin side for a website that used Magento 2. But then, I have encountered some problem with the reindexing. I have been searching about ...
2
votes
1answer
25 views

Magento2 Checkout Page web matrix Shipping Method by default selected

In Magento 2 checkout page when ship here button click than shipping method radio button by default selected showing but in my site it's not working. So if anyone knows how to fix this, please reply ...
4
votes
1answer
57 views

How to delete the item from cart in checkout

How to delete the item from cart in checkout? File Magento_Checkout/web/template/summary/item/details.html <div class="cart-item__col-subtotal"> <div class="cart-item__subtotal" > ...
0
votes
2answers
39 views

Magento2. Homepage Hot sellers

I want to get the all products and make changes in these product showing on the homepage
1
vote
2answers
25 views

How to show base image on minicart in magento2.1.7?

I want to show base image in minicart and checkout, Right now it is showing thumbnail images in magento2.1.7 I don't have any thumbnail images for my product so I need to point it as base image. Any ...
1
vote
0answers
21 views

Magento 2.2.7 single product image not showing on front end

I'm developing a website in Magento 2.2.7. I have a problem whereby if I only add one image to a product in the admin area it doesn't show on the frontend, even after trying all of the various ...
0
votes
0answers
32 views

Magento 2: Payment Method Not Capturing Shipping Address From Payment Page

On the Checkout Page after filling the shipping address and checking the check box: my billing and shipping address are the same on the payment method it returns the error: Please check the ...
0
votes
0answers
15 views

Custom attribute value not displayed in 'Order Total Report' magento 2 admin grid

I want to add new columns 'ID' & 'Affiliate ID' to 'Order Total Report' admin grid (REPORTS > Customers > Order Total). I am able to add these 2 columns, but only customers Id's are getting ...
0
votes
0answers
14 views

Magento 2: Promotion percentage off, but only upto a fixed amount

I want to make a rule where I offer my customers a discount of: 50% on their whole cart, but the max discount amount is fixed to 20$. Can I make this in Magento 2, using one or a couple of rules?...
1
vote
1answer
15 views

Magento2: mini-cart not empty after programmatically placing an order on success page

I have a custom payment gateway module. When you click on the Place Order button on checkout, it redirects you to an external payment page & after that you return to a custom controller on that ...
2
votes
0answers
19 views

Should i use tinymce or tinyMCE in magento 2.3 and also usage for backward compatible

From magento 2.3 i see core team integrated new version of tinymce. It's a good thing. Maybe future they will add more editor for magento. But i have a confuse a bit when to use wysiwyg through below ...
0
votes
1answer
30 views

Magento2 : How to add city field to dropdown on checkout page?

I want add city drop-down in checkout page without any extension. I have tried some reference link for adding city dropdown but it is adding ony on cart page on estimate section. I want to add in ...
1
vote
1answer
18 views

Magento 2 Bundle Product Add To Cart Like Simple Product

We have bundle products that are just groupings of simple products. I have disabled all options for the bundle products so that customers can't edit quantities etc. because I want them to act like ...
0
votes
1answer
24 views

How to start top menu by some specific category in magento 2

How to start top menu by some specific category ID in magento 2. Something like this in topmenu.phtml <?php $categoryID = 6; $_menu = $block->getHtml('level-top', 'submenu', $columnsLimit, $...
0
votes
0answers
18 views

How to add only My account link instead of all dropdown

I want only the first link of dropdown of My Account as my link(anchor tag). I am not able to figure it out.
0
votes
0answers
18 views

After registering the customers in the admin is not visible [duplicate]

There are many customers but they are not visible in the admin panel, can help me ?
0
votes
0answers
22 views

Magento 2 default captcha on newsletter form? [duplicate]

How to add a default captcha on newsletter subscription form on footer.
1
vote
1answer
49 views

Magento 2.3 : Multiple image upload in admin form ui component?

I am facing issue uploading multiple images.i have implemented single image upload in Magento 2.3 from the admin side using the UI component. Thanks for your help my code is given below. form code ...
1
vote
1answer
164 views

How to create new product slider in home page in Magento 2

I want to create a new product slider in home page of my website without using external extension.
0
votes
0answers
13 views

Results missing from search via REST API when fields are missing

The short of it - I'm performing a search on multiple fields (two normal fields and 10 custom_attributes fields. If a product is missing any one of those custom_attributes fields it is omitted from ...
0
votes
1answer
20 views

How to extend private function getTierPriceStructure($tierPricePath) in class AdvancedPricing

I am having some trouble here. I need to extend private function getTierPriceStructure($tierPricePath) in class \Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\AdvancedPricing. How do I ...
2
votes
0answers
33 views

Magento 2 Limit Product quantity per customer

In my magento store there are virtual subscription products which come as trials. I need to set maximum 1 product which is allowed to purchase by a customer. Does any one knows what is the ...
2
votes
1answer
29 views

Page reload not showing message [on hold]

Using Codazon theme developed AjaxCartPro Module Problem - when a user put product qty more than 10000 no error is showing but just reloading the page we want to reload then show error message app\...
1
vote
1answer
10 views

Limit Transactions to certain states

I'd like to exclude any users from California or Texas from purchasing our products. How do I accomplish this?
0
votes
0answers
10 views

Trouble with 'Manage Products'

When we try to go to next page in Catalog > Manage Products the screen just freezes on please wait. Any tips would be very helpful. Thanks
1
vote
0answers
20 views

Magento2 adminhtml product page table view

how can I edit the view of the product page? I'd like to create a table view. Quantity fields on the first column, price fields in the 2nd column. Thanks for the help
0
votes
0answers
7 views

Additional data: Asymmetric transaction rollback. magento 2 import

I'm trying to upload csv sheet but I get Additional data: Asymmetric transaction rollback It only can upload 50 products I've ran reindex command and cleared cache and di
1
vote
1answer
33 views

How to add only footer in checkout page Magento 2

How can I add only footer section in my checkout page I tried this code <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column"> <body&...
1
vote
0answers
15 views

Read Only Integration Token

I'm looking to setup an integration token for the REST API. I understand the process for this, as well as the ability to specify the tokens access to different resources such as products or customers. ...
0
votes
0answers
26 views

Steps Install Elasticsearch 6.6 for Magento 2

I have many problems when installing Elasticsearch on my server. I'm going to put the steps that I followed in case someone can tell me if I'm missing something or not, please, or if I need to install ...
0
votes
0answers
14 views

Magento 2 Add js from my own theme to every page with Miscellaneous HTML

In Content -> Design -> Configuration -> Footer -> Miscellaneous HTML, I can add javascript files like this just fine, <script type="text/javascript" src="http://example.com/myjavascript.js">&...
0
votes
0answers
31 views

How to override core shipping method system.xml file in magento 2?

I want to override shipping method system.xml file in my module and to add a new text field there. How to achieve this ? thanks
0
votes
0answers
21 views

Magento 2.2.7 No such entity with cartId

on visiting cart page www.yoursite.com/checkout/cart facing this exception. 1 exception(s): Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with cartId = ...
0
votes
0answers
14 views

How to set 2 prices for a product and add to cart same both 2 prices magento 2

Actually am trying to show 2 or more prices for a simple product and once we add to cart and it should sum the prices to cart and also display same prices in shopping cart. If anyone have ...
0
votes
0answers
19 views

Magento 2 - Dynamically hide empty categories based on attribute selected in a cookie

I'm trying to hide empty categories based on an attribute selected previously. Basically I have a vehicle parts website and a customer can choose a vehicle model and I've changed the products ...
0
votes
1answer
34 views

Magento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?

I want to get all the location names from the Multi Source Inventory (MSI). How could I get a collection of all locations in my custom module? Here I want to create a new multi-select product ...
1
vote
1answer
17 views

How to send confirmation email at the time of customer creation programatically?

How to send confirmation email at the time of customer creation programatically ? Customer created,but I cannot send confirmation email? Any help? public function createCustomerSocial($data, $store)...
1
vote
0answers
13 views

How to update shipping methods on change of custom dropdown on cart page

I have created a custom dropdown above country dropdown on cart page. Now I want to update shipping methods list. I followed Devdocs to show custom field on address form (cart page). All in all I ...
4
votes
1answer
89 views
+50

Magento 2 Duplicate Orders

I'm getting an strange issue in Magento 2.2.7. Some of the orders are duplicating despite us only receiving one payment. It is the exact same order information except for the order number (which ...
0
votes
1answer
35 views

How do I show child product quantity inside a config/grouped product

I'd like to display the childProduct saleable stock quantity within a grouped or configurable product page on magento 2, I can put in various blocks that supposedly call the stockQty but it's always ...
0
votes
1answer
17 views

Tax price issue

How do I show 20% tax at checkout page with product original price? Means we not adding extra 20% to the product price but we should show 20% including tax
1
vote
0answers
37 views

Expected to start loader but did not find one in the dom - Ajax Call Magento 2

I have implemented Ajax call to add product to cart, which is somewhat like below: $.ajax({ showLoader: true, url: SERVER_URL+'common/custompurchase/addtocart', data: data, type: "...
0
votes
0answers
44 views

Elasticsearch stops working

This is my system: Ubuntu 18.04 Nginx 1.14.0 MySQL 5.7.25 Magento 2.3 I installed elasticsearch and it worked fine but it gave me this error and I do not know how to fix it: Any suggestions? Log ...
2
votes
0answers
18 views

magento 2 decrypt value from Javascript

I am working with checkout component file (JavaScript) and I don't understand how to decrypt encrypted value in JavaScript. Found that there is no JS file under framework/Encryption module. Any help ...
0
votes
0answers
13 views

Copy the cart to new page, but no action triggered when click on “update shopping cart”

I've copied my cart summary into a new page. I see my cart like if it was in checkout_cart_index, that's ok. But when I change a quantity and click on "update shopping cart", the page reloads and ...
0
votes
0answers
23 views

GET method arabic parameters doesn't work magento 2

I'm building rest api to get products filtered by specific attribute, when I pass parameter for GET method in arabic I get request doesn't match any route and when I send it using POST method it ...
2
votes
0answers
43 views

how to add Custom column with link in sales order grid magento

I want to add custom column in sales order grid. in the row data i want to add link using block render or using UI component.
2
votes
0answers
19 views

how to edit quantity in cart with ajax magento 2?

I'd like to know how to change the quantity of a product on front using ajax ? When I change the quantity in the input and them click on the small pencil to apply modification, I'm redirected to the ...
2
votes
0answers
12 views

Magento 2 deployment without downtime - are there proven production strategies?

We know the recommended Magento 2 deployment process which roughly contains the following steps: php bin/magento maintenance:enable composer require <package> <version> --no-update ...