All Questions
5,174 questions
0
votes
0
answers
16
views
Magento2.4: How to show custom dropdown of configurable product size swatch?
I'm trying to create a custom dropdown for the size swatch of configurable products.
I was getting an error on my iPhone which doesn't show the size attribute on mobile so I was converting the size ...
0
votes
1
answer
37
views
How to Disable This is a required field email in checkout page
How to Disable This is a required field email in checkut page
0
votes
0
answers
41
views
Iframe not loading on a CMS page
We are trying to embed a Magento 2 website's page on another Magento CMS page using iframe, but the iframe is not working.
When I checked the browser console I found an error.
This is my csp_whilist....
0
votes
1
answer
37
views
How to apply multiple coupons in Magento 2.4.7
As per magento 2.4.7 multiple coupon codes feature available for REST Api, GraphQL.
If we want to make it work for storefont, how can we achieve this?
Thank you.
-1
votes
1
answer
20
views
Refactor code create cron Magento 2.4.3 to 2.4.7
Old Code:
<?php
/**
* Copyright © All rights reserved.
* See COPYING.txt for license details.
*/
namespace Module\Coord\Cron;
class GenerateShipping
{
protected \Psr\Log\LoggerInterface $...
-1
votes
1
answer
20
views
Magento 2.4.7-p3 Deprecate class Action\Action and constructor parent::__construct($context);
<?php
declare(strict_types=1);
namespace Module\Coord\Controller\Index;
class Index extends \Magento\Framework\App\Action\Action
{
protected $resultPageFactory;
/**
* Constructor
...
0
votes
0
answers
16
views
Template Admin page magento override using preferences for adding a button and added a js code seprate but the layout is not working for js
Template Admin page magento override using preferences for adding a button and added a js code seperate but the layout is not working for js (the layout name is error)
0
votes
0
answers
27
views
How to add a file uploader field in the Product form using PHP UI component Data Provider?
I'm working on a dynamic product row attribute in Magento 2, and I've successfully added multiple fields. Now, I want to include a video uploader field in the product form. The text fields are ...
0
votes
2
answers
30
views
magento 2 Can i change this H2 to H1
Can i change h2 to h1 on page title
0
votes
0
answers
32
views
M2 - Based on custom module development needs to be improve my magento 2 skills
I want to improve my Magento 2 skills using custom module development, please do everyone suggest list of custom module help to improve magento 2 skills.
It will be very useful that custom module ...
0
votes
2
answers
109
views
Magento2.4.7: How to use conditional statements in email template?
This is the variable I want to use as a conditional statement.
will be 1 or 0 based on some condition
$isPlayerIncluded = 0;
inside my email template on code.
Vendor/Module/view/frontend/email/...
0
votes
0
answers
19
views
Catalog search - Elasticsearch
How can I optimize searches on the page using Elasticsuite, without increasing this limit in the config Catalog - Catalog Search - Minimal Query Length.
It is currently set to 10, and if it is low, it ...
0
votes
2
answers
71
views
Magento 2 : how to show google recaptcha at checkout login step
In my magento 2, i have 3 step checkout [login at checkout, billing step, payment step]
when i enabled default magento 2 google recpatcha setting for checkout, am able to see captch at payment step, ...
0
votes
3
answers
76
views
Magento2.4.6: setTimeout() doesn't work on server on checkout page but its working on local checkout page, whats the reason?
Here is the code
<script>
require([
"jquery"
], function($) {
'use strict';
$(document).ready(function () {
setTimeout(
...
0
votes
2
answers
77
views
Magento2: How to make phone number field look like this without using inputMask js libray?
if i enter 3064758254
the inputMask js library automatically converts it into like this (306)475-8254
How can I do this without inputMask library?
0
votes
1
answer
50
views
Magento2.4.6: why Js files are not removing from homepage using layout?
I'm using Porto Theme as parent theme and in my child theme I'm using
layout to remove any unused JS and CSS from different pages. But I'm stuck at JS which is not removed anywhere on any page. this ...
0
votes
1
answer
49
views
How to update swissup/breeze-evolution theme in magento?
I currently have the Breeze theme version swissup/breeze-evolution - 2.1.5. I need to update to the latest version. What steps should I take to do this?
0
votes
1
answer
54
views
Amazon Pay Magento 2.3.5-p2
Magento 2.3.5-p2
I had two instances in the past two weeks where an Order came through my Magento Store from the same address using Amazon Pay.
In my Amazon Pay account there are no signs of funds or ...
0
votes
1
answer
86
views
Magento 2: How to add google recaptcha V3 in custom phtml form in CMS pages
I have custom phtml form which am calling in multiple CMS pages, i want to add google recaptcha V3 in all the cms pages wherever the custom form is calling.
How i can achive this?
thank you.
0
votes
2
answers
184
views
Magento2.4.6: How to apply Security/Quality patches to magento open source?
My website is on magento2.4.6 open source and I want to apply all security/quality patches available to date.
Where I can find all the patches list and how to apply them?
0
votes
0
answers
12
views
How to get Ngenius Order Reference located in Magento 2 Ngenius Reports Using REST API or Custom Module?
We are using Ngenius Online Payment for our Magento 2.3.5 and after placing orders via Ngenius, we can see the order reference id and payment id in Ngenius Reports in Reports -> Sales -> Ngenius ...
0
votes
2
answers
297
views
Security update available for Adobe Commerce - APSB24-40 popup for Magento 2.3.x
Recently, for all Magento projects, one popup suggests applying a security update patch.
I received the same popup for even Magento 2.3.x websites. However, I couldn't find any patch for it.
Can ...
0
votes
0
answers
29
views
Migrating an old module from Magento 2.3.6 to Magento 2.4
I held off on upgrading Magento to 2.4 for several years, and now I have to do it because of changes to the UPS API; one module we have, uGiftCert, cannot be purchased or updated anymore, and I am a ...
0
votes
5
answers
160
views
Magento2.4.6: How to redirect a custom cms page to home page?
I want to redirect a custom cms page to home page
For example
https://magento246.com/custom-cms-page
to
https://magento246.com/
0
votes
2
answers
59
views
current version - none, required version - 1.0.0
1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following ...
0
votes
1
answer
25
views
magento246: How to redirect only homepage of website to another website using .htaccess?
I'm trying to redirect my homepage http://magento246.local/ to http://magento245.local/
but
http://magento246.local/admin
http://magento246.local/products/
and other URLs after slash should work as ...
0
votes
0
answers
42
views
How to create a Grid Form with Ui Component Can you give me an example
How to create a Grid Form with Ui Component Can you give me an example
0
votes
1
answer
53
views
Magento2.4: How to save custom fields data into customer_entity table when saving customer programatically?
I'm creating a customer programmatically with a customer interface, and custom attributes are saving as expected, but I want those custom attributes value in the customer_entity table also.
My code is ...
0
votes
2
answers
205
views
Magento 2 How to place order PROGRAMMATICALLY using custom script
How to place an order for testing while developing order-related tasks. using the custom script we will save our time to add products from the website and checkout flow. It will be passed using a ...
1
vote
2
answers
28
views
magento 2.4 login page meta title does not get localized
I have a multi store view magento where each store view has its own language but I have an issue with translating some pages.
For regular pages (aka pages that I create via backend in Content > ...
0
votes
1
answer
27
views
magento246: getting wrong permission for category?
I have set category permission to deny for non-logged-in users and in the database values are saved accordingly.
but when I search product on front end it shows the wrong permission.
\Magento\...
0
votes
2
answers
107
views
Adding if condition in checkout_index_index.xml
I want to add an if statement inside checkout_index_index.xml. The reason for these is to hide some of the element like discount code. I know this is possible with JS file but I don't want to use the ...
0
votes
1
answer
165
views
Can we configure webhooks in Magento using its REST API
I'm currently exploring the capabilities of Magento's REST API for integrating with external systems, and I'm interested in setting up webhooks to receive real-time notifications for specific events ...
0
votes
1
answer
27
views
Magento246:Product is still visilble for non-logged in customers after setting category permission to logged in user only?
I created a test category called Test added a test product and set category permission to Logged in user only.
so the category and product shouldn't be visible to non-logged-in customers. but when I ...
0
votes
0
answers
11
views
Customize tier module traductions
Magento documentation says
How the application applies locales
When the locale is changed for a store, the application searches and applies translations in the corresponding dictionaries in the ...
0
votes
2
answers
75
views
Magento2.4.6: How to apply category filter on catalog search results product collection?
I want to exclude specific category products from the search results collection, for example, if a customer is not logged in I don't want to show products in search results whose category id is 35.
...
0
votes
0
answers
23
views
Magento 2 : Configure Free Shipping Based on Subtotal Instead of Order Total
I enabled the free shipping method in Store > Configuration > Sales > Free Shipping.
However, it is currently applied based on the order total instead of the subtotal.
0
votes
1
answer
139
views
Magento-Cloud: What does this command will do: magento-cloud environment: branch <environment-name> <parent-environment-id>?
If I run this command on Magento cloud cli what will happen after running this command?
magento-cloud environment: branch <environment-name> <parent-environment-id>
0
votes
2
answers
47
views
Magento 2 : Many 404 URL from one product
I'm not sure how this happened, but while doing an audit of our site I noticed we have over 92 404 errors and they all are from the same product. Most of the paths are strange as I never added this ...
0
votes
0
answers
34
views
Magento 2: How to create dynamic fields with multiple fields in the admin system configuration?
I am currently developing an extension for Magento 2 but am facing an issue when I add an editor in the dynamic field.
Reference: https://developer.adobe.com/commerce/php/tutorials/admin/create-...
0
votes
1
answer
49
views
Magento 2 : when i am trying to use GetSalableQuantityDataBySku it will give me an error
I am new in magento. When I am trying to use GetSalableQuantityDataBySku" does not exist
magento throw me an error below error
i am use
event which i use : <event name="...
0
votes
1
answer
45
views
Class HtmlRenderer does not exist
can anybody help? I use magento 2.3.7 , php 7.4 and i can not do seup:di:compile
I tried to find the error, but it seems to be some file missing....Thanks.
[ReflectionException] ...
0
votes
1
answer
108
views
"Vendor autoload is not found." ..while file exists and composer is installed
I am currently getting the;
Autoload error
Vendor autoload is not found. Please run 'composer install' under application root directory.
Error when trying to load the frontend of my website (fresh ...
0
votes
1
answer
17
views
Magento 2 static content deploy duplications
I have Magento 2 installation with a lot of websites and one website has language which other websites don't. When I execute setup:static-content:deploy it generates the language for all store views I ...
0
votes
1
answer
90
views
Magento2 - How to customization of the invoice pdf deign using php not using phtml
example for this
// Add "INVOICE" text above the barcode
$font = \Zend_Pdf_Font::fontWithName(\Zend_Pdf_Font::FONT_HELVETICA);
$page->setFont($font, 26);
$page->setFillColor(new \...
0
votes
1
answer
302
views
FedEx RESTful APIs patch for Magento ver. 2.3.4
Getting email from FedEx
Magento ver. 2.3.4
Please be reminded that on and from 15 May 2024 our support for your connection with FedEx Web Services will end and be replaced by the new FedEx RESTful ...
0
votes
1
answer
40
views
Shipment comment
I am trying to update a comment for an existing shipment, but I keep getting err mssg:
{"message": "Could not save the shipment comment."}
API and example I'm using are :
Method:...
0
votes
0
answers
326
views
UPS API Change to Auth2.0
Our client told us
On 5 June 2023 UPS began the sunset process for access key authentication in favour of the more secure OAuth 2.0 model for all APIs. This change impacts all API integrations and ...
0
votes
0
answers
31
views
Magento 2.3 to Magento 2.4 migration
Im currently switching servers and have installed a fresh Magento installation under version 2.4.3-p3. Our current store runds on magento 2.3.x. I want to migrate all customer data aswell as order ...
0
votes
1
answer
31
views
How to create a cron job for out of stock
How to create a cron job for out of stock that must daily run and check how many products are out of stock