Questions tagged [magento2.3]

Denotes questions related to Magento CE 2.3.x and EE 2.3.x

2,562 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
2k views

setup:db:status still reports "Declarative Schema is not up to date" after update

Since an update to Magento 2.3 I am experiencing the following issue: bin/magento setup:db:status Declarative Schema is not up to date Run setup:upgrade to update your DB schema and data. Although ...
user avatar
6 votes
1 answer
731 views

How to create Dynamic rows in custom admin form?

I want to create a form field which has dynamic rows in that page. Also, I want to store the form data in database table. I already referred this link >> https://github.com/bbakalovGlobal/...
user avatar
6 votes
0 answers
2k views

Magento 2 place order redirecting to the cart page

When I am trying to "Place Order" -> it is redirecting to cart page, the order is not placed and cart items are in the cart. I tried this solution, but unsuccessfully. I use Mageplaza_Osc .../...
user avatar
  • 570
6 votes
1 answer
3k views

Magento2.3 : Layered Navigation issue

When call block on custom view: $layer=$layout->createBlock('Magento\LayeredNavigation\Block\Navigation\Category'); Exception #0 (RuntimeException): Illegal state #0 /home/httpdocs/...
user avatar
5 votes
0 answers
419 views

Declarative schema uses padding in 2.3, gone in 2.4, do we have to use it?

In a module we're developing we declare a new database table with a foreign key relationship to the sales_order table. We want to support Magento 2.3 and 2.4, so we use the declarative schema (...
user avatar
5 votes
0 answers
581 views

Increase the success/exception message time span in Magento 2

When a product adds to the cart the success/exception message is hiding rapidly, So I just tried the below way to show/increase the period of the message. But it's not worked for me. I have modified ...
user avatar
  • 3,896
5 votes
0 answers
587 views

Getting Error "TypeError: Failed to fetch" While running graphql endpoint in ChromeiQL

I am running xampp server in my windows local. I setup magento 2.3.2 with sample data in it. When i try to run graphql in ChromeiQL , it throws error "TypeError: Failed to fetch". I have been using ...
user avatar
5 votes
0 answers
485 views

Magento 2.3 REST API, GETs being refused access while POST/PUTs are OK

