189 questions
0
votes
0
answers
8
views
Failed to display array in KnockoutJS in html page magento2.4
I tried to add multiple custom fees in checkout page, i tried to fetch labels of fees as array and need to show on by one, but its fail in KnockoutJS binding, below is my fee.html and fee.js file code
...
0
votes
0
answers
16
views
Magento 2, Make Email Address Field in Checkout Page as Optional
Magento 2, Make Email Address Field in Checkout Page as Optional
Custom Module to make checkout page email address field as a optional, if not add default email Id in checkout email address field.
...
0
votes
0
answers
9
views
how to set up an automatic 10% off when customers spend ₹1000 on the magento 2 site and also receive 3 free simple gift product
How to Apply a 10% Discount and Add 3 Free Gift Products Automatically When Customers Spend Over ₹1000 in Magento 2?
I am working on a Magento 2 site and need to implement the following promotions:
10%...
0
votes
0
answers
40
views
Magento 2 - After upgrde getting net::ERR_INSUFFICIENT_RESOURCES in admin category page
We upgraded Magento from version 2.4.5 to 2.4.7-p3. After that, we checked the admin category page and encountered the following errors:
POST https://yourdomain.com/admin/catalog/category/...
0
votes
1
answer
22
views
Group Product going "Out of Stock"
I have created a grouped product with 5 simple products attached to it. Each of those has a QTY of 15. However, at random, the grouped product turns Out of Stock without any reason. There have not ...
0
votes
0
answers
21
views
Uncaught Error: Mismatched anonymous define() module error Magento 2.4.6 - Only Chrome browser
Uncaught Error: Mismatched anonymous define() module error on chrome browser,on Mozilla is working fine on magento .2.4.7. How can find the error on production server because error only coming on ...
0
votes
1
answer
149
views
Using graphql in magento 2.4.7-p2 error on fresh instalation
I have fresh install of magento 2.4.7-p2 using warden. I installed sample data. Now i want to acess graphql using link https://app.demo.test/graphql But i have error.
{
"errors": [
{
"...
0
votes
1
answer
62
views
Customer grid uiComponent in slide out modal (Admin)
I want to open a modal in the backend when i click on a button in the admin bar above in the page. In this modal a customer grid uiComponent needs to be shown.
The uiComponent is getting loaded ...
1
vote
1
answer
45
views
Is it possible for a magento 2 plugin to display a html written warning based on certain conditions?
These are two files i'm using to print a warning:
extra.html(https://i.sstatic.net/IYo7wvWk.png)
data.html(https://i.sstatic.net/TMabfFrJ.png)
This is what i'm getting but it's static, i want it to be ...
0
votes
0
answers
27
views
Missing required argument $name of SaaSExportLogger getting this while running magento command(2.4.7-p2)
Missing required argument $name of SaaSExportLogger getting this while running magento command(2.4.7-p2)
try to add name in di.xml but getting same issue facing. Similar issue faced for the data ...
0
votes
0
answers
48
views
Issue while adding a on click event on KnockOut JS template file in minicart section
I want to show some recommended items based on each item added in the cart.
I have added those recommended items in the customer data.
And fetching the data in the default.html file. I have added a ...
0
votes
1
answer
51
views
Make city address attribute as optional per website | Magento 2
By default customer address attribute "city" is set as required. I would like to make "city" address attribute optional per website. When I access configuration page in magento ...
0
votes
0
answers
27
views
How to pass product dimensions (width, height, length) to DHL in Magento 2.4?
I am using Magento 2.4.6. I want to pass the dimensions of my products (width, height, length) to DHL. Actually only weight is passed to DHL.
Is there a way to achieve this in Magento 2.4? I've ...
0
votes
0
answers
34
views
Magento PWA Venia giving incorrect Cache-Control Headers
I am using Magento 2.4.3-p3 with PWA Venia on storefront and recently have observed incorrect headers i.e. it's always no-cache, no-store & max-age=60.
I have checked the backend code and do not ...
0
votes
0
answers
66
views
CSP Module Issue in patch upgrade magento version 2.4.6-p6
ISSUE: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src assets.adobedtm.com *.adobe.com data: www.googleadservices.com www.google-...
0
votes
0
answers
18
views
override the core acl without overriding any of core file
<type name="Magento\PurchaseOrderGraphQl\Model\Filters\CompanyPurchaseOrders">
<arguments>
<argument name="allowedResources" xsi:type="array"&...
0
votes
0
answers
78
views
Magento Cache is getting bigger and bigger after upgrade to 2.4.6-p6
I upgraded from Magento community editon 2.4.6-p3 to -> p4 -> p5 -> p6 (one after another on one day).
Since then I see that the cache is getting bigger and bigger. For example I made a tar ...
0
votes
0
answers
11
views
How to force refresh shipping methods in magento 2 from phtml file
I want to understand how i can refresh or force the shipping rate estimate from phtml file in magento 2. Basically I want to get all the available shipping methods on a rest api call. Is there any way ...
0
votes
1
answer
75
views
Magento 2 | Default shipping address not selected after shipping methods reload
Version: 2.4.6-p6
After accessing checkout shipping step, after page is loaded, my default shipping address is preselected which is fine.
Right after that, shipping methods are gets reloaded (loader ...
0
votes
0
answers
35
views
How to add Adalyser tracking tag in GTM for Magento 2
How we can integrate adalyser tracking code in GTM for magento 2.
and they are mentioning, These tags must be sequenced to fire after the all pages tag in order to function. any one can offer any ...
0
votes
0
answers
24
views
Magento 2 - layered navigation filter missing (when attribute value is not set on at least 1 product)?
I have noticed that if attribute value is not set on at least 1 product then filter for that attribute wont be shown in magento 2 layered navigation?
If I have 1000 products and there is 1 where I ...
0
votes
0
answers
29
views
Magento 2.4.6 select query consuming all resource cron jobs
We have a select statement that we cannot trace and keeps being run multiple times
`SELECT `e`.*, IF(at_status.value_id > 0, at_status.value, at_status_default.value) AS `status`, `at_visibility`.`...
0
votes
0
answers
159
views
Magento 2 | Smile Elasticsuite search results get all - "*"
In Magento 2 when I search for "*" in search field, all products are shown. I noticed that this is because of Smile Elasticsuite extension. Without that it wont work.
Does anyone knows how ...
0
votes
0
answers
67
views
Magento DB Downgrade 2.4.3 EE to 2.4.6 CE
I am downgrading Magento 2.4.3 Enterprise edition to 2.4.6 community edition. While downgrading I am following few already available modules and blogs like below
https://github.com/opengento/magento2-...
0
votes
0
answers
130
views
Magento 2 API: 401 Unauthorized for Salesrule calls with Admin Bearer Token
I am using the Magento 2 API to convert quotes (from custom made laravel project) to orders. I use an administrator bearer token, which works successfully for other API calls such as:
Create guest ...
0
votes
0
answers
27
views
Magento 2.4 product details page my custom form submit then get errror
i am created custom module as per requirement.my details page add custom button when click then open popup and submit data. at time my data is save database and admin grid but email not send. i will ...
0
votes
0
answers
47
views
Magento 2 - Filterable product attribute in layered navigation visibility?
Is filterable product attribute visible in layered navigation in magento ONLY when all products have value set for that attribute?
I have filterable select attribute which is not required and it is ...
0
votes
0
answers
22
views
Magento 2 - Custom product select attribute is not shown in layered navigation
I have created custom product attribute input type select with configuration below in code sample that is provided.
After creating attribute I assigned added options to that attribute in magento admin ...
0
votes
0
answers
168
views
magento cloud version upgrade to 2.4.7 completed but getting failed to load component error on checkout page for all custom modules
magento cloud version upgrade to 2.4.7 completed but getting failed to load component error on checkout page for all custom modules.
there are lots of error related to system upgrade / compatibility ...
0
votes
0
answers
27
views
when i want to update the quantity in the cart page in magento 2 its not updated Magento ver. 2.4.3-p1
I have used this code to print the data in the cart parameter
echo "<pre>";
$cartData = $this->getRequest()->getParam('cart');
print_r($cartData);
the ...
0
votes
0
answers
191
views
Magento 2.4.6 with Amasty Improved Layered Navigation issue
I'm currently running a Magento 2.4.6 website with Porto Theme, Amasty Improved Layered Navigation and Wyomind Mass Product Import extensions.
I currently have products that include a couple of ...
-1
votes
1
answer
148
views
Remove Drepracated \Zend_Pdf in magento 2
I have upgraded my magento versio to 2.4.6-p1.
I need to change the Zend with Luminas.
In my file I am having the following line
$this->pdf = new \Zend_Pdf();
How do i change this Zend to support ...
0
votes
0
answers
320
views
cache-control: no-store, no-cache, must-revalidate, max-age=0 response is given
For Magento 2.4 project i runned command Curl -IL Domain in terminal and
cache-control: no-store, no-cache, must-revalidate, max-age = 0 response is given .
I talked to support of cloudways but they ...
0
votes
1
answer
524
views
Magento 2.4 Issue: The coupon code isn't valid. Verify the code and try again
I'm using the magento 2.4. I have created the auto generated coupon but which is not worked.
Here, I've attached the images.Could you help me?
Initally I make sure the from & to date.
Then, I ...
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
{...
0
votes
0
answers
208
views
How to setdata of custom dynamicrows ui component from category_form.xml in magento 2
I want to save the data in of a custom dynamic-rows field. which i added on admin category page.Now I don't know why the value is not passing.
my custom_form.xml:
<?xml version="1.0"?>
...
0
votes
0
answers
138
views
setup:di:compile error after upgrading to Magento 2.4.6
After upgrading from 2.4.5 to 2.4.6 I amd getting this error when running setup:di:compile
#1 /home/wp11246/public_html/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/wp11246/...
0
votes
1
answer
169
views
Problem with child product in Magento 2.4.6 Cart
I have a problem with the cart section. When I add multiple times the same child product from a configurable product, in the cart it's shows as a different products not as the same with more qtys. ...
1
vote
0
answers
137
views
Error- Elasticsearch-full getting an error explained the the question
I install elasticsearch-full on Mac(chip - Apple M1 Pro ).BY Running this commands.
brew tap elastic/tap
brew install elastic/tap/elasticsearch-full
Installed successfully and when after started the ...
0
votes
0
answers
54
views
After update in magento 2.4 all require js file not working
Due to update to Magento 2.4, changes were made by the developer in the vendor's Magento theme.
require js is not working.
Before it loading all js
I have made all the changes as before and after ...
0
votes
0
answers
66
views
An error with Magento 2 Admin panel page/Unable to access the admin page - Rest of the site is still fine
When logging into my admin panel it's throwing the error below, causing me to be unable to access the admin panel.
1 exception(s):
Exception #0 (InvalidArgumentException): Item with identifier ...
0
votes
1
answer
112
views
Magento 2.4.6 : Saving a new configurable product is slow
I have magento 2.4.6 open source running on Ubuntu server (php 8.1.2 / mariadb Ver 15.1 Distrib 10.6.16-MariaDB).
When creating a new configurable product, saving it takes several minutes.
NB: ...
0
votes
0
answers
18
views
DB alternative for ISPC in combination with Magento2?
Hosting ISPC 3.2.11p1 on Debian(11) with 10.5.21-MariaDB-0+deb11u1 & nginx webserver.
Hosting multiple WordPress and static websites. Magento2 2.4.3-release was required, during install the ...
0
votes
0
answers
22
views
How do i successfully install magento2?
I'm getting this error message when I copy and paste the final code block enter image description here
Steps taken
(1) I've tried rewritting the line of code.
(2) Tried 127.0.0.1 instead of localhost
...
0
votes
0
answers
47
views
When adding prefix in media URL category image upload gets affected in Magento 2.4
When I add prefix fs_ in media URL of s3 bucket then getting issue with category image save.
When I select image for category image and custom image for first time it gets saved.
In ...
0
votes
1
answer
297
views
Magento 2: The newly added column does not appear in the product export csv file
When we export Magento products, in the CSV there is one column related_skus. I have added one column with the same name, accessories_skus. But when I export to the staging server on the live server, &...
0
votes
0
answers
16
views
Issues with Responsiveness and Custom Styling in "Related Products" Block in Magento 2
MyViewTitle: Issues with Responsiveness and Custom Styling in "Related Products" Block in Magento 2
Body:
Hello community,
I'm currently facing challenges regarding both responsiveness and ...
0
votes
0
answers
33
views
How can use Redis Client cache on afterGetList function in Magento 2
I have created plugin for afterGetList() to added extension attribute data in searchCriteria. But I want to add searchCriteria in cache, How can we implement this? I if searchCriteria parameter change ...
0
votes
0
answers
142
views
How can i add multiple products to cart with quantity at same time in magento2?
My currunt url: http://viva-wireless.local/apple/iphone.html#
I want to add all product to cart with quantity who has quantity value is more then 0 while i click on "Add All To Cart" button.
...
0
votes
0
answers
267
views
Magento 2.4.5 pdf downloaded using mpdf not showing logo image
Hi I'm using mpdf(in mageplaza module) to download my invoices as pdf in my magento 2.4.5 project and I get this issue of logo image not visible in downloaded pdf files recently. Earlier it was ...