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

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:...
1
vote
1answer
17 views

Magento 2: Admin user with restricted access can access everything via API?

I have created an admin user to manage my orders and granted the access for order view action only. (as below) But the user can generate token via API and access all order i.e view, delete, etc ...
0
votes
1answer
82 views

Magento 2.3.0 Get Country Name

I'm trying to insert the current store country name through a CMS Page/Block by following this article. I've created a Block file countryname.php in app/code/Vendor/Countryname/Block with the ...
1
vote
0answers
26 views

composer update --no-dev made website super slow

Im new to Magento 2.3, first I had an issue installing anything through composer because it was saying that my php 7.3 doesnt meet requirements which is 7.1 or 7.2. My php actually 7.1, so I don't ...
1
vote
0answers
30 views

Magento 2 - add custum attribute to urlrewrite programmatically

I am trying to regenerate the urlrewrites on magento 2.3. They are now created by the pruducts name /artist.html but i would like to to add some custom attributes. /astist-title-format.html to ...
0
votes
2answers
45 views

How to create AJAX action for POST requests in Magento 2.3?

How to create a controller action that can be requested by POST properly in own custom payment module in Magento 2.3? How to create a parent class that will be extended by classes corresponding to ...
0
votes
2answers
22 views

Magento Frontend Redirects to example.com/setup/index.php/session/unlogin

I have installed Magento 2.3 latest version with sample data and redirects to example.com/setup/index.php/session/unlogin when I open frontend.
0
votes
3answers
175 views

Magento 2.3 - homepage redirect to 404 page not found

Magento2.3 homepage redirects to 404 page not found. And this only occurs when not logged in site. After logged in, homepage working properly. And also after clear page-cache, homepage working ...
0
votes
3answers
72 views

Magento 2.3 Useful SSH CLI Commands List [duplicate]

list of magento 2 SSH CLI Commands what is magento ssh cli command for Upgrade? what is magento ssh cli command for Cache Clean? what is magento ssh cli command for Cache Flush? what is magento ...
2
votes
1answer
46 views

Magento 2 - Customer Custom File Attribute unable to save

I have Created my own Customer Attribute, it was a File attribute. While try to upload a file in that, it shows error like, "<File Field Name>" is not a valid file. While checking in Media ...
2
votes
1answer
47 views

How to drop a table in Declarative schema?

How to drop a table in Magento 2.3.0 using declarative schema ?
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 ...
0
votes
1answer
73 views

How to fix error in magento 2.3.0

When I go to my admin page, the Sign In panel which is supposed to display ,isn't displaying. Instead I'm only getting this plain background color. The default store front (localhost/magento/) shows ...
0
votes
1answer
22 views

show template in module magento 2

I am new at developing Magento 2 (Magento 2.3), I develop module to show my custom template But I get this error when I die('sumthing') in execute function it works correctly 1 exception(s): ...
0
votes
0answers
10 views

Checkout area blank

Just upgraded to Magento 2.3 and the checkout isn't working. The header and footer are showing but the rest of the page is blank. Console has the following error: TypeError: position is null arrays....
0
votes
1answer
117 views

Magento 2.3 Single Page in Admin will not load

I am trying to access Content -> Configuration -> Edit (my theme name) but as soon as i hit edit the page will load but get stuck on an Ajax loader gif. See screenshot. I have cleared out the cache, ...
0
votes
1answer
208 views

Magento 2.2.6: Error after upgrading to Magento 2.3.0

Just updated from M2.2.6 to M2.3.0, everything seemed to go without a hitch, but after loading the front-end of the website I'm seeing the following error: Exception #0 (BadMethodCallException): ...
0
votes
1answer
24 views

Magento 2.3 URL_KEY bug , but if i saved product its ok

I'm having a strange problem with magento related to my url key on products I explain to you : I import my products via CSV (Pimgento), everything is good. (Photo, Description, Name etc ...) But ...
0
votes
1answer
69 views

Magento 2.3: Add Attachment with email (Magento 2.3 use zendframework 2)

I am working on a module in which I need to attach an attachment with sales email. However, Magento 2.3 use zendframework2 so email attachment is not the same as zendframework1 (in Magento 2.2). Can ...
0
votes
3answers
65 views

Get Store Information Magento 2.3.0

Using Magento 2.3.0 with php7.1 I'm trying to use this module to get store information. I have modified the folder names as such app/code/Vendor/SiteInfo/Block/SiteInfo.php And used the following ...
2
votes
1answer
179 views

How to deploy pwa-studio on server in production mode?

I have successfully installed PWA-studio with Magento 2.3. But I am not able to run it on production mode on a Ubuntu 18.04 LTS server so that we can access the PWA remotely but I am always able to ...
0
votes
0answers
21 views

Magento 2.3 add Product script

I'm trying to update some code that i have with deprecated methods and i want to use the new inventory API but i can't save the source item. After load or create a new product with the product ...
0
votes
0answers
30 views

Magento homepage redirects to 404 page not found

After reindexing, when entering the homepage url, I'm redirected to 404 page not found. I have checked configuration/general/web and everything seems to be working there.
0
votes
0answers
68 views

Magento 2: Update visual swatch option image when options are changed

