Questions tagged [magento2.3]
Denotes questions related to Magento CE 2.3.x and EE 2.3.x
4,654
questions
0
votes
1answer
8 views
Magento 2.3.3 + elasticsearch 6 - empty catalog. Elasticsearch adds WHERE (NULL) to product collection
I have elasticsearch 6.8 and M2.3.3.
On the both category and search pages Magento display:
We can't find products matching the selection.
(MYSQL engine works correctly)
Reindex and cache are ...
0
votes
1answer
17 views
Magento 2.3.4?How to change the cronjob frequency?
I need to change the job schedule for amazon_payments_process_queued_refunds from 5 to 15 mins. Please let me know how to do it.
0
votes
1answer
8 views
Custom Grid Date filter format problem on search
I'm trying to format the display and also the datepicker value when selecting the date in Filter for my custom grid. Now the display works fine the only problem is when I filter it, it doesn't work as ...
0
votes
0answers
14 views
How to get current category using session, without using registry
I see that using the registry is being deprecated. There is not much documentation on an alternative but have seen one example from Atwix using Magento\Catalog\Model\Session - https://www.atwix.com/...
0
votes
0answers
13 views
How can i solve Magento 2 Server migration error?
Magento 2 Server migration error below:
{"0":"Expecting a string, got NULL","1":"#1 Laminas\Uri\Uri->parse()
called at
[vendor/magento/module-backend/App/Area/...
0
votes
0answers
11 views
Magento 2 order create programmatically use ideal payment method but not working
I need payment method ideal and PayPal method set programmatically.
I have try many ways but still not working.
I have tried to cash on delivery it's working fine .but another payment method has try ...
1
vote
2answers
44 views
Magento 2 how to check customer is logged in js file using phtml file
I have found the below code. but it's not working and showing define error in frontend if i use this code in phtml file.
Like this error shown :
require.js:166 Uncaught Error: Mismatched anonymous ...
0
votes
0answers
9 views
New order email notification not send
Magento 2.3.3
When registering a new user, a message is sent to the mail. If the user creates an order or tries to send from the admin, there is no message.
I tried to install Mageplaza SMTP, test ...
0
votes
1answer
14 views
Magento 2.3 Create Custom Module
I am trying to get some code onto the success page for a Magento store. I know that it needs to be done through a custom module but I can't even seem to get a base module to register though. I have ...
0
votes
1answer
9 views
Add product with text customisable option to cart using REST
When using the REST API to add products to the cart, you need to add a product_option.extension_attributes.configurable_item_options object to the cartItem payload (POST-ing to /V1/carts/mine/items). ...
0
votes
0answers
12 views
Error when update/add product
In admin when i click on product edit get a error
[2021-04-06 13:14:56] main.INFO: Broken reference: the 'product.reviews' element cannot be added as child to 'product_tabs', because the latter doesn'...
0
votes
0answers
7 views
Magento 2: Check quantity with custom data when create shipment
When creating shipment from the Admin I have to check the qty with the packed quantity from the custom table.
I have created a plugin and it's calling but after this, it creates shipment for all the ...
0
votes
0answers
10 views
how to display menu from the data of the Sutunam module in the weltpixel module in magento 2
comment identifier comment seront renseignés les liens dans weltpixel pour recréer le menu à partir des données du module Sutunam (sutunam_menu pour les entrées de menu (avec sutunam_menu_store pour ...
0
votes
2answers
22 views
Magento 2.3.5 with cpanel - Unable to downgrade composer to 1.10.20
(Magento 2.3.4) I am trying to downgrade composer due to not being able to run Composer commands as follows. NOTE: from my understanding Magento 2.3 is not compatible with composer 2.
composer require ...
0
votes
2answers
27 views
Element 'block', attribute 'display': The attribute 'display' is not allowed… in magento 2
I am working with Magento 2.3.5 community edition. I am facing this issues
Element 'block', attribute 'display': The attribute 'display' is not allowed in ..
on magento frontend when I am in '...
0
votes
0answers
11 views
Magento 2.3.3 all swatches are crossed for salable quantity instead of showing out of stock
In Magneto 2.3.3 configurable product's all swatches are crossed instead of showing out of stock when salable quantity is 0 for all child products.
For example Colour Red, Size: S, M now Red-S and Red-...
0
votes
1answer
34 views
Filter after 'null' column values in the shipment grid issue on Magento 2.3.4
I've added a new column to the shipments grid: email_sent, by creating this file:
app/code/VendorName/ModuleName/view/adminhtml/ui_component/sales_order_shipment_grid.xml
and this code:
<?xml ...
0
votes
1answer
31 views
Products randomly disappearing
So we seem to have a very strange issue where certain Simple products are disappearing from the front end. Running bin/magento indexer:reindex doesn't seem to solve anything, the only solution we've ...
0
votes
1answer
33 views
Magento frontend take too long to respond
Magento frontend is taking too long to load(~2hrs). In browser's network tab the request remains in pending state throughout. Meanwhile the Admin Backend is loading fine.
Debug logs:
[2021-04-02 07:21:...
0
votes
1answer
24 views
M2 - TinyMCE4 JavaScript disappear after switch to TinyMCE and back to HTML editor
I am using the TinyMCE to add content to CMS pages and static blocks.
With TinyMCE editor disabled I add HTML and javascript code.
For example
<h2>What Can JavaScript Do?</h2>
<p id=&...
0
votes
1answer
42 views
Switching to developer mode not working in M2
Good day everyone, We have recently migrated our site from one server to another server and configured Varnish and Redis. Now when I try to switch my magento mode from default to developer using bin/...
0
votes
0answers
15 views
Magento 2 disable MSI on catalog level
I am using magento 2.3.5 version. Can anyone please confirm if is there any way to disable MSI features on catalog/filter and search pages.
If the stock of the product is 1 and salable qty is 0 then ...
0
votes
3answers
34 views
How to Fetch/Insert in Database without Sql Query
I am trying to get customers from the database whose order was cancelled, and I am able to do this via Query. But I think the standard way should be without using Queries. So is there a way I can ...
0
votes
0answers
21 views
Magento 2.3 same product with different custom options is not showing separate in the cart?
I am adding the same product in the cart with different custom options but the product is merging with the first one and item quantity increased in the cart only.
I want to show separate same products ...
0
votes
0answers
17 views
popup contains checkbox to get feedback when remove items in minicart
I need to popup contains a checkbox to get feedback on why user remove item/s in mini cart and save result in the database in Magento2
Can you help me?
0
votes
1answer
23 views
Magento 2.3.5 create boolean custom Customer Attribute
I am trying to create a Yes/No attribute for Customer in the admin panel, but its not working. I have tried several available solutions but didn't seem to work. My code is given below.
/Setup/...
0
votes
1answer
49 views
Magento 2. How to send confirmation email for two emails at once?
How to programmatically send an order confirmation email for two customer email addresses at once?
I created additional customer attribute for "contact email" field and need send ...
0
votes
1answer
37 views
php bin/magento setup:db-declaration:generate-whitelist
I had some issues when updating an module, I revived an error and after looking it up It was recomaneded to do php bin/magento setup:db-declaration:generate-whitelist. AFter i did this I was able to ...
0
votes
1answer
31 views
Magento 2 showing different customers name in header
I have shown customer name in header programmatically.But when you login with customer it show other customer name which was logged in past on same web browser on some pages.instead of current ...
1
vote
1answer
22 views
How to limit number of Customizable Options customer can select?
I have added multiple Customizable Options(e.g. Extra Buffalo Cheese,Extra Aioli,Extra Hollandaise,Extra Caesar Dressing) for products as shown in the image below. I want to restrict this option ...
0
votes
0answers
16 views
Magento 2.3: Hovering MegaMenu Not Working
I previously had Porto Megamenu which i had disabled and, I added Amasty MegaMenu Extension, followed the provided steps, but the megamenu doesn't seams to be working on hover, i need a pointer where ...
0
votes
2answers
41 views
Magento2 Addtocart before plugin not working
I have created before plugin for Add to cart functionality to check if product's custom attribute called My Tshirt(which is text field type) value "Jack" or "Jill".
Plugin work ...
1
vote
1answer
16 views
The images show on frontend pagespeed.ic._LOWhFVaw2.webp after image filename
For example the images address on frontend website show this:
https://takoda.shop/pub/media/logo/default/170xNxTakoda_met_Tijger_O_logo_kleuren_nieuw.png.pagespeed.ic._LOWhFVaw2.webp
It adds at the ...
0
votes
0answers
9 views
gclid applied to links within the site
Magento 2 site.
I've been told that this is due to the site caching versions of the page which contain a gclid or a fbclid in the url.
It occurs intermittently and is impossible to keep on top of as ...
0
votes
1answer
19 views
Magento 2: Alternative solution to large number of values inside 1 attribute
We have Product Attribute called "Authors" with "Multiselect option". It has entries up to 51k. When we edit product page in backend it becomes very slow to load page and specially ...
0
votes
0answers
11 views
Cross sell products display in Addtocart popup
cross-sell products want to display in product view page addToCart Success popup.
Thanks in advance.
0
votes
1answer
15 views
Item status in sales order view not showing backordered after invoice is created
When we receive an order containing an out of stock item (that's allowed to be backordered) it nicely shows "Backordered" at 'Item status' in the backend sales order view.
magento item ...
0
votes
0answers
10 views
Data disappears/empty from description editor after saving product for few products only
I am trying to add content but it empty after save products. It happened with few of my products. I am using Magento ver. 2.3.4
0
votes
0answers
10 views
How to show a higher quality image in Magento2 Gallery Fullscreen
I want to load the product_page_main_image (which is larger) rather than the product_page_image_medium when you click the Fotorama Gallery. This will give me a higher quality image because it's ...
0
votes
0answers
9 views
Element 'item': Duplicate key-sequence
1 exception(s):
Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'item': Duplicate key-sequence ['children'] in key identity-constraint 'itemName'.
Line: 2093
0
votes
2answers
33 views
Return JSON response in stead of JSON String
I'm working on building REST API which will return data of regions. API is working as expected but problem I'm facing is its returning response with JSON string and not able to parse that. Would like ...
0
votes
1answer
23 views
Which event is responsible for after Customer account reset password?
I need event after customer reset passoword successful or unsuccessful to perform next operation but I am unable to get any proper solution.
event.xml
<?xml version="1.0"?>
<config ...
1
vote
0answers
13 views
Custom uploader in Ui component not working
<item name="blutbildhochla" xsi:type="array">
<item name="component" xsi:type="string">
Magento_Ui/js/form/element/file-uploader
<...
0
votes
0answers
10 views
Getting adminhtml/session error on sales order grid at the time of shipment save when it redirects. [Magento 2 EE]
Getting adminhtml/session error on sales order grid at the time of shipment save when it redirects. [Magento 2 EE]
Please check the attached SS for your reference.
Thanks in advance.
0
votes
0answers
25 views
How to add count down hide all message in magento 2
I want to hide the message displayed in magento 2, after doing actions like add to cart, login, add wishlist, compare, error info, ... anyone have a good idea for my question? . Thanks everyone
0
votes
0answers
12 views
Want to Override the Attribute Swatch Description in Configurable Product Page Magneto 2.3
I want to Override the Product Attribute in Configurable Product page. Want to Like
Edit This Field in Configurable Product Attribute Selection Page.
0
votes
1answer
21 views
How can I load image through api by using external image url?
I have my product images in my cloud store and those are public. I want to map those images to product through API. I have gone through the solution given in the below link. But I want to check if ...
0
votes
0answers
20 views
Magento 2 prevent function from executing using plugins
There is a third party module which contain the RecurringData.php file.
That class has install function which runs $this->testimonial->update(); function. I want to stop the execution of that ...
0
votes
2answers
23 views
magento 242 admin error The account sign-in was incorrect or your account is disabled temporarily Please wait and try again late
magento 242 admin error The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.
1
vote
1answer
34 views
Problem with Magento 2.3.6 Multi Source Inventory
I have a Magento 2.3.6 installation using multi inventory. I have the following setup:
There many websites. Each website is assigned specific and unique stock. Also, each stock is assigned a unique ...