All Questions
5,174 questions
6
votes
8
answers
25k
views
Product saleable qty not showing and update in magento 2.3
where i can update the saleable quantity in magento 2.3 ..the above tab is showing blank.
And how to update saleable quantity programmatic
6
votes
2
answers
962
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
2
answers
4k
views
Export to csv showing undefined index UiComponentFactory.php
I have used the below code in view :
<exportButton name="export_button">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
...
6
votes
1
answer
5k
views
Magento2: Store Configuration Table with multiple fields
How can I get in the Store -> Configuration a multi-field tables whose values are serialized?
6
votes
2
answers
7k
views
How to use customer token to access my account Query or Mutation in GraphQl
I am using magetno 2.3.x and I want to access my account queries provided by Magento_CustomerGraphQl module.
I have installed ChromeiQl to execute GraphQl.
I set Site Endpoint as per syntax provided ...
6
votes
3
answers
4k
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 ...
6
votes
3
answers
9k
views
Checkout getting No such entity with orderId =
I'm using 2.3
But I don't know why when I place an Order I am getting No such entity with orderId=
How can I fix it?
look like this issue
update:
I check in chrome when i place an Order will ...
6
votes
2
answers
12k
views
Magento 2: Change Text On Checkout Page
I'm using Magento 2 CE Version 2.1.2
I would like to change Shipping Address to Shipping/Billing Address.
I have already below, but it's not working for me.
Magento 2: Sorry, no quotes are ...
6
votes
1
answer
597
views
How to get summary count in phtml file?
I want summary count in .phtml file with cache enable.
6
votes
4
answers
5k
views
Update customer gender translations
I would like to translate the gender options for a customer. At first I thought that I could simply use a translation file for this, but looking into the template app/design/frontend/base/default/...
6
votes
1
answer
5k
views
Magento 2.3 Update Source Stock
Im currently creating a module that should update product quantity per source, based on SKU. Im using Magento\InventoryApi\Api\SourceItemsSaveInterface and Magento\InventoryApi\Api\Data\...
6
votes
2
answers
7k
views
Translation function with multiple variables doesn't work
I have a problem using translate function.
This works:
$this->__("You can contact %s by calling %s.", $name, $phone);
But this doesn't:
$this->__("You can contact %1$s by calling %2$s.", $...
6
votes
1
answer
1k
views
Grid Mass Action with childs no longer work with 2.3.3
i updated from Magento 2.3.2 to 2.3.3, and one module has a problem with grid massactions.
The old way was:
<action name="change_status">
<argument name="data" xsi:...
6
votes
3
answers
4k
views
Truncate Table `inventory_reservation`
How much risk is to truncate table inventory_reservation ?
After truncate does MSI will work fine or Do i need to bang my head on keyboard !!?
6
votes
6
answers
2k
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.
6
votes
1
answer
1k
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-...
6
votes
2
answers
6k
views
Magento 2.3 : Remove Constraint from db_schema.xml file
I just try to override db_schema.xml file of a core customer module into my custom module , but there is no success.
I need to remove a constraint defined in customer db_schema.xml file, how may I do ...
6
votes
4
answers
4k
views
How to make purchase order number optional in checkout page magento 2.3
Is there any way to make purchase order optional in checkout page??
6
votes
1
answer
932
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
2
answers
774
views
Merge different language csv to determine which phrases missing a translation
Currently we have our shop only in English language and want to add an Italian one. So we have collected all phrases with bin/magento i18n:collect-phrases --magento --output="en_EN.csv".
We installed ...
6
votes
2
answers
1k
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
3
answers
2k
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:...
6
votes
2
answers
723
views
Magento 2 : How to create simple example of React JS Module?
How to create simple example of React JS Module?
6
votes
2
answers
2k
views
Why I still need to run setup:di:compile in developer mode?
Quick Intro
I'm working on a payment module and using Magento 2.3.2 (irrelevant).
As stated in many places, we don't need to run setup:di:compile when in developer mode (which is my scenario).
As ...
6
votes
2
answers
1k
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
4
answers
2k
views
Magento 2 - translating problem with JS strings
I'm trying to translate my website content. Everything worked fine
expect the validation messages which come from mage/validation.js, and the minicart content translation is not showing on the ...
6
votes
1
answer
493
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
1
answer
3k
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
1
answer
378
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 ...
6
votes
1
answer
470
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
0
answers
1k
views
Declarative schema uses padding in 2.3, gone in 2.4, do we have to use it?
In a module we're developing we declare a new database table with a foreign key relationship to the sales_order table. We want to support Magento 2.3 and 2.4, so we use the declarative schema (...
6
votes
0
answers
1k
views
Cron jobs are affected due to system upgrade error in magento 2. Did any one face this kind of issue?
Recently we upgraded to 2.3.3 to 2.3.5-p1. Most of of cron jobs are get affected with error message as "The job is terminated due to system upgrade"
Even though I commented out update/cron....
6
votes
1
answer
2k
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/...
6
votes
1
answer
1k
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.
...
6
votes
1
answer
4k
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
5
answers
12k
views
Showing Salable QTY in frontend Magento 2.3
We are currently showing our available qty in stock on the frontend of each product using the following code:
<?php
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$...
5
votes
3
answers
552
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
2
answers
3k
views
Errors on Declarative Schema on custom module on 2.3
My module was implemented and working on Magento 2.2.
We are moving to Magento 2.3, but failed in Declarative Schema.
I follow this. Created db_schema.xml. Following is the example
<schema ...
5
votes
7
answers
21k
views
Magento 2.3: main.ERROR: Unable to resolve the source file issue
I am getting below error when I ran php bin/magento setup:static-content:deploy -f cmd.
frontend/Alothemes/digitalstore3/en_US 2494/2645 ==========================>- 94% 5 secs
...
5
votes
5
answers
4k
views
How to create Dependent Product Attributes
I have created 3 Product Attributes, I want to make Start Date and End Date attribute to depend on Enable Attribute.
When i make Enable to Yes both the Date Attribute should be displayed how can i do ...
5
votes
4
answers
6k
views
How to change product name dynamically in configurable product when click swatches Magento 2.3
How to Change the Configurable products name dynamically when i click configurable swatches, currently price change when click swatches .I need to change name too. please suggest better way! Thank You,...
5
votes
4
answers
10k
views
Magento 2.3 Change Order Status Programmatically
How to Order status change Processing to complete in magento 2.3
5
votes
2
answers
8k
views
How do you add translation for extensions in Magento2?
I installed IWC's One Page Checkout (OPC) extension and even though it works properly, we just can't translate it into Spanish.
We have a language pack es_MX.csv (Spanish/Mexico) with translations ...
5
votes
1
answer
3k
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
2
answers
6k
views
Magento 2 how create CMS page programmatically [duplicate]
I need any query or code to create CMS page programmatically, Please help me or suggest me if any module available for the same.
Thanks :)
5
votes
3
answers
5k
views
Magento 2.3: temando.CRITICAL: "accountID" is required. Enter and try again
I update Magento 2.2.6 to 2.3.1 and I have this error in which I didn't find any information :
temando.CRITICAL: "accountId" is required. Enter and try again.
{"exeption": "[object]
(Magento\...
5
votes
1
answer
3k
views
row_id vs entity_id in magento 2.3 EE
In Magento 2.3 EE, entity_id is missing in EAV tables, instead row_id is available
Please explain the difference between row_id and entity_id and the
removal of entity_id in EAV tables
5
votes
1
answer
3k
views
catalog_product index does not exist yet. Make sure everything is reindexed
In our production site using Magento 2.3.4 and Smile-SA elasticsuite extension with elasticsuite 6.x. After manual reindex site working well. But some time shows an error.
main.CRITICAL: ...
5
votes
2
answers
2k
views
Magento 2 - Slick slider function not working
Slick slider function is not working after ajax response, This is the order of my code. Firstly I got a product collection response, Then I wrote a slick slider function. but slider function is not ...
5
votes
5
answers
9k
views
magento 2 Uncaught TypeError: Argument 2 passed to Magento\Catalog\Block\Product\ImageFactory::getLabel() must be of the type string
In custom theme And category page show this error-
Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Catalog\Block\Product\ImageFactory::getLabel() must be of the type string, null given, ...