All Questions
105,773
questions
0
votes
1answer
19 views
How to replace Category Name with Category custom attribute in breadcrumbs Magento 2?
I want to replace the category name with the category custom attribute in the breadcrumbs on the list and product details page.
0
votes
0answers
24 views
Transport Exception : Content-Length mismatch Installing Magento 2.3.6
I have to install the magento 2.3.6 on my vagrant VM it actually already working on other VMs but today I have created another VM and start installing the magento2 but got this weird error at some ...
0
votes
1answer
15 views
magento2 add where in _initSelect
I have writed in Model\ResourceModel\Order\Grid\Collection
I don't know if i write this way. It working
protected function _initSelect()
{
parent::_initSelect();
$tableDescription = $this->...
0
votes
0answers
13 views
How to prevent Host Header Poisoning in Magento 2?
I'm using magento 2.4.1 , i tried to make a GET request, i added ':22345' as suffix in my host header so it will look like this:
when I invoke this code in phtml file
echo $block->getRequest()->...
0
votes
1answer
16 views
How to get product type in magento minicart?
I want to get product type in magento 2 minicart so as to apply some conditions over the look and feel of item in minicart.
The file is located here : /var/www/html/project/app/design/frontend/Solwin/...
0
votes
0answers
10 views
How to add list option customer address in magento 2
I want to add a selection list of ul, li tags in the red area can someone help me to solve this problem. thanks
0
votes
1answer
19 views
Array to string conversion on File upload functionality in Magento2
I am getting this error after I put a file upload button.When I click save I got this error
[2021-01-20 05:42:43] main.CRITICAL: Exception message: Notice: Array to string conversion in /var/www/html/...
0
votes
0answers
13 views
How to update customer's custom EAV attribute value programmatically in Magento 2?
I have created a customer eav attribute using a data patch, now I want to update/save a customer's this attribute value programmatically. How to do it? Please help me to do this. I have tried many ...
0
votes
1answer
22 views
How to apply/schedule for AD0-E702 Adobe Certified Professional—Magento Commerce Developer Certification?
I am not much sure how to schedule AD0-E702 Adobe Certified Professional—Magento Commerce Developer exam ?
I have few questions :
Can we take exam on own system ?
How it works ?
What are prerequisite ...
0
votes
1answer
12 views
Getting Error while trying to Retrieve Magento 2 orders using Rest API
I am trying to retrieve the Orders using REST API.
I want to retrieve all the processing orders for that i am using search criteria.
Below is what i have tried , but it is not working
https://auto1....
0
votes
0answers
22 views
Magento 2: How to get encrypted config value?
I am making a custom form plugin that integrates ReCaptcha in Magento 2.
To integrate ReCaptcha in the frontend I am trying to read ReCaptcha v3 public key (recaptcha_frontend/type_recaptcha_v3/...
0
votes
0answers
12 views
its about a plugin construction question`
sir please can you provide me steps and files about
how to create a plugin in which
i can increament quantiuty of product b y 1
if there is qty is default 1 and i add to cart the view cart page show ...
0
votes
0answers
7 views
how to grant permission to back up from the dashboard
I'm having difficulties in performing a sql backup through the Magento panel, after confirming the system informs me that I need permission to restore baxkup
I am logged in as a system administrator
I ...
0
votes
0answers
17 views
"Fatal Error: 'Out of memory' (allocated 202440704) (tried to allocate 20480 bytes) Magento 2.4.1
I'm using Magento version 2.4.1 hosted on AWS EC2 and using AWS ElastiCache for Redis (5.0.6) to store session
bin/magento --version
Magento CLI 2.4.1
We previously encountered issue with memory limit ...
0
votes
0answers
6 views
Modifications at /simple/Magento_Sales/templates/email/items.phtml is not working
We are currently modifying the email template. We want to add another column to the order summary table for the product thumbnail.
So we modified the following files:
Magento_Sales/templates/order/...
0
votes
0answers
10 views
Magento 2 uiComponent multiple instance
I have a view with two templates that use the same uiComponent with Knockout Js.
I spent hours trying to discover how to do not share the observables between two different templates.
example:
<div ...
0
votes
0answers
11 views
Magento 2 Minimum Order Amount per User Account
Does anybody know a extension or a way to apply a minimum order amount per user account? The default minimum order amount feature only works per the entire site and I alo found plenty of extensions ...
0
votes
0answers
14 views
Adding a productAttribute handler in Magento 2.4
I'd like my Magento 2.4 module to be able to modify the output of one of the product attributes programatically. I see that the ability to create a handler for this purpose was added in Magento 2.3.4, ...
0
votes
0answers
4 views
where do you set path for static assets in Magento2
as per magento2 guideline I have changed the documentRoot path to /pub/ folder as well changed the directory in env.php as
'directories' => [
'document_root_is_pub' => true
]
now the ...
0
votes
0answers
14 views
jQuery (server side) search and sort using Ajax
I tried to create search and sort from live URL using Ajax , i used do search function and i managed to retrieve the data from the URL .
I am showing Ajax response in select options as below code. I ...
0
votes
1answer
15 views
How to add attribute to product grid?
I would like to add the sku attribute to my product widget. Here is the original Magento code-
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
...
0
votes
0answers
4 views
Top link not moving to header - Element not moving to porto_header
I'm trying to move my customer account dropdown from the header.links to the header.
The element I'm trying to move is called customer. It's in the file app/design/frontend/Smartwave/porto/...
0
votes
0answers
3 views
ERP Purchase Order Entries and having incoming items 'visible' in Magento Products
Magento ERP Products section has 4 lines,, , and .
If a product is ordered and being expected, ERP Products section shows the qty and arrival date of this item under column.
We added new items in ...
0
votes
0answers
6 views
Error with custom shipping method M2.3.5)
I made a custom shipping method in 2.3.5. I can select it in the checkout, but after selecting the payment method and clicking the "buy-button" the checkout gives this error: An error has ...
0
votes
0answers
10 views
SET THE RIGHT DOMAIN NAME IN MAGENTO 2 COOKIES
I set cookies (in Magento 2.3.1 EE) with this code below:
<script type="text/javascript">
require([
'jquery',
'jquery/jquery.cookie'
], function ($) {
$(document).ready(...
0
votes
0answers
6 views
Hidden Button Multi Store Magento 2
i have create custom button for place order on WhatsApp but
place code at code place at app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view/addtocart.phtml
code is php if($...
0
votes
0answers
16 views
M2.2 | Button that can add multiple individual products to the cart all at once?
In short, we are looking for the ability to have a customizable button (be it through js, small module or whatever) to where we can have a button that would infact add multiple individual products to ...
0
votes
0answers
8 views
How to set cron job interval in magento 2
I have created a crontab.xml
My server is in UTC time zone.But I need to run my cron job at 2.30 a.m EST timezone.
Please provide me the solution
<?xml version="1.0" ?>
<config ...
0
votes
2answers
66 views
Can no longer upload images on Magento 1.9 now Flash is no longer supported
Is there any way to still upload images on Magento 1.9 now that flash is not supported on Chrome or any other browsers?
0
votes
0answers
4 views
Incoming Message for update realized
I updated my module by composer and it works fine but I still have an incoming message when I log into my admin panel.
And you can see in my code the module is updated
I do setup: update cache: fush ...
0
votes
0answers
13 views
I can't save a category in Magento 2.3.5-p2 - Probably after migration from 1.9.2
I migrated a store from version 1.9.2 to 2.3.5-p2, I had some issues at first, as with any migration I did before, but I sorted everything out. The migration was made with the official Magento ...
0
votes
1answer
21 views
Unrecognized HTTP request to remote js library from my site
My site has a HTTP request being made to get this remote js library - https://r1-t.trackedlink.net/_dmpt.min.js and I do not know why? Can anyone help me with what this is?
Thanks in advance and have ...
0
votes
1answer
6 views
Tax value is not displayed in the cart issue on Magento 2.3.4
I found this similar post, but I might have a different problem.
In the below images, you can see my settings:
The interesting part is that my tax looks to have the value of zero. See:
After that ...
0
votes
0answers
18 views
How to retrieve quantity from products list with REST API?
I need to get stock info about my products in REST API response.
I'm using this endpoint:
GET https://{{magento}}/index.php/rest/V1/products?search_criteria%5Bpage_size%5D=10&search_criteria%...
0
votes
1answer
21 views
Virtual Type in Magento 2
I am trying to understand the virtual type with the help of existing blog and video tutorial. It's too hard to understand the concept and it's too confused
Here I'want some good understandable example ...
0
votes
0answers
7 views
How to create gzip file in magento2
i am creating sitemap
http://dev.abc.com/sitemap/sitemap-1-2.xml
2021-01-19T01:08:41+00:00
here you can see in loc tag sitemap-1-2.xml its in xml format thats fine but i want convert this file in ...
0
votes
1answer
12 views
Magento 2 Notice: Undefined variable: images
I use custom variable in Mirasvit Extension for export parent images also from variants.
For test I export single product and working correct. Now I set filter with export all configurable products in ...
0
votes
2answers
24 views
Magento2 doesn't load in Browser after fresh install and successful nginx config test
SECOND UPDATE: After reconfiguring file system permissions, and re-installing: It finally worked! This thread ended up being a self-help journey.
UPDATE: After doing a fresh install, increasing InnoDB ...
0
votes
0answers
7 views
Exception - The attribute model is not defined
I have installed Magento 2.4.1, building a new Magento store - with Luma theme there was no error however the moment I installed Codazone theme the search box at css level is broken and any search ...
0
votes
1answer
11 views
Magento 2 home page issue - 1 exception(s): Exception #0 (InvalidArgumentException): Required parameter 'theme_dir' was not passed
How to solve the home page issue,
1 exception(s):
Exception #0 (InvalidArgumentException): Required parameter 'theme_dir' was not passed
Exception #0 (InvalidArgumentException): Required parameter '...
1
vote
1answer
38 views
Header Tag <title>How can I change Product wise dynamically?
I want to Change my header title tag product wise dynamically.my Magento version is 2.3.4. how can I get SKU title to set header title tag? I want to solve this problem. I want to Dynamically change ...
0
votes
0answers
8 views
Magento 2.4.1 search, bulk action, paginition not working properly
I am having 3 problems on magento 2.4.1
Bulk action is in pending. I tried to run the command : php bin/magento cron:run , but it's not working.
On catalog page pagination is not showing
I am not ...
0
votes
1answer
37 views
+50
Magento 2 how to override theme-adminhtml-backend view.xml in custom module?
By default Magento 2 creates more than 20 duplicates of each product image..! (why???)
I have got this down to 5 using view.xml in my theme, but there is one extra set of image sizes I need to change, ...
0
votes
0answers
11 views
Got late order email in magento 2?
I have got very late order-related mail for some customer what can I do any have an idea for same?
I have checked with the same email address with custom PHP mail function then it will working but ...
0
votes
0answers
6 views
Get your authentication keys getting Fastly is validating your browser
I am trying to get my authentication keys i go to :https://marketplace.magento.com/customer/account
and get "Fastly is validating your browser"
I have a clean cache also try to get it from ...
0
votes
0answers
42 views
Magento 2: Google search index issue URL is not available to Google - Redirect error
I have installed the GeoIP Store Switcher module. When I enter my site's internal URL for example- xyz.com/women/tops
It redirects me to the specific store page which is fine but it shows
the error in ...
0
votes
0answers
33 views
Get Parent SKU from ordered simple products
I want to show the review form to customer who bought the product. I get it solved with below mention code but it is not working for configurable product. How can I get parent associated product with ...
0
votes
1answer
11 views
How to get customer custom multi select attribute value in magento 2
I have created a customer multi-selected attribute but I am not able to get its value on checkout can you please guide me on how can I get it. I try these two solutions but it not work.
$customer = $...
0
votes
0answers
42 views
+50
Magento 2: How to prevent form_key cookie being set twice?
I'm using Magento 2.4.1 version and I'm doing some security testing, one of the vulnerable results is the cookie form_cookie is being set twice in the HTTP response like this:
Set-Cookie: form_key=...
0
votes
1answer
7 views
RSS Feed Reader for Magento 2
I want to show the last articles from my blog (wordpress) in my store (magento 2.3.5). I`m looking for a RSS Feed reader, but after googling I only find solutions for Magento 1. Anyone knows any ...