I have products that are configurable by 2 attributes, format and pattern. Format is a text swatch and pattern is a visual swatch that uses the product image. All my simple products have a swatch ...
0
votes
0answers
18 views

Customize Filter in layered Navigation

Hello, How can we achieve below? if a customer selects options from layered navigation (Magento vers. 2.3) and then goes to a product page, and then back to the category/search view, all of their ...
1
vote
0answers
225 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-...
0
votes
1answer
60 views

Magento 2 plugin change price of products that have a custom attribute with

I'm trying to change the prices of products with a plugin. And it works, basically. The problem is this: i only need to change the price of products that have a specific attribute, not the price of ...
1
vote
2answers
193 views

What is use of reactJS in magento 2.3

Friends recently I heard that Magento 2.3 will include react JS with it but I don't know what is the use of it and on what positions it will be used please share some Good resource SO I can understand ...
0
votes
0answers
20 views

Add a specific fee to the payment in Magento 2.3

When I'm working with magento2.1 I use Boolfly Payment Fee extention for adding specific fee to the payment. Link : https://github.com/mrkhoa99/Boolfly_payment_fee but now I'm working with magento2....
0
votes
0answers
347 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 the error after. ...
2
votes
2answers
196 views

Magento 2.3 : How to set qty for multiple sources (Multi source inventory) programmatically

I have a site with 3 inventory sources. I want to add and update product inventory to each source by product sku. Please help me
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/ ...
0
votes
1answer
45 views

Magento 2.3.0 - User roles and Permissions - module/extension installation issue

I'm running magento 2.3.0 on php 7.1 I have two users each with a different user role/permissions created Users | User Role | Role Resources (resource access) ----------|--------------|-------...
0
votes
0answers
29 views

How to get only selected values of an attribute in listing page in Magento 2?

I am using Magento 2.3 I have created a custom attribute "Test model"(id: test_model).Attribute is Multiple select.Please see below code: <?php $_productCollection = $block->...
2
votes
1answer
66 views

Magento 2.3 Configurable Product drop down price calculated wrong

The base comparison price for a configurable product seems to be the cheapest price excluding tax. Then the extra price added by the each configurable product in a Magento 2.3 dropdown is calculated ...
0
votes
0answers
39 views

Magento 2.3 admin not working after grunt setup

I have a big problem.I setup grunt configuration for magento 2.3 as I used to setup for magento 2.2 and renamed below files grunt-config.json.sample, package.json.sample and gruntfile.js.sample by ...
0
votes
1answer
34 views

How to use PWA Studio in magento 2.1.X or 2.2 versions?

I'm supposed to develop Magento as PWA but unfortunately, I couldn't use 2.3 versions in my server. I'm impressed by this pwa studio theme https://magento-venia.now.sh\ I couldn't get any guidance.
0
votes
1answer
20 views

how is payment integration in Magento 2.3 different from Magento 1.9

I need to convert my module from 1.9 to 2.3. Can anyone explain what are the differences between the two?
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, ...
1
vote
2answers
637 views

Magento 2.3.0 - Transactional Email > Logo Image upload not working

Running magento 2.3.0 on php 7.1 I'm trying to upload an image for Content > Design: Configuration > Transactional emails > Logo Image And get the following error. A technical problem ...
0
votes
1answer
20 views

I wish to add an extra price column in the product ordered report

I want to add price column after sku in this report is there any solution please ?
0
votes
1answer
24 views

Get meta title on category page

Unable to Get meta title on category page. $this->getLayout()->getBlock('head')->getTitle(); Error: Fatal error: Uncaught Error: Call to a member function getTitle() on boolean Magento ...
0
votes
0answers
88 views

Invalid Form Key. Please refresh the page. while submiting form

i'm using magento 2.3 and got this error while i try to submit a custom form in a product detail page, have tried to increas max_input_vars option in php.ini but it didn't solve anything, any other ...
0
votes
1answer
63 views

You cannot define a correlation name 'tdv' more than once [] [] , magento 2

I have create custom admin FORM and use 2 product attributes as field select option but in getting error. "You cannot define a correlation name 'tdv' more than once" If i have use single attribute ...
0
votes
1answer
37 views

Magento 2.3 Installation

I downloaded magento2.3 from Magento.com website and extracted to "/var/www/html/mg" but on 127.0.0.1/mg i just see blank page.(white page with no error on console) My PHP version is 7.2.x and Apache ...
0
votes
0answers
26 views

Magento2.3 product pages size images

I set custom parameters for image sizes. It worked in magento2.2.6 but not working in magento2.3.0 . I don't understand why, because the parameters are recorded, but the way of the picture is lost. ...
1
vote
1answer
257 views

Magento 2.3 PHP Parse error unexpected '?' in write.php

I want to Install cron with putty SSH. I use php bin/magento cron:install [--force] and get this error: PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /www/...
0
votes
1answer
26 views

Magento 2 Mobile menu icon

I am trying to add an icon on Magento 2 mobile menu tab. How to add different icon in Magento 2 luma theme mobile menu (Menu & Account)
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 ?
0
votes
0answers
20 views

Magento 2.3 make price block dynamic

I am creating a plugin that changes prices on customer login and also on customer selections. How can I make price block dynamic. Currently the prices change while block and page cache disabled. If I ...