Questions tagged [magento2.3]
Denotes questions related to Magento CE 2.3.x and EE 2.3.x
4,612
questions
0
votes
0
answers
84
views
Send csv file on email in Magento 2.4.0
I am generating order report in csv and saving that file in Var folder. Now i want to send that file on email without using any email template. How to i can send that file on email ? Kindly check ...
0
votes
0
answers
17
views
Should Magento put product back in stock if quantity increases?
We are using Firebear Import and Export to import products from one source and stock information from another. When products drop below 0 they go out of stock automatically on Magento but when they ...
0
votes
1
answer
202
views
Magento 2 Breadcrumbs show wrong on product page because of cache
Magento 2.3.5 and 2.4 both versions have these issues.
The same product is assigned in two categories.
Suppose two main categories -
Category One and Category Two
Category One subcategories are ...
0
votes
3
answers
178
views
save custom billing attribute value from order
I have a problem with saving the custom billing attributes.
I added attributes into the Customer Address Entity table.
all fields of billing address are saved to DB without my custom attribute.
My ...
0
votes
0
answers
11
views
Magento2 UPS Surcharges Not Being Returned
I am experiencing an issue with the UPS module for Magento2 (2.3). Shipping rates are being calculated but surcharges are not being calculated or applied. I have reached out to UPS and their response ...
1
vote
2
answers
170
views
How to move language switcher outside of settings tab on mobile view Magento 2
I trying to move the language switcher on mobile devices to be in the main website menu instead of the settings tab (screenshot below):
I found some instructions on how to do that from the layout.xml ...
0
votes
1
answer
43
views
Can you auto-fill a custom field when a product becomes out of stock? CE2.3.2
I have a custom text-field called 'Back in stock' (in orange) which displays on the product grid once a product is out of stock and the field has content.
My question is: is there a way of ...
0
votes
1
answer
48
views
Magento 2 : Marketplace issue combine swatch-renderer js for 2.3 and 2.4
I have two different modules for 2.3 and 2.4 which is using mixin js, I want both these modules to be compatible in one to submit in the marketplace
map: {
'*': {
'mymodule/...
0
votes
1
answer
91
views
Set Default Value for Country and State in cart page
as per my requirement, the state and country in the cart page should be a default of US and Washington. I found a configuration for the default of country but I wasn't able to find any for the state. ...
0
votes
1
answer
113
views
Add Magento search on Home Page banner
I want to add a search box on the home page banner like this
I added this banner via page-builder. Any way-out to add search box like this?
Please guide
Rashi
1
vote
1
answer
43
views
How to add conditions on shipping methods over price?
I need to trigger the free shipping option over $150 and charge a flat $5 handling fee with free shipping but if a specific product is added in cart this rule should not be applicable.
0
votes
0
answers
46
views
Magento 2 share wish list email "View all Wish List items" link showing blank page
When I share my Wishlist in Magento 2, I am getting all the wish listed items to the given mail id and at the end of wish list items there is a link called "View all Wish List items". When I ...
0
votes
1
answer
70
views
winpty: error: cannot start xampp/php/php.exe Showing internal error: agent timed out
How to solve this Magento 2.3.6 error?
I have installed it on the XAMPP server
winpty: error: cannot start 'D:/xampp/php/php.exe bin/magento
indexer:reindex': internal error: agent timed out
0
votes
1
answer
27
views
How to show magento rules based product from related product rule programmatically
Currently crosssell product is showing based on product level. I need to get the collection of crossell based on magento related product rules . Kindly help me
0
votes
1
answer
48
views
Magento 2 how to modify SKU in order rest api response
I have to edit the SKU with some other data. When I use this rest API below
http://localhost.com/rest/V1/orders/1
I get SKU in two places like below.
Place one at the first like below
"items&...
0
votes
1
answer
46
views
Why is my my custom edit page for my custom admin panel not working?
fellow Magento developers. Ive been working on this new exercise including a whole admin panel and all that. i was working on the edit and ran into an issue that produces these 2 errors in my log
...
0
votes
2
answers
300
views
How to create the plugin for customer registration for create post get the inserted last id in magento2
How to create the plugin for customer registration for create post get the inserted last id in magento2.
I tried with an example but it is working.
can you please help me?
di.xml
<type name="...
0
votes
0
answers
48
views
Send some parameters using Button component
How can I send some parameters (Data) in DataProvider using the button
Here action_update_modal is my Modal component and update_action_form_loader is my insertForm
In the documentation, it is ...
0
votes
2
answers
50
views
Why we need to add argument to plugin?
Recently I get through this below set of code and am not sure why the arguments are passed for the plugin.
<type name="Magento\Framework\Mail\TransportInterfaceFactory">
<...
1
vote
0
answers
19
views
I want to show custom atrribute in invoice of magento2 by override defaultinvoice.php file
?php
/**
Copyright © Magento, Inc. All rights reserved.
See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Digitalaptech\InvoicePdf\Model\Order\Pdf\Items\Invoice;
//use ...
0
votes
1
answer
118
views
How can I display the categories and subcategories in my admin form like in the product page?
I am trying to add the categories and subcategories in a small panel Exactly like the one in the product panel
and I want to add it in here instead of this XML field like the "toOptionArray"...
0
votes
1
answer
54
views
How to get value from quote_address table in Magento2
How to get value from quote_address table for checkout and cart page in Magento2.
Need values for guest and login user both in Magento2 cart and checkout page
1
vote
1
answer
40
views
How to configure apple pay payment with authorize.net payment method in Magento 2?
How can implement the apple pay payment method with the authorize.net payment method? Can anyone tell me how to implement it in Magento 2?
0
votes
1
answer
42
views
Magento 2.3 multi currencies without using exchange rate conversion
I'm trying to find a solution for my client which is to set products price in multi-currency manually not using base currency and exchange rate conversion.
Please share your thought, solutions, and ...
-3
votes
1
answer
358
views
Database user does not have enough privileges While running Setup Upgrade command in Magento 2.3
I have freshly installed Magento 2.3.5p2 on the XAMPP server on Windows OS. It was working fine but then suddenly it's showing below the message.
Database user does not have enough privileges. Please ...
0
votes
1
answer
11
views
How do I make tabs changeable when using UI library?
I am attempting to add some tabs to my content. I found the tabs control in the UI library and thought they'd be ideal. Unfortunately, they do not work. The tabs cannot be changed from one to another. ...
1
vote
1
answer
94
views
Unable to Save Configurable Product Options using API
I am using Magento's API to add the Configurable Product Options but I don't see them in Configurable product data.
EndPoint Used to add the Configurable Product Options
https://example.com/rest/...
0
votes
2
answers
270
views
Magenot 2.4 custom routes does not working. All time i get 404 error
Am crazy or what? Can somebody inspect my code and tell me what I do wrong?
I try examples from the official documentation:
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/routing.html#...
0
votes
1
answer
132
views
Assign the guest quote when customer login into the checkout page
I want to remove the customer quote when the guest customer login into the checkout page then guest quote is assigned to the customer.
Please suggest me how can I delete the customer quote and assign ...
0
votes
0
answers
27
views
How to Resize fotoroma library popup/lightbox when clicking on product image on product view page in Magento 2?
I want to set custom height and width of fotorama fullscreen image popup/lightbox.
How to do that....please help.
0
votes
1
answer
22
views
Magento2 MSI Install on 2.3.4
Trying to install https://github.com/magento/inventory on our Magento Enterprise Cloud v2.3.4
however, am getting this error and am not sure if anyone else has experienced this and figured out how to ...
0
votes
1
answer
106
views
Page Builder issue in Magento2
TypeError: Argument 2 passed to Magento\PageBuilder\Plugin\Filter\TemplatePlugin::afterFilter() must be of the type string, null given, called in /var/www/html/falcon/vendor/magento/framework/...
0
votes
1
answer
54
views
Remove the old cart items when customer login in the checkout page
I want to remove the old cart items from the checkout. when custom login into the checkout page and some items has left in previous not purchase that item Magento merging that item after login. I want ...
1
vote
2
answers
67
views
Ajax api call doesn't works using onclick returns error 400
So I'm trying to do an API call using Ajax on the Admin page, when I add this API call in onclick attribute, it doesn't work it returns error 400 Bad request, BUT when the API call isn't vinculated at ...
0
votes
0
answers
28
views
How to assign new product to all existing websites by default in magento 2.3.5
Generally only default website option selected by default during new product creation in magento but I want to assign new product to all existing website by default. Means, I want to select all ...
0
votes
2
answers
54
views
How can I drop database column via ssh
I need to uninstall one of the modules.
I need to drop the column from the database
How can I run this command via ssh to remove it?
I tried on this way not working with me.
1- sudo mysql -u root -p
2-...
1
vote
1
answer
81
views
Ajax api call returning Bad Request decoding error
I'm trying to do an ajax API call on the admin page, but it returns a Decoding error: \nUnable to unserialize value. Error: Syntax error...
$('#button').on('click', function(){
$.ajax({
...
0
votes
1
answer
114
views
Upgrade from Magento 2.3.4 to Magento 2.4.3 still shows old version in admin
After upgrading to 2.4.3 (after several issues down the line), the admin still shows the previous version (2.3.4) in the footer, although the CLI version displays 2.4.3.
Here are the steps:
Using ...
0
votes
0
answers
71
views
Getting cors error in pwa studio
When I run the PWA studio project locally I get this error. And after an error in the browser console, it keeps sending requests to the server.
Access to fetch at 'https://xxxxx.com/Store/rest/V1/...
0
votes
0
answers
65
views
How to install any package in pwa studio project
I am working on the PWA studio Magento project and it's my first time working with PWA studio. I don't know how to install the package in the PWA studio project. When I got the project and it was ...
1
vote
2
answers
181
views
Api call using ajax on admin page returns invalid form key
i'm trying to do an api call using ajax on admin page, but it keeps returning "Invalid form key"
<script type="text/javascript">
require([
"jquery"
], function (...
1
vote
0
answers
14
views
want to add amount field in Transactions grid (capture and refund amount show in column as per Transactions)
i want to add amount field in sales Transactions grid
which show capture and refund amount as per Transactions ids
0
votes
1
answer
81
views
How to retrieve value of multi-select custom product attribute?
I created a new drop-down custom product attribute and placed it in an attribute set. and I'm trying to retrieve its value programmatically in Magento 2. The name of said attribute is "...
0
votes
0
answers
23
views
Missing Sequence in DB
We have a multistore setup and we just added 2 new stores store_13 and Store_Id 14.
Store_Id 13 had some issues, we are not able to create an order in the system and when I had a look, it was missing ...
0
votes
0
answers
17
views
Magento 2.3 Related Products with a Block and slider
I am asking a new question.
I am trying to add a block to the related products, everything is ok, but also a slider must be added to the products since there are several.
In this case, the slick ...
0
votes
0
answers
19
views
Magento 2 Unique 404 Error
My server fails to update on data change. It goes to a 404 Error page[![enter image description here
How would I go about the process to fixing this error?
'''#0 /home/we/kw/vendor/symfony/console/...
0
votes
2
answers
332
views
M2.3.2 - Search not working
I am using Magento 2.3.2, but sometimes the default search bar does not work MySQL engine for the catalog search.
For example, I have a product called "Test product for Toyota".
When I ...
0
votes
1
answer
89
views
Proper way to remove .html extensions from URL and do a global redirect
I know how to remove.html extensions from URLs in Magneto 2.3, but I'm unsure what other steps I need to take to make sure I do everything properly.
I found that I should also create a global redirect ...
0
votes
1
answer
48
views
Memory exhausted in NoSuchEntityException.php on line 50
I have recently imported customers in Magento 2.3.2 - when logging in as a customer I'm receiving a:
Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 20480 bytes) in /...
0
votes
3
answers
475
views
How to Print Raw SQL query of Magento 2 format?
I am trying to print the raw SQL query of the below statement in Magento2 but am not able to do it. please find the statement
$connection = $this->getConnection(); // I am getting the connection
$...