The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [magento2.3]

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

Filter by
Sorted by
Tagged with
38
votes
8answers
4k views

What is Progressive Web Apps, or PWAs in Magento 2?

What does it mean that Magento is becoming a Progressive Web Application platform? What will be the code structure of PWAs in Magento? What is the deal with REST APIs and PWAs?
15
votes
5answers
5k views

Invalid template file - Upgrade issue from 2.2.6 to 2.2.7 or 2.3

I have upgraded 2.2.6 version to 2.2.7 version but its showing below error in my website. 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: 'C:/...
14
votes
1answer
469 views

Conditional RequireJs configuration (Load requirejs-config.js programmatically?)

I would like to replace a RequireJs component only on certain conditions (for example, based on configuration). Is there any way to programmatically prevent loading of my module's requirejs-config.js ...
13
votes
2answers
225 views

Magento 2: Layered Navigation Price Filter Not Working After Applied Custom Product Discount

I working on a product discount module. I did it via plugin and observer. it's working fine on product page and list page. But price filter is not working according to the updated product price. Here ...
12
votes
2answers
227 views

Magento2 : How to setup PWA in Localhost?

I want to setup PWA in localhost. I have tried in localhost but at last its giving dynamic staging server URL like below https://magento-venia.local.pwadev:51828/ How can we change it to our ...
11
votes
3answers
4k views

Magento 2.3 : How to implement declarative schema in custom module

I install the magento 2.3 and I'm creating custom module. But, I don't know how to create custom database table in magento 2.3 version.
11
votes
3answers
4k views

Magento 2.3 it's not working properly in localhost [duplicate]

I have installed new Magento 2.3 in my localhost. it is a successfully installed. But When I open an admin URL it comes with blank URL. Also, my homepage comes without Magento default logo. Also, I ...
10
votes
3answers
4k views

Magento2.1 ui grid, remove or clear filter issue (after removing filter, result row apply to whole collection)

I created ui grid in magento 2.1.0 and facing issue while removing filters or clear all filters from ui grid. My filtered result occupies whole grid means same row repeated in the whole grid after ...
10
votes
3answers
3k views

Magento 2.2.X > 2.3.0 upgrade issues

Today magento 2.3.0 was officially released. I tried to upgrade from 2.2.6 > 2.3.0 but failed. Tried to upgrade from 2.2.6 > 2.2.7 and it succeeded with no issues. tried again 2.2.7 > 2.3.0 and got ...
9
votes
5answers
9k views

Magento 2.3.0 “A technical problem with the server created an error.” When uploading the logo image

I'm using Magento 2.3.0, with php 7.2 version, on a ubuntu os. Everything looks working fine, but when I try to go into Magento backend, Content - Design/Configuration - Header, and I try to upload ...
9
votes
6answers
6k views

Salable Quantity is showing zero in product grid magento 2?

Actually in my case Salable Quantity is showing zero in product grid Magento 2.3? Due to this issue, products are not showing in frontend. If anyone has any idea please tell me. For this re-...
9
votes
3answers
3k views

PWA Setup in Magento 2.3.0

How we can use it in Magento 2.3.0? In Magento 2.3.0, they claim PWA is supported one? How can we start with this great feature to experience the new thing?
9
votes
1answer
1k views

Magento 2.3 Delete Inventory Source

I've installed a clean Magento 2.3. After trying the multi stock options, i noticed that, under Manage Source page, i can create a new source but not delete it. It looks like the action dropdown is ...
9
votes
4answers
3k views

Cannot upgrade from 2.2.6 to 2.3 via composer

I have a clean Magento 2.2.6 with sample data that I installed using composer. I am trying to update it to Magento 2.3 so following the steps outlined here by the Magento team. After running ...
9
votes
1answer
2k views

\Magento\Framework\Registry deprecated in magento 2.3, How to create instance with Registry?

