Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
169 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 {...
rashi's user avatar
  • 137
0 votes
1 answer
858 views

Uncaught Error: Class 'Magento\Backend\Model\Auth\Interceptor' not found

we are having problem with accessing backend login into magento 2.2.4 site. Everything else on the frond-end seems to work. INFO: PHP version: 7.1.33 Magento version: 2.2.4 ERORR: Fatal error: ...
Uros's user avatar
  • 11
0 votes
1 answer
368 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.
Mani's user avatar
  • 113
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....
magento2's user avatar
1 vote
0 answers
169 views

How to make the top bar sticky on all screens when scrolling down with jQuery and aligned the slider text in the center?

I have found a simple text slider with HTML, CSS, and jQuery. It is working fine in the simple HTML file with centered aligned text. In magento2 I have created a top bar and added all the things it is ...
magento2's user avatar
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 : ...
rashi's user avatar
  • 137
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&...
rashi's user avatar
  • 137
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 ...
rashi's user avatar
  • 137
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 ...
rashi's user avatar
  • 137
0 votes
1 answer
751 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 ...
magento2's user avatar
0 votes
0 answers
70 views

PWA Setup on local windows machine

I want to setup PWA on my local windows machine but facing some problems.
rashi's user avatar
  • 137
0 votes
1 answer
684 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. ...
rashi's user avatar
  • 137
-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
shohel hussain's user avatar
1 vote
0 answers
232 views

Magento 2: Add Image to the Customer Account Navigation Menu

I hope everyone is doing well! I am new to Magento 2. I would like to add Image for all the menus in "Customer Account Navigation Menu" at the top of each link. I am able to change the text ...
sonu pokade's user avatar
0 votes
1 answer
637 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
rashi's user avatar
  • 137
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 ...
rashi's user avatar
  • 137
0 votes
1 answer
518 views

how to speed up magento2 with redis?

I am using magento2 , but its page load time max than 4s. have alread config useing varnish . after config use redis , there are still huge sql query at catalog page ? why ? how to speed up this ...
max's user avatar
  • 11
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/...
magento2's user avatar
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: /...
magento2's user avatar
1 vote
0 answers
456 views

Magento2 add additional field to Creditmemo

I need to add an extra date field in magento 2 creditmemo form and save in backend and display it in grid and view of creditmemo. Can somebody help me in finding out some solution
Asha Bose's user avatar
1 vote
1 answer
1k views

Magento 2: Completely disable Recently Viewed & Compared // disable Cookie setting

In our Magento 2.2.2 installation we have removed all "Recently Viewed" and "Compared" elements from our site (removed via XML files in our custom theme). We do not need these functionalities at all ...
ralex's user avatar
  • 97
0 votes
0 answers
177 views

Get DB query log on page load

Currently, our Magento 2.3.4 speed is so slow. With the homepage, it takes 5 secs to load with 200 MySQL queries running. But with the category, it takes 20 secs and nearly 3000 queries. Can you ...
Luan Tran's user avatar
  • 416
0 votes
1 answer
1k views

How to scroll the page body to the specific location by element id in Magento2 CMS?

I want to open a product tab on the product page with a click of an anchor tag in Magento2. The Magento2 CMS version is 2.2.5, below is the code: require([ 'jquery' ], function($) { $(document)...
Kamal Hasija's user avatar
0 votes
2 answers
3k views

Accordion not working in Magento2 under product tab

I am using a simple HTML+JS accordion in magento2.2.5 on the product page under a product tab named "FAQ's". I want to show the concept of accordion for the Faq section. But in Magento when I am using ...
magento2's user avatar
0 votes
1 answer
2k views

Magento 2 products disappear on category pages after importing new products

I have a Magento 2.2.2 store with 15900 products. Lately, I imported about 300 new products and I understand all products are disappeared in category pages. after some tests, I understand that when I ...
Ali Zeinalzadeh's user avatar
-1 votes
1 answer
80 views

Magento Report issue - Only filter option available, no table showing up

I'm new to Magento(V 2.3.1). Got an issue under Reports > Sales > Orders. I see only the filter option and there is no table to display the result. Not sure how this can be solved. Any help would be ...
chinmoy's user avatar
0 votes
1 answer
290 views

Get Several Product Attributes as Columns on "catalog_product_entity"

I'm trying to make a table that shows a list of products with various product attributes but I'm completely stuck with the way to do it. Expected Table looks like below; entity_id, sku, price, cost ...
Makoto's user avatar
  • 13
0 votes
0 answers
181 views

Cannot connect Magento 2.x with zapier

I tried to connect my magento 2.2 site with zapier, but it shows error. Do I need to change any settings in admin to connect with zapier? Any help will be appreciated.
Hima Mohan's user avatar
0 votes
1 answer
774 views

How to Reset the Order ID in magento 2 Multi store view

I have multiview in Magento 2 website, I want to reset the order id and I have to change the starting number of the order id. (ex: 100000100) Please help to resolve the issue Thanks in advance.
Dinesh Kumar's user avatar
2 votes
0 answers
1k views

Magento 2 Checkout template translation not working

Any idea why the Magento_Checkout template retrieves translation from Magento_Customer? Is there a way to force the template to use the specific entry for Magento_Checkout ? Here is the path of ...
Chris's user avatar
  • 21
0 votes
0 answers
270 views

Magento2 custom layout unable to access custom module phtml file for products

For my Magento2 website I have created a custom module and layout for products. I have assigned that custom layout for that product from product edit design section. And from that layout, we are ...
Narayan's user avatar
  • 1,668
1 vote
2 answers
2k views

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'admin_newapmasala.core_config_data' doesn't exist in

Following error occurs with my website address please help me out what to do: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'admin_newapmasala.core_config_data' doesn't ...
web Promserve's user avatar
0 votes
1 answer
732 views

How do open parent product, via child SKU in URL

I want to open a parent product page when someone searches or use child / configurable product in SKU. I am using Magento ver. 2.2.8 This is the parent product URL, which opens http://plego.xyz/...
Amin Ulhaq's user avatar
0 votes
1 answer
842 views

Adding a new custom Customer attribute when updating a module

I'm having troubles at creating new customer attribute when upgrading one of my modules. I've created the UpgradeData.php file under /app/code/vendor/modulename/Setup/UpgradeData.php with the ...
Daniel's user avatar
  • 1
0 votes
1 answer
206 views

Magento 2 emptying CMS page table?

This is a very peculiar problem. A client's Magento 2.2.6 EE has emptied its cms page table twice today (sometime between 5pm EST and 5:20pm and again between 11:00pm and 11:30pm). I have disabled ...
JonShipman's user avatar
0 votes
1 answer
1k views

MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled

Get continuously this error in var/reports file. I tried below link solution but still it not fixed. Can anyone please help me for this as it goes on critical now. MISCONF Redis is configured to save ...
Jumbo's user avatar
  • 26
0 votes
1 answer
2k views

How to override the protected function in abstract class in Magento 2.2.8

In Magento 2.2.8, I want to override the CalculateWithTaxInPrice protected function in the /vendor/magento/module-tax/Model/Calculation/AbstractAggregateCalculator.php file. I tried using the plugin ...
Latha's user avatar
  • 1
1 vote
1 answer
1k views

Magento 2: Transactional Email Preview Error

I'm trying to get some transactional email templates working however when I try to preview them, I get redirected to the 'Email Templates' page and get ' An error occurred. The email template can not ...
Jas Singh's user avatar
  • 154
0 votes
1 answer
659 views

Creating a custom Customer attribute through module upgrade (UpgradeData.php)

As title says, i'm having troubles at creating new customers attribute when upgrading one of my modules. I've created the UpgradeData.php file under /app/code/vendor/modulename/Setup/UpgradeData.php ...
Daniel's user avatar
  • 1
2 votes
0 answers
539 views

How to remove simple product from cart by observer programmatically in magento 2.2?

I'm facing problem, I have added total 5 items in cart where 3 items are different colors of same configurable product and other 2 is simple products. When i try to remove simple product from cart by ...
KKR's user avatar
  • 141
0 votes
1 answer
236 views

Installing magento 2.2 on docker

I need help with magento installation on docker. I have created folder on desktop "development/sources/". After that in sources folder I have cloned repository https://github.com/php-cuong/docker-...
Denis2310's user avatar
  • 1,208
0 votes
1 answer
45 views

Jquery executing at all times

I have a dropdown switcher in order to change storeviews. I would like to implement a function done with PHP once an option from the dropdown is clicked. I have been trying to implement this event ...
Raül's user avatar
  • 157
0 votes
0 answers
689 views

Recently DELETE and PUT API of default magento 2 was not working, are these the permission issue?

I call API through Postman. API - PUT rest/V1/customers/144 was not working , It was successfully work on my Local but not on test environment, After some time I came to know that all PUT and DELETE ...
Suraj Gholap's user avatar
0 votes
1 answer
1k views

Lost Crypt key of magento 2

I lost crypt key from my magento2 setup and now I am having issues with the PayPal and other configurations. Can somebody help me how I can recover crypt key via server?
Bushra's user avatar
  • 1
0 votes
1 answer
376 views

Updating from Magento 2.2.5 to 2.3.1 fails with errors

When trying to update Magento 2.2.5 to 2.3.1 either in the System upgrade panel, or from the command line we get composer errors. We suspect it's a composer.json issue, but it's for a site that is ...
Rusty_Paul's user avatar
1 vote
0 answers
788 views

Magento 2 Raw SQL Query updates Date to UTC TimeZone

Mysql TimeZone - Asia/kolkata PHP TimeZone - Asia/Kolkata Magento 2 Config - Asia/Kolkata lets say I have following two rows in sales_order: I have Following Query: select count(*) from ...
Ajay's user avatar
  • 458
0 votes
0 answers
121 views

Insert order data from csv programatically in Magento 2.2

I have 2 different CSV files 1st has orders and 2nd have order details. I am trying to insert data into magento2 DB using Magento Models. so that my data will insert into all different tables and will ...
Farhan Ali's user avatar
0 votes
1 answer
44 views

Proceed to Checkout is missing with overridden Block and template file

Extended OOB Onepage Link Block and link.phtml to disable the button based on customer group id, the changes are working but the button is disabled for all the customers, not just for the customers ...
cnu's user avatar
  • 521
0 votes
2 answers
111 views

How to fix magento 2 error while installing one module

I am have my magento 2 website and I want to install one module using below command composer require eway/eway-rapid-magento2 3.0.1 but I am getting following error magento/framework 100.1.15 ...
Mithi Techie's user avatar
0 votes
0 answers
457 views

Add product to cart with my custom price based on product detail page fields input from customer in Magento 2

I want to get 3 Fields from user to be filled with custom size and after that based on that size need to generate a price against it. That price I can show on page but when adding to Cart, It's ...
Zaheer Ahmed's user avatar

1
2 3 4 5