Questions tagged [magento2.3]

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

2,759 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
1answer
457 views

What is/means/does Magento\Framework\EntityManager\MetadataPool and Magento\Framework\EntityManager\Operation\ExtensionPool

There are new things we can see at Magento 2.3 in di.xml for service contracts. let's give an example:Magento_Cms module Like Magento\Framework\EntityManager\MetadataPool Magento\Framework\...
7
votes
0answers
1k 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 ...
7
votes
1answer
1k views

Magento2 : How to get product dimension units (cm/in)?

I need to get the dimension units for width, height and length. There are solution available only to get the value of these attributes like, $product->getTsDimensionsLength(); $product->...
6
votes
1answer
376 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/...
6
votes
0answers
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 .../...
6
votes
1answer
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/...
5
votes
0answers
300 views

Increase the success/exception message time span in Magento 2

When product add to cart the success/exception message is hiding rapidly, So I just tried below way to show/increase the time span of the message. But it's not worked for me. I have modified the ...
5
votes
0answers
489 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 ...
5
votes
0answers
378 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 ...
5
votes
0answers
2k 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 ...
5
votes
0answers
200 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="...
5
votes
2answers
629 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 "...
5
votes
1answer
743 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. ...
5
votes
0answers
833 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; ...
5
votes
0answers
328 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?
5
votes
0answers
136 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 ...
5
votes
0answers
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 ...
4
votes
1answer
416 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\...
4
votes
0answers
121 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 ...
4
votes
0answers
355 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 ...
4
votes
1answer
655 views

Magento 2: Cannot override translation csv for admin area

I am override and added local en_US.csv file with below path app/code/Magento/Customer/i18n with en_US.csv Changed text "Force Sign-In" to "Force Login" and clear cache. The translation is not ...
4
votes
1answer
176 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 ...
4
votes
1answer
404 views

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

How to create simple example of React JS Module?
4
votes
0answers
114 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. ...
4
votes
1answer
2k views

“Error while checking if topic is synchronous” on setup:upgrade

While upgrading a 2.2.8 database to 2.3.2 I got this error today: Schema post-updates: Module 'Magento_Store': ...
4
votes
0answers
144 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 ...
4
votes
0answers
342 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 ...
4
votes
0answers
31 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.
4
votes
1answer
572 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 ...
4
votes
0answers
84 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", ...
4
votes
0answers
111 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 ...
4
votes
0answers
209 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 ...
4
votes
0answers
252 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,...
4
votes
0answers
77 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 ...
4
votes
1answer
170 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 ...
4
votes
0answers
676 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/...
4
votes
0answers
101 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 ...
3
votes
0answers
106 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 ...
3
votes
0answers
75 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/...
3
votes
0answers
257 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....
3
votes
1answer
204 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 ...
3
votes
0answers
166 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 ...
3
votes
0answers
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
3
votes
0answers
56 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 ...
3
votes
1answer
108 views

No ajax call made in production mode, no HITs in varnish

Please correct me if I'm wrong: According to the explanations on the web, magento should be loading pages using AJAXs and some of those calls should be cached by the varnish. I successfully ...
3
votes
1answer
64 views

Magento 2: How to Banned some words to be used by products and customer?

I have around 500 words which I want to banned them to be use on product add and user registration. How can i do that ? I tried using the event and observer for catalog_product_save_after <?xml ...
3
votes
1answer
632 views

Magento2 swatch image change Ajax return 404

I recently upgraded my Magento version from 2.1.9 to 2.3.3, after upgrade everything is working fine else the changing of configurable swatches. On changing the configurable swatches product image is ...
3
votes
0answers
200 views

Simple products price missing for bundle product options

I've migrated store from Magento 1.9.3.9 CE to Magento 2.3.3 CE All entities migrated successfully but suddenly I checked few bundle products and found that it options which are simple products which ...
3
votes
0answers
116 views

How to get the Product Entity targeted in a Scheduled Update?

I am using 2.3.x Magento Enterprise. I am able to get the schedules updates. And for brevity I'm using the Object Manager in my example as a proof of concept: $om = ObjectManager::getInstance(); /**...
3
votes
0answers
117 views

Magento 2: Retrieving and updating Attribute Options and Store Lables

I am currently trying to update an attribute options store label and facing some issues. I can successfully update option store labels by calling $storeLables = []; $optionLabel = $this->...

1
2 3 4 5
56