Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [magento2.3]

Denotes questions related to Magento CE and EE 2.3.x

13
votes
1answer
353 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 ...
9
votes
3answers
1k 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
4answers
1k 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 ...
8
votes
3answers
2k 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 ...
7
votes
1answer
419 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
2answers
272 views

Assign Inventory source while programmatically creating product

I have a custom script that read csv and create 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
2answers
750 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 in magento 2.3 version. Anyone please help me. Thanks in advance.
6
votes
3answers
337 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
4answers
1k 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:/...
6
votes
2answers
118 views
+50

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
1answer
55 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
331 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 ...
5
votes
1answer
2k 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
3answers
598 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::...
5
votes
3answers
821 views

Magento 2.3 problems on local server

I'm trying to install a Magento 2.3 instance to my localhost(WAMP server) but after installation process(I use a command line to install) not Admin part or storefront part works correctly. It shows a ...
5
votes
1answer
90 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 ...
5
votes
1answer
85 views

How to bypass CSRF validation for certain requests like payment gateway webhook?

I am trying to integrate CC avenue payment method with Magento 2.3 however once payment is processed, user is navigated back to website with error "Invalid Form Key. Please refresh the page." Upon ...
4
votes
4answers
3k 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 ...
4
votes
3answers
604 views

PWA Setup in Magento 2.3.0

Everyone is talking about PWA and I think everyone knows that what is PWA? But what my question how we can use it in Magento 2.3.0? In Mage230, they claim PWA is supported one how can we start with ...
4
votes
3answers
254 views

How to solve Magento 2.3 Sample Data Installation RuntimeException Error in Windows 7?

I try to install magento 2.3 in windows 7, i am getting error like, <span class="text-info">Starting Magento installation:</span><br><span class="text-info">File permissions ...
4
votes
1answer
139 views

Get tax class ID by tax rate with REST API

I'm trying to get a tax class ID with only the tax rate value, all with the API. I found that I need a first request that returns me the tax rate ID : /rest/all/V1/taxRates/search?searchCriteria[...
4
votes
1answer
195 views

Magento 2.3.0 - Multi Website Store URL Return 404 error

Workout : 1) Created new folder in Root folder named usa, 2) Copy index.php and .htaccess from root folder and moved to usa folder 3) Created symbolic links to usa folder, usa symbolic links are, ...
4
votes
1answer
90 views

can not Enable Template Path Hints for Storefront in Magento2.3

Can not Enable Template Path Hints for Storefront in Magento2.3 Does anyone know how to solve it?
4
votes
2answers
55 views

Magento 2 : How to override files from Magento core framework?

Actually I'm refering to #19247 for PHP 7.2 specific issue. that partially solved my issue but can't able to override that file. I tried using preference here's what I tried. <preference for="...
3
votes
1answer
68 views

Magento 2 - How to add admin username in order comments on admin action

I need to add admin username in order comment history whenever I create invoice shipment and On Cancel order.
3
votes
2answers
960 views

How to configure Multi Source Inventory (MSI) in Magento 2.3

I've heard that Magento Core guys have just developed Multi-Source Inventory functionality (https://github.com/magento-engcom/msi). So I guess it means that I can place my products in different ...
3
votes
2answers
39 views

Search criteria builder does not filter an “out_of_stock” products

