All Questions
Tagged with magento2 magento2.2
120
questions
0
votes
1
answer
61
views
get list of items from sku magento 2 programatically
I want to fetch items from skus. Can anyone suggest me how to do.
The code I am following -
The sku i am getting in the variable $productSkus.
private function fetchProducts(array $orderItems): array
{...
0
votes
0
answers
1k
views
Magento 2.2.5 | 'Area Code already set' when using CLI Commands
I installed Magento 2.2.5 (has to be this version) and installed it successfully.
I also used setup:upgrade and setup:di:compile and other commands.
Whenever I want to use config:data:import the CLI ...
0
votes
1
answer
345
views
How to add Dyamic meta title for category in magento 2
I want to set the meta title dynamically for the specific category. I am getting the meta title information based on the url id (?id = 1). How can i achieve this?
Any help can be appreciated.
0
votes
1
answer
1k
views
In Magento-2 how to edit order summary labels with values and addon more labels there in cart page?
I want to add some labels in order summary box on cart page in magento2. Right now I got only the subtotal and tax in the order summary from default magento2 behavior, see the screenshot: https://prnt....
2
votes
0
answers
1k
views
Page builder error after Upgrade from Magento 2.3.3 to Magento 2.4.2 on admin
I am getting the following error after upgrading my website to Magento 2.4.2.
I navigated to Content > Pages. After that, I am getting this issue in the console. Page keeps on loading.
Error :
...
0
votes
1
answer
4k
views
Github Auth token not working in auth.json file Magento 2.4.2
I have my project in magento 2.3.3 and I am upgrading it to Magento 2.4.2.
In auth.json file I want to add github token generated from the link https://github.com/settings/tokens/new?scopes=repo&...
0
votes
0
answers
1k
views
Custom indexer using elasticsearch Magento 2.4
I followed the documentation i.e.https://www.mageplaza.com/magento-2-module-development/magento-2-indexing.html#run-reindex-by-command to create a custom Indexer.
It is visible at the backend.
After ...
1
vote
3
answers
1k
views
Magento 2.4 System > Configuration > Catalog showing blank page at backend
At admin, the Catalog is showing a blank page at the backend. Can someone guide me on what is creating trouble.
FYI modules
Magento_Elasticsearch
Magento_Elasticsearch6
Magento_Elasticsearch7
...
0
votes
1
answer
688
views
How do we add the 'Inclusive of all taxes' label after the original price of the product on the product page in magento2?
Please help me how I can display the label 'Inclusive of all taxes' after the original product price on the product page in the magento2 platform?
And also let me know the file structure where I can ...
0
votes
1
answer
660
views
Magento 2 website switching to default color on load
My website is switched from Magento 1 to Magento 2 and there is one major issue i.e. when I open the URL of the configurable product with their attribute ids, it jumped to the default color selection.
...
-1
votes
1
answer
1k
views
Magento 2 get order ID before sending to payment gateway in checkout page phtml?
How to get the current order id before sending the order I know how to get the last order id but I am getting the current order id before submitting the order and I am working on my own module
0
votes
1
answer
596
views
auto fill sign up data in custom form Magento 2 frontend
Someone please suggest the solution?
I want prefilled data in my custom form that user already entered in the signup form.
Thanks,
Rashi
0
votes
1
answer
3k
views
How to add post data from custom form to custom table in Magento 2?
I have gone through a number of links but didn't find any relevant answers.
I am doing that using Model/ResourceModel and on printing I am getting post data from the Custom form but it is not getting ...
1
vote
1
answer
2k
views
Print simple message in pdf invoice of Magento2 using echo?
I have created a Default invoice of Magento2 under the (sales order) option, see the screenshot: https://prnt.sc/tje4zn
This is the file path for invoice pdf of Magento2: /vendor/magento/module-sales/...
1
vote
1
answer
2k
views
How to add a simple message by 'echo' in invoice pdf format in Magento2?
I have generated an invoice slip from magento2 sales order's invoice option and got the screenshot for the reference, see the screenshot: https://prnt.sc/tje4zn
This is the file path for invoice pdf: /...