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

1
vote
1answer
11 views

Unable to initialize external jQuery in Magento2

I would like to initialize intlTelInput for the country code column. I have done below, in requirejs.config.js added below var config = { deps: [ "Ucs_Reson8/js/countryCode" ], paths: { ...
1
vote
0answers
10 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 ...
0
votes
0answers
16 views

Magento 2.3: Uncaught SyntaxError: Unexpected end of JSON input

I have an error in my admin configuration when viewing Payment Methods section which only appears when I enable the Amazon_Core module which prevents me from being able to save settings for my payment ...
0
votes
1answer
18 views

Magento2.3: Order not Place and Redirect to checkout/cart page

I have upload my Magento2.3 site on site ground. Others things are working fine but order not place redirect to checkout cart page. system.log: [2019-04-19 12:15:47] main.INFO: Broken reference: ...
0
votes
0answers
13 views

get selected by default first color in most recent products in magento2

I have the most recent products on the home page and showing color swatches now I want to select the first color by default of all most recent products in magento2 code to display the color swatches ...
2
votes
1answer
16 views

How to fix its MIME type ('text/html') is not a supported stylesheet MIME type error in magento 2.3?

Magento Version: 2.3.0 As per my client requirement, I was upgraded Magento 2.3.0 from 2.2.6. All functionality works properly but always show the following error into inspecting element console. ...
0
votes
1answer
17 views

Mulitple websites with one instance or with multiple?

I'm not familiar with Magento 2, but would like to know how to deal with multiple shops. I read that Magento supports multiple websites, what sounds interesting. However, I'm wondering when that could ...
1
vote
0answers
16 views

Filter product collection with source

I'm running on Magento 2.3 with MSI(Multi Source Inventory) setup. I would like to filter product collection with specific source. Like, I've 4 sources for products, source-1,source-2,source-3 and ...
1
vote
0answers
27 views

Magento 2 how to build a reorder tool?

Customer will get the search form to search order by "order_id", "Date" Once the customer clicks on the search button then load all order which will match with the criteria. Load the "Re-order" ...
0
votes
1answer
32 views

How to change the checkoutProvider name in magento2

where we need to change the 'checkoutProvider' name for passing custom countries list in magento2 checkout page. I tried to change in checkout_index_index.xml file but not working. how to display in ...
1
vote
4answers
41 views

How to upgrade website in Magento 2.0 to Magento 2.3

Currently my client's website in Magento 2.0 (running on PHP-5.6). Now we want to upgrade it to Magento-2.3. Please help me in upgrading the website.
-1
votes
0answers
8 views

how to do search functionality in faq in magento2 [on hold]

I have faq module and a search textbox I want to search using ajax in faq module in Magento 2 any help will be appriciated
0
votes
0answers
13 views

Text swatch not showing all the options of a attribute

I am facing a strange issue in Magento 2.3 As I have a attribute called 'Compatible' of Text Swatch type, which have many options. When I open the category page those options are visible just below ...
4
votes
0answers
20 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. ...
1
vote
1answer
11 views

Unable to change/save any product attribute settings in admin panel

As per this bug report, I'm having an issue where I'm unable to save any changes to product attributes in the Magento 2 admin area. When I try to change settings of any attribute and hit save, a POST ...
2
votes
1answer
18 views

How to Unset the shipping method from quote in magento 2?

I need to unset the shipping method if it was selected by the customer based on some condition. I tried $('#shipping_method').prop('checked', false); unchecking the radio button of that particular ...
0
votes
1answer
23 views

Magento 2.3.0 + elasticsearch 6.4.2

I'm trying to set up docker for magento 2.3.0 and elasticsearch 6.4.2 After containers are up i can connect to elasticsearch through browser and set up connection in magento 2 admin panel with ...
1
vote
1answer
31 views

Magento 2.3 - Fetching child/associated products of configurable product only returns In Stock products

In order to fetch all associated products of configurable product. I used this code $childProducts = $configurableproduct->getTypeInstance()->getUsedProducts($configurableproduct); It return ...
1
vote
0answers
37 views

How to call my custom countries dropdown list in magento2

I need to call my custom countries dropdown list in magento2 checkout page. how to replace the default to my custom dropdown. thanks in advance..
-1
votes
1answer
33 views

addFieldToFilter in magento2 returning same data everytime

addfieldtofilter in magento2 behaving weirdly I have code foreach($userIDs as $singleUserID) { $userid=$singleUserID['user_id']; var_dump($userid);//...
1
vote
1answer
24 views

Magento 2.3 Image upload field on CMS Page

I followed the steps from the following post (Magento 2 : Add Hero Image Upload Field on CMS page) to create an image upload field on the CMS page. I managed to create the field on the CMS page, as ...
2
votes
2answers
95 views

How to overwrite .php file of lib directory?

Any one tell me how i can overwrite this file in magento 2.3 Path: Magento2\lib\internal\Magento\Framework\Webapi\Rest\Response\Renderer\Json.php
0
votes
1answer
27 views

checkout_onepage_controller_success_action event save entry in custom table on order success in magento2

i have created event and observer checkout_onepage_controller_success_action now I want to save data in the custom table of order success when order is placed event.xml <?xml version="1.0"?> &...
1
vote
0answers
19 views

Magento 2 amazon pay not working as expected only on product page

Magento 2.3.0 I already set the configuration for Amazon seller and all working well except product page. Minicart button and product page button not working on the product page. But on another page ...
1
vote
0answers
14 views

Need only product and category data in data migration

I am doing Magento data migration from 1.9.2.4 to 2.3.1. I need only and only product, category and attribute data. I am using new and different theme in 2.3.1, Ultimo. I don't want any cutomer, ...
2
votes
1answer
31 views

Save Button Redirecting to Same Admin Form in Magento 2

I am working on a custom module in magneto 2. i am creating an admin form using UI Component, when i click on save button Page redirects to its self Vendor\Module\Block\Adminhtml\ProductSliders\...
0
votes
0answers
18 views

Can Virtual Products Have Swatches?

So we have created a configurable product which was two variants for different colours. These two colours have been created a virtual products. In the frontend, if I go to the configurable product I ...
0
votes
1answer
26 views

Magento 2.3 products not visible

After migrating data and products from Magento 1.9 I can see all my categories and products available in the backend. But not on the frontend. I've checked all options; Products are "enabled" ...
2
votes
1answer
31 views

Duplicate entry '1-Migration_Default' for key

I have faced following error while running data migration for 2nd time from 1.9.2.4 to 2.3.1 SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-Migration_Default' for key '...
3
votes
2answers
46 views

Magento 2 - Customer/Token Rest API issue

Customer is signup through rest api in magento 2.3 successfully. after signup, I am unable to get customer's token through customer/token rest api. Api returns following error: Any help, experience ...
3
votes
1answer
40 views

Magento 2.3.0 How to add review form in custom module?

I would like to add a review form in my custom module front end page. On this page, I have displayed several selected products. I want to display a review form in front of each product each review ...
2
votes
0answers
14 views

Magento 2.3 - Paypal Credit Wont Go away from MiniCart

I 100% have Paypal Credit disabled in all sections of Configuration -> Payment methods. The only section enabled is Paypal Express Checkout, and "advertise PayPal Credit" is definteluy not filled in....
1
vote
1answer
28 views

Specialprice & finalprice returns no decimals

Magento 2 returns regular price differently from special and final price. Expected result: $product->getPrice(); // 89,95 $product->getPriceInfo()->getPrice('regular_price')->getAmount()-&...
2
votes
0answers
13 views

Magento 2 - sell product grouped by quantity

My client want sell their product by quantity for exemple : Flowers sell by 10qty = 10$,20qty = 15$,30qty = 22$ without the customer can edited the quantity salled. And he want to manage the ...
1
vote
0answers
26 views

504 gateway timeout while import customer address CSV In Magento2

http://website.com/admin/admin/import/validate/key/40cc16dabfa0d1fb09a6cb9e62433b9880e4f3f0e024eb1c517d832fa47c225d/?form_key=s235x0mqERyjXLqX 504 (Gateway Timeout) `validation.js:185 while ...
2
votes
0answers
21 views

when register in magento2 getting no entity

when I'm registering magento2 getting an error like Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with email = prasad@value22.com, websiteId = 1 Exception #0 (...
2
votes
0answers
14 views

Show COD Payment Method as Disable in Checkout if product with Some attribute in the cart

I have to display COD payment method but as disabled in payment step if a product with Some attribute in the cart. Please help me.
1
vote
1answer
27 views

Magento 2: I need to run observer in crontab.xml. But it is not working

I am running observer in crontab.xml. This is not working. Here is my code <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
1answer
24 views

I have show this type Order ID - Order Data - Order Status and I click on order id then redireck go to order details page in magento 2?

I have show this type Order ID - Order Data - Order Status and I click on order id then redirect go to order details page ? how to do this ? exmaple order id is 2 then I click on 2 then go to order ...
0
votes
1answer
18 views

Declarative schema approach to make customer's lastname optional

With pre-2.3 Magento versions we were able to write UpgradeData code and make customer's lastname optional as mentioned here: Magento 2 : How to make “lastname ” optional in customer registration form?...
0
votes
1answer
36 views

Data migration from 1.9.2.4 to 2.3.1 - Failure

Please Help me on this, I have migrate data from magento 1.9.2.4 to 2.3.1 There is a error like this :- Notice: Undefined offset: 19 in C:\xampp\htdocs\magento\vendor\magento\data- migration-...
3
votes
0answers
31 views

Multistore Images are not coming after Upgrade 2.2.6 to 2.3

I have multiple stores setup with more then 100K products and 500+ categories. So my issue is when I upgrade Magento 2.2.6 to 2.3 the product images are coming properly from main store but some ...
6
votes
2answers
96 views

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

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 <?php namespace Lmap\...
2
votes
2answers
36 views

addStoreFilter() is not working in Magento2.3

I need to filter the products by store. However, after many try for almost a day, I can't filter products by store. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); ...
1
vote
0answers
21 views

Magento2 license per domain

I want to set license to my own extensions, mean that want to sell my extensions per domain license like https://landofcoder.com/ modules. what should i do?
1
vote
2answers
32 views

Get Product Id On Product Page

How can i get product id on product page without registry? Such as class registry is deprecated in magento 2.3
1
vote
0answers
19 views

Unable to know magento version installed

I have installed Magento 2.3 using composer, now in admin, I cannot see Magento version it show as below : Magento ver. No version set (parsed as 1.0.0) EVeI i tried running below command from ...
1
vote
0answers
15 views

what is the best way to copy live data to staging with most recent important data

I upgraded to 2.3.1 from 2.1.x copied the old site to new server and everything has been upgraded working!! I plan to change the DNS when ready. now i need to grab the most recent order and costumers ...
2
votes
1answer
41 views

How to get custom local storage value in magento2?

How to get custom local storage value in magento2? I need to get the custom local storage value in php file . How to do that Thanks.
2
votes
1answer
19 views

Disable email notification for specific customers

Please can any one help me on this, I would like to disable email notofication for customers, which have a flag non_email_customers set to true. I Have Try this way. i have created a plugin for: ...