I am using Magento 2.3, Am filtering the product collection using the search criteria builder with a custom attribute as the filter. $filter1 = $this->_filterBuilder->setField('...
3
votes
2answers
147 views

Magento 2.3 pwa studio issue

I followed the official documentation from this url https://magento-research.github.io/pwa-studio/venia-pwa-concept/setup/ But when I run npm run build I get the following error lerna ERR! npm run ...
3
votes
2answers
117 views

How to Edit Header Content of a Custom Theme on Magento 2.3

Please could someone help me out! I want to edit the header content to either remove or hide the following sections: -Compare -The Store Switcher (ELLYANA STORE) -The Language Selector (ELLYANA_EN ...
3
votes
1answer
462 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/...
3
votes
3answers
86 views

Magento 2 - Can I use magento v2.3 on a production environment?

I want to develop a new website on magento 2. Should I use the latest officially released version of magento 2 which is v2.2.6 (nowadays) or is it better to use v2.3?
3
votes
1answer
126 views

How to change URL of PWA in Magento 2.3?

I have installed the PWA studio successfully with the Venia storefront. But my development environment URL is generating something like below. https://magento-venia-concept-3328z.local.pwadev:8048/ ...
3
votes
2answers
397 views

How to run PWA in Magento 2.3?

After Installing and setup the Magento 2.3 how to run PWA in local ?
3
votes
1answer
653 views

PWA Studio 2.0 and magento 2.3

I installed PWA studio and Magento 2.3 on my local environment. The installation finished without any errors. I opened the browser to access the PWA page but all the product images are getting 404 ...
3
votes
1answer
20 views

API call and observer on customer creation

I want to create an observer when a new customer is registered through the REST API (POST /rest/V1/customers). I have created an observer customer_register_success but it's only been triggered when a ...
3
votes
2answers
52 views

Why the table column is not deleted after changing the db_schema.xml?

I described the table with declarative schema (Magento 2.3): <?xml version="1.0"?> <schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
3
votes
1answer
114 views

Magento2.3 and Magmi

I'm working on one module. module does read CSV file from var/import and making a call to Magmi to import. RunQuickImport.php namespace Test\Import\Controller\Adminhtml\Customimport; class ...
3
votes
2answers
53 views

Incorrect currency format in product and checkout pages

The store locale is bg_BG. After the product page is opened the price is rendered correctly formatted from the server. When the following JS is executed the format is wrong. <script> ...
3
votes
0answers
26 views

Create Block Hide/Show Editor removes empty span

I created a new block in Magento 2.3 and want to use <span> to place some icons in front of a text. I clicked on Hide/Show editor and pasted my code <div class="item"><span class="top-...
3
votes
3answers
33 views

Get recently viewed products excluding particular product ID in Magento 2

I need to get recently viewed products for a customer in a product view but excluding the current product the customer is viewing. I have, class Index extends Action { protected $recentlyViewed; ...
3
votes
0answers
64 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 ...
3
votes
1answer
241 views

Magento2 : How to Create custom theme in PWA Studio

Anyone have any idea about how to Create custom theme in PWA Studio Magento2 ?
3
votes
2answers
400 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”.
3
votes
0answers
75 views

Which core modules use RabbitMQ in Magento Open Source 2.3?

Starting with Magento 2.3.0, the Magento_Queue module for RabbitMQ becomes part of the Open Source edition. Source: https://community.magento.com/t5/Magento-DevBlog/Magento-2-Open-Source-has-a-new-...
2
votes
2answers
1k views

The checksum verification of the file failed (downloaded from https://repo.magento.com/archives/vertex/module-tax/vertex-module-tax-3.0.0.0.zip)

Has anyone faced up an issue during magento installation with composer? Installing vertex/module-tax (3.0.0): Downloading (100%) [UnexpectedValueException] The checksum verification of ...
2
votes
3answers
550 views

Magento 2.3 installation PHP requirement

I'm trying to update Magento 2.2 to version 2.3 using this command: composer require magento/product-community-edition=2.3.0 When doing so, I receive the following error: Loading composer ...
2
votes
1answer
419 views

Issues while upgrade to Magento 2.3

I am upgrading to Magento 2.2.5 to Magento 2.3.0, Some of the third party module is giving error while composer update. my current php version is 7.2.12 Can you please help me out? Please refer below ...
2
votes
2answers
37 views

Get products collection in cronjob

I have a cron file like Col.php. I want to get products collection in my cron file. code in my file: public function execute() { $objectManager = \Magento\Framework\App\ObjectManager::...
2
votes
1answer
23 views

Ajax add to cart is not working after products loaded by other ajax request

I have different ajax based product carousels in my home page The problem is ajax add to cart is not working on carousel products after products loaded through ajax
2
votes
1answer
51 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 ...