I am using some Magento 2.3 REST calls, and I am finding that for certain calls (and it seems to be consistently GETs) Magento is returning an authentication error, while for others (which seem to be ...
user avatar
  • 61
5 votes
0 answers
3k views

Magento 2 - The shipping method is missing. Select the shipping method and try again

I am trying to set the Shipping Method Programatically on place Order using Below code . But I am Getting Error For your Reference I am Using https://github.com/magestat/magento2-split-order/ Code ...
user avatar
5 votes
0 answers
254 views

Magento2.3: Display Custom text on Shipping Address

I would like to add custom text whenever shipping country is Sweden, Ive created Magento_Checkout module in my custom theme and added a phtml file <div class="free-shipping-info" data-bind="...
user avatar
5 votes
2 answers
734 views

Magento2.3 checkout page getting error

I used magento2.3 - when i go to checkout page this error comes below.please if anyone know regarding this reply me Error occurred during "shipping_address" processing. Error occurred during "...
user avatar
  • 1,597
5 votes
1 answer
974 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. ...
user avatar
  • 1,148
5 votes
0 answers
1k views

Magento 2.3: Customer ID from Session Returning NULL with Cache Enabled

I'm calling the following helper but getCustomerId is returning NULL when I have cache enabled. If I disable all cache, then I can return the customer's ID. <?php namespace Company\Module\Helper; ...
user avatar
  • 650
5 votes
0 answers
347 views

Magento2 PWA - make live?

Little confused on this PWA stuff. Everything I've seen shows the PWA URL to be localhost like PWADevServer ready at https://magento-venia.local.pwadev:8001: How do I make this live?
user avatar
  • 742
5 votes
0 answers
112 views

Uninstalling extension

Up to versions 2.2 (including it) you could uninstall modules installed via composer and when you did that the method uninstall from Setup/Uninstall.php will be executed. Basically this was the place ...
user avatar
  • 195k
5 votes
0 answers
163 views

Module version in composer.json

I'm running the static tests on one of my modules and on magento version 2.3 it reports an inconsistency: Version must not be specified in the root and package composer JSON files in Git Failed ...
user avatar
  • 195k
5 votes
0 answers
3k views

After upgrade to Magento 2.3 setup:upgrade fails with sample-data installed

I've updated two installations from 2.2.6 to 2.3.0 without any problems, but next one makes some trouble. PHP 7.1.23 2.2.6 with plain sample data (no edits made in backend here) Steps: removed ...
user avatar
  • 11.5k
4 votes
0 answers
494 views

Cron jobs are affected due to system upgrade error in magento 2. Did any one face this kind of issue?

Recently we upgraded to 2.3.3 to 2.3.5-p1. Most of of cron jobs are get affected with error message as "The job is terminated due to system upgrade" Even though I commented out update/cron....
user avatar
  • 1,199
4 votes
0 answers
236 views

How to display product image in summary section in bundle product page in Magento 2?

we are using Magento V 2.3.5-p1 In default Magento when we select options on the bundle product page the selected option will be displayed in the summary section. By default, only the quantity and ...
user avatar
4 votes
1 answer
631 views

getCollection return null on custom model collection Magento 2.3.4

I'm creating a custom module to make a model by using mage2gen, I named this model critic: app/code/Vendor/Module/Model/Critic.php namespace Vendor\Module\Model; use Vendor\Module\Api\Data\...
user avatar
  • 177
4 votes
0 answers
169 views

Data migration Tool sales rule actions and condition serialized

I'm using Magento Data migration tool to migrate Magento 1.9.3 to Magento 2.3.4, everything went fine until I check the log error when I went to checkout page, I found out that in sales_rule table ...
user avatar
  • 177
4 votes
0 answers
401 views

Is it possible to disable Magento Message Queues

It seems that Magento 2.3 introduced the concept of message queues where certain jobs like bulk product updates, exports and some sales rule functionality is now processed asynchronously via these ...
user avatar
  • 53
4 votes
1 answer
325 views

How to retain customer login after switching website in Magento 2.3?

I have a website switcher button on my Magento 2.3 site (not a store switcher). When a customer logs in on the website - abc.magento.com, I programmatically switch the website to pqr.magento.com, it ...
user avatar
  • 1,474
4 votes
2 answers
523 views

Magento 2 : How to create simple example of React JS Module?

How to create simple example of React JS Module?
user avatar
4 votes
0 answers
402 views

Magento 2 GraphQl + Elasticsearch 6, GraphQl query products do not run pass by elasticsearch

I have a problem with query: { products( filter: { sku: { like: "24-WB%" } } ) { items { sku } } } Although using search engine is "...
user avatar
4 votes
0 answers
629 views

Salable quantity not updated after stock import in Magento 2.3

I have multiple websites and each website have single store and a single store view. Due to which I have multiple inventory tables created in database as inventory_stock_1 (view) inventory_stock_2 (...
user avatar
  • 1,474
4 votes
0 answers
144 views

Magento 2 : Receive half payment from customer

Can we receive payment in two parts like receive 50% amount once order placed and another 50% once order completed? Also, we need a partial invoice as well. Is anyone have any idea we can do it. ...
user avatar
4 votes
0 answers
169 views

CCAvenue payment navigation back to Magento 2.3 on react native issue

I'm building Magento v2.3 project in react-native. Also, it has multiple stores. For payment gateway I'm using CCavenue using webview. Navigation to CCavenue is done perfectly, but while returning ...
user avatar
  • 1,474
4 votes
0 answers
393 views

Magento 2.3 Result page blank if an item is found

I am trying to search for products on my Magento 2.3 site. When the result is empty (there are no products found) it just shows a page saying there are no products found. Perfect! But when there is a ...
user avatar
4 votes
0 answers
39 views

Where, why and how are we using Data Providers in Magento 2

Explain how to use Data Provider, situations and requirements. Tips and advices will be a plus.
user avatar
  • 570
4 votes
1 answer
642 views

Getting placeholder image instead of swatch image. Magento2.3

I have some issues with swatch images. Clicking swatches in catalog list pages loads placeholder images instead of real product images. I noticed that request to get swatch images returns only small ...
user avatar
  • 581
4 votes
0 answers
125 views

POST product with REST API doesn't save manufacturer attribute

I'm able to save a product with a POST request to my REST API endpoint. Now I would like to save manufacture attribute,too. I prepare this json structure { "product": { "sku": "code", ...
user avatar
4 votes
0 answers
864 views

magento2 creating custom search api using elastic search functionality but can not able to create instance

I am creating custom search API using elastic search functionality but can not able to create an instance of \Magento\Framework\Search\RequestInterface $requestInterface, it is giving an error like ...
user avatar
4 votes
0 answers
176 views

How to add svg icons to Swatch attribute (disable admin panel file validation)?

Currently, I can load png/jpg files in swatch attribute, but when I tried to load save attribute with loaded svg file, it's not working. When I load svg from servers - it displays well, but when I ...
user avatar
  • 413
4 votes
0 answers
601 views

Magento 2 Uncaught Error: Script error for: tinymce

Magento 2.3 version In admin pages,i am getting this error - Failed to load resource: the server responded with a status of 404 (Not Found) Uncaught Error: Script error for: tinymce http://...
user avatar
  • 1,143
4 votes
0 answers
218 views

How to solve Magento 2.3 Setup Version Errors

When running the command n98-magerun2 sys:setup:compare-versions I'm receiving the following errors: +-------------------------------------+---------+---------+---------+--------+ | Setup ...
user avatar
  • 650
4 votes
0 answers
340 views

Magento2 : How to add row/pattern type of customer attribute

How to add a row/pattern type of custom customer attribute (dynamic rows). We have the below attribute in Magento 1, we need to achieve the same in Magento 2. I don't find any code reference for this,...
user avatar
  • 9,509
4 votes
0 answers
91 views

Custom store view per customer group

I need a solution for showing a different store view to different customer group. For example: Store view 1 must be displayed to the Customer Group 1 and Store view 2 must be displayed to the ...
user avatar
  • 41
4 votes
1 answer
225 views

What does getItemHtml() function mean in Magento 2

What does this line basically mean in the code? <?php echo $this->getItemHtml($itemStartLv, true, $id); ?> I have searched for this but no clear explanations out there or maybe someone can ...
user avatar
4 votes
0 answers
1k views

How to get cartId of a guest-user in Magento 2.3?

I want to use external software (widget written in javascript attached to Magento) to add products to cart through API (POST request @ /rest/V1/guest-carts/{cartId}/items). For this, I need cartId ...
user avatar
4 votes
0 answers
771 views

Undefined index: sales_shipment in l/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php

Trying to run bin/magento setup:upgrade on a Magento 2.3 site and I keep getting this error: Updating modules: Schema creation/updates: Notice: Undefined index: sales_shipment in /home/mcrosshutadmin/...
user avatar
3 votes
0 answers
108 views

Products not appearing on category page after upgrade from 2.3.0 to 2.4.2

I have upgraded my Magento v2.3.0 to v2.4.2 running on Mysql 8. Everything went well except products not showing up on category page. Below is the class responsible to fetch products on category page. ...
user avatar
  • 1,474
3 votes
2 answers
2k views

Elastic Search: Custom sorting options not working after enable elastic search

I'm trying to add custom sorting options like newest products,price high-to-low & price low-to-high in category page using plugin. After creating plugin it's working good in category page and ...
user avatar
  • 771
3 votes
0 answers
255 views

Magento 2 404 page is redirecting to catalog search page

Magento 2 404 page is redirecting to the catalog search page. Example- www.abc.com/test123 it will redirect to the 404 page but it is redirecting to www.abc.com/catalogsearch/result/?q=test123 How to ...
user avatar
  • 1,143
3 votes
0 answers
142 views

consumers_wait_for_messages not adhered to

I'm trying to run my message queue consumer in a cronjob but the process never exits which means my cronjob never exits either. Looking at the docs https://devdocs.magento.com/guides/v2.3/config-guide/...
user avatar
  • 33
3 votes
1 answer
330 views

Magento 2 scheduled task "log_clean" stuck in running state: "Class log/cron does not exist"

I am running M2 v 2.3.5-p1 In my cron_schedule table I have an entry as follows: 11929 log_clean running Class log/cron does not exist 2020-08-29 00:48:04 2020-08-29 01:00:00 As you can see it has a ...
user avatar
  • 41
3 votes
1 answer
477 views

Magento 2.3 adding column to inventory_source

I've added a new column to inventory_source successfully and it's working, here is the tutorial I've followed. The issue is the data saved to the database is not showed in the form, the field appear ...
user avatar
3 votes
0 answers
40 views

upgrade magneto 2.3.4 to magneto 2.3.5 after upgrade customer not create in admin

I am try to create a customer in admin, and customer-created successfully, but stuck in customer create form and error happened
user avatar
  • 364
3 votes
0 answers
48 views

Magento configurable product dependent attribute

Currently I am working on a project where there is requirement of the associate product dependency. E.g : If have an computer and have associated product brand X,Y,Z and and RAM of brand X,Y,Z If I ...
user avatar
  • 728
3 votes
0 answers
111 views

Remove Parameter From Product url Magento 2

I am trying to remove parameter(#857=) from the product url: https://tpm2.redsignal.net/reina-modal-trv-steel-radiator-towel-rail-valve-anthracite.html#857= These parameter are of configuration ...
user avatar

1
2 3 4 5
52