Questions tagged [magento2.3]

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

1,416 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
13
votes
2answers
326 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 ...
7
votes
1answer
370 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
848 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
212 views

Magento2.3.1 : Shipping address custom attribute value getting wrong format

Ref url - Shipping address custom attribute value not getting in RateRequest object in Carrier Model in magento2.x Above link in working perfect in magento2.2.x but not in magento2.3.1. I checked ...
5
votes
0answers
61 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
1answer
131 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
579 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 .../...
5
votes
0answers
72 views

How to use simple javascript not jQuery in Magento 2 footer?

I want to use javascript file in Magento 2.3 footer before the body and simple javascript, not jQuery. How can I do that? I have added requirejs-config.js file in module/view/frontend code is var ...
5
votes
0answers
108 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 ...
4
votes
1answer
45 views

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

I am fresher in magento2, How to create simple example of React JS Module? Thanks in advance.
4
votes
0answers
139 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 ...
4
votes
0answers
50 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
28 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
210 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
38 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
1answer
218 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 "...
4
votes
0answers
184 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
160 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
35 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
188 views

Magento 2.3: category image gets overwritten

I came across an unexpected behaviour in Magento 2.3 Adminhtml area. Uploading an image with the same name of another already present in the upload category folder replaces the old the one with new ...
4
votes
2answers
259 views

how form_key is forcefully required in the Magento 2.3?

form_key was always the required in the Magento, but in Magento 2.3 they made the form_key forcefully required. So, I want to know, how Magento is validating the form_key in every post request.
4
votes
1answer
253 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?
4
votes
0answers
402 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
88 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
22 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 ...
3
votes
0answers
29 views

How to create a swipe megamenu for mobile view?

I have created a custom module for Megamenu. In desktop view it looks good and working fine. In mobile view, I want to implement a functionality but I'm not sure how to do that. The functionality ...
3
votes
0answers
43 views

Magento 2 Migration URL Rewrite error CE

I had migrated data of the Magento multi-store/multi-website from 1.9.3.9 to 2.3.3 but during migration, I'm getting below error for URL rewrite. [INFO][mode: data][stage: volume check][step: Url ...
3
votes
0answers
28 views

How to add cart to custom page?

I have a custom page where users can fill out their e-mail to receive a quotation. I would like to add a column with a list of items currently in the shopping cart. How to achieve this? When I Google ...
3
votes
0answers
82 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 (...
3
votes
0answers
24 views

Magento 2: Change Error message First Name field in Shipping Address

I want to change error messages in Shipping address form to more descriptive on onepage checkout page. For example, I want to change This field is required to First Name is required. I am not able to ...
3
votes
0answers
48 views

Magento 2.3 admin is redirecting to this URl domain/admin/admin/denid/key/**** after admin login

I anonymously added some ACL permissions in Magento 2 and saved. I know that I have configured wrongly in the process of knowing, how it works since then I am unable to access my Magento 2 admin, I am ...
3
votes
0answers
35 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. ...
3
votes
0answers
151 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 ...
3
votes
0answers
43 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/...
3
votes
1answer
115 views

Fresh installed magento 2.3 with sample data showing blank front page

Running mode: developer I was getting blank frontend page. I checked system.log and debug.log in magento and found out there was some errors related to some broken reference. main.INFO: Broken ...
3
votes
0answers
92 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 ...
3
votes
0answers
204 views

How to add a additional field in Summary Section magento 2.3

My Actual Screen look like I Expexted Result look like How to Display Total Savings like above mentioned screenshot. I need to print Sum of total added product savings amount in summary section
3
votes
0answers
423 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 ...
3
votes
1answer
163 views

How to remove the error message in magento2 checkout page

I need to remove the error message in magento2 billing address in the checkout page. How to remove that. Thanks in advance
3
votes
0answers
20 views

how does frontend js methods call a backend api in magento 2.3

I'm new to PHP and Magento. I am building a payment module. I have saved some encrypted credentials in the core_data table. i am currently able to retrieve these decrypted credentials with my method ...
3
votes
0answers
14 views

I want to display only TAX value beside the price in product detail page magento2

I want to display only TAX which i apply for all product..i want to display tax without including price in product detail page magento2
3
votes
0answers
44 views

How can I remove “As low as” in Magento 2.3.1, if all the prices of the variants are the same?

How can I remove "As low as" if all the prices of the variants of the configurable product are the same? It doesn´t make sense to me to show "As low as" when all the colors and sizes are equally ...
3
votes
0answers
34 views

Fatal Error in Magento Command Line

Trying to do a module check from the command line gets me a Fatal Error. I'm using XAMPP to run Magento 2.3
3
votes
0answers
43 views

magento 2 - ui componet grid (Backend)

Can this be achieved in magento 2 Ui Component.
3
votes
1answer
49 views

Magento2 module activation license

I want to add license to magento2 modules. I am magento2 developer. i want to set license to my modules for free or sell. but don't know how can i add domain license to my modules. Want to set domain ...
3
votes
0answers
261 views

main.ERROR: Unable to resolve the source file for

if we do any modifications or if we add any image in tm_slider block and click on save button it is taking much time and getting 504 gateway time error and website is also not working 10 t0 15 mins at ...
3
votes
0answers
97 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 ...
3
votes
1answer
53 views

Custom Theme XML Files Changes 2.2 to 2.3

Does anybody know if there have been changes to the way XML files from custom themes are included in Version 2.3? I have a very simple XML file to modify the Magento Advanced Search page. The custom ...
3
votes
0answers
245 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://...
3
votes
0answers
172 views

2.3.1 not able to show products with “out of stock” with new MSI

I recently updated Magento from 2.2.3 to 2.3.1 I´ve got a product which has 0 stock and is set to "out of stock" but the customer is able to buy it. (Setting is set to "show out of stock products") ...