/** * Registry model. Used to manage values in registry * * Registry usage as a shared service introduces temporal, hard to detect coupling into system. * It's usage should be avoid. Use service ...
9
votes
1answer
417 views

Data Migration > Eav step error

Data Migration > EAV Step SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-Migration_Default' for key 'EAV_ATTRIBUTE_SET_ENTITY_TYPE_ID_ATTRIBUTE_SET_NAME' i have find ...
8
votes
5answers
5k views

SodiumChachaIetf::decrypt() must be of the type string, boolean

I did migration Magento 1 to Magento 2.3.0 all is good but when I create customer form both of side (front and admin) I got the error related to decrypt even I can not edit the customer when I click ...
8
votes
1answer
263 views

The purpose of the http verbs interfaces

In Magento 2.3 there are some interfaces for all the http verbs Magento\Framework\App\Action\HttpPostActionInterface Magento\Framework\App\Action\HttpGetActionInterface, ... All of them are empty ...
8
votes
1answer
751 views

Could someone please explain Declarative Database Schema

So, I read that Magento 2.3 will be introducing Declarative Database Schema. Today, when you want to alter the schema of a Magento database, the pattern used to accomplish this is to use the ...
7
votes
6answers
4k views

Cannot process definition to array for type tinytext in Magento 2.3.0

I'm getting following error "Cannot process definition to array for type tinytext" on Magento 2.3.0 when executing setup:upgrade command. Thanks
7
votes
7answers
2k views

Magento 2.3 - homepage redirect to 404 page not found

Magento 2.3 homepage returns a 404 Page Not Found error. This only occurs when not logged in. After logging in, the homepage works properly. (It seems to work in mobile view even when returning a 404 ...
7
votes
2answers
1k views

How to stop scrolling to first validation error message on magento2 on add to cart?

How to stop scrolling to top or first validation failure message
7
votes
2answers
359 views

setup:upgrade SQL error after update from 2.2.8 to 2.3.1

What could be the reason for this error on bin/magento setup:upgrade after updating from 2.2.8 to 2.3.1? SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name '...
7
votes
2answers
845 views

Magento2 : How to Create custom theme in PWA Studio

Anyone have any idea about how to Create custom theme in PWA Studio Magento2 ?
7
votes
2answers
2k views

Magento 2.3 fresh installation issue : tinymce.js not load

Loading failed for the with source “/pub/static/adminhtml/Magento/backend/en_GB/tinymce.js”.
7
votes
0answers
298 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
4answers
6k views

Magento 2.3 upgrade breaks HTTP POST requests to custom module endpoint

I have a custom module with a defined route as: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd"> <...
6
votes
2answers
7k views

An exception was raised while creating “Request”; no instance returned

When running the following commands: php bin/magento cache:flush php bin/magento set:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f I get this error: An ...
6
votes
2answers
2k views

Add Phone Number column in sales order grid

I am trying to add phone number column in my order grid. I have added new column through sales_order_grid.xml in my ui_component directory. Code is below: <?xml version="1.0" encoding="UTF-8"?>...
6
votes
2answers
243 views

Magento 2 : Remove Delete Image checkbox from image type system configuration

How can i remove 'Delete Image' options from image uploder in system configuration <field id="image_path" translate="label" type="image" sortOrder="1" showInDefault="1" showInWebsite="1" ...
6
votes
4answers
2k views

Email Functionality not Working in 2.3.0

In my custom module, I have added email functionality. It's working in 2.1 and 2.2. I have updated to 2.3.0 and now it crashes. Email send code is as below. $sender = [ 'name' => $...
6
votes
5answers
3k views

Magento 2.3 custom email attachment not working

Custom email attachment file is not working in magento 2.3. its working in Magento 2.2.X Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Mail\Message\Interceptor::...
6
votes
2answers
3k views

Magento2.3 setup:upgrade error

After being able to update magento to 2.3 (which was a pain by itself) I managed to get to the part where the database needs to be updated. Which is in current state when I try to run the command bin/...
6
votes
2answers
471 views

cannot Enable Template Path Hints for Storefront in Magento 2.3

Cannot Enable Template Path Hints for Storefront in Magento 2.3 Does anyone knows how to solve it?
6
votes
1answer
116 views

How to add class in ko template in magento2

I want to add class in ko template In js: define([ 'jquery', 'ko', 'uiComponent', 'underscore', 'mage/translate', 'mage/storage', '...
6
votes
2answers
226 views

Empty Collection :: CollectionFactory Approach and getCollection approach both give empty result

Magento 2.3.1 Php7.2 Ubuntu 18.04 I have created a table in my database using db_schema.xml and then populated that table with sql insert commands directly in mysql workbench. My model code is &...
6
votes
2answers
46 views

Submit custom form in Magento 2.3 admin

I'm creating a custom form in Magento 2.3 admin. Vendor/Module/view/adminhtml/layout/route_folder_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
6
votes
2answers
464 views

Magento Total saleble qty displays wrong count

I've magento setup with MSI with 2 sources and both are assigned to stocks as well. But In product grid Total Salable Qty displays wrong count. It suppose to be sum of total available sources. ...
6
votes
2answers
2k views

Assign Inventory source while programmatically creating product

I have a custom script that read CSV and creates products programmatically, it was working fine with Magento 2.2.6, now I upgraded it to Magento 2.3, and with upgradation, I configured Multi-Source ...
6
votes
1answer
145 views

Save and display ui_component's custom field

I've added custom text box to source form using below code. <field name="delivery_time" formElement="input" sortOrder="70"> <settings> <dataType>text</...
6
votes
1answer
674 views

Elasticsearch 5.0+ not working magento 2.3

I have installed elasticsearch in my local server successfully.I am not able to reindex the catalog search indexer.Please check attached screenshots. When i click on the test connection then it shows ...
6
votes
1answer
220 views

How to programatically transfer qty from one to other source

Does anyone has idea how to update product qty from one source to other programmatically ? Basically I've 2 sources in my magento setup. Let say currently Salable Qty = 50 and first source has 20 qty ...
6
votes
1answer
689 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
3answers
181 views

Get category id

How can I get ID from this code which is typed into CMS page content? {{block class="Vendor\Module\Block\CategoryList" category_id="49" template="Vendor_Module::subcategorylist.phtml"}} I need to ...
5
votes
1answer
6k views

After installing magento 2.3 admin login page cant open properly

After installing Magento 2.3, When I am trying to open the admin panel login screen is blank and my console contains an error as shown in the image. if anyone has a solution then please let me know.
5
votes
1answer
818 views

Magento2: What is the difference between Magento 2.2 and 2.3? [closed]

What is the difference between Magento 2.2 and 2.3? Are Magento 2.3 DB schema and coding structure same as compare to Magento 2.2? Are Magento 2.2 extension supported with Magento 2.3? Can we ...
5
votes
3answers
1k views

Error with integration test

After a fresh install of the latest beta Magento release, I have an error when running integration tests that seems to be related to stock feature. Since the stock has been under heavy development in ...
5
votes
3answers
2k views

Magento-2:Class Magento\Framework\App\Http\Interceptor does not exist

Exception.log file Error: {"exception":"[object] (ReflectionException(code: -1): Class Magento\Framework\App\Http\Interceptor does not exist
5
votes
3answers
359 views

I have installed PWA venia in frontend magento 2.3 but images are not loading

I have installed PWA venia in frontend magento 2.3 but images are not loading.
5
votes
1answer
94 views

How to get imageUrl using Jquery in magento2?

I want to change Image src using jquery in magento2, So how can I get Imageurl in jQuery? <field name="default_template"> <argument name="data" xsi:type="array"> ...