All Questions
3,167 questions
0
votes
0
answers
46
views
You haven't provided your Magento authentication keys
I'm new in using Magento. Ok, I use Mage-OS.
All is very difficult and sometimes no way to found a valide answer for questions.
So I'm happy to find these forum and hope of your help.
I want to ...
0
votes
1
answer
70
views
My magento 2 website is freezing and stuck due to debugger
(function anonymous(
) {
debugger
})
I am getting this in source tab and whole website is freezing because of it. I have not added this code anywhere. How to find out what is the exact issue.
Also ...
0
votes
0
answers
21
views
Magento 2 Class not found error
I try to install this module modele in my Magento 2.4.6 store.
https://github.com/scriptbaker/magento2-ship-out-of-stock-items?tab=readme-ov-file
The module is installed fine and is activated.
But ...
0
votes
0
answers
32
views
Magento 2 Custom Module - Adding Category IDs
I have created a custom module called SpecialsSubCategory. The folder sits in app > code > Gelmar > SpecialsSubCategory. The file structures are as follows
SpecialsSubCategory > Controller ...
0
votes
2
answers
21
views
on click system configuration open tab not working
on this i faced this issue,
on click system configuration open tab but after click other tab magneto admin click not working i can not able click any where
enter link description here
0
votes
1
answer
35
views
Add fee to Payment method
I'm trying to add an extra fee to the order when the payment method is Cash on delivery and the shipping country is Greece.
I have created the following files:
app/code/HectorCustom/CodFee/...
0
votes
0
answers
20
views
Call to a member function isSaleable error
After I updated my Magento I got this error and it caused some issues like Add to cart etc.
An error message is:
#130 {main} {"exception":"[object] (Error(code: 0): Call to a member ...
0
votes
1
answer
44
views
Product name change
Is there a way or a program etc that can help to change products on 50k products in an easier way than Excel or do it one by one in Admin?
Thanks,
0
votes
3
answers
89
views
How to show custom block on success page programmatically
I'm using Magento 2.4.7-p1 and I'm trying to show programmatically a customer block on the success page from my module but without success.
The module seems correctly enabled and registered but the ...
0
votes
1
answer
110
views
Magento 2 - Add 2 New fields in bundle item option Selection
I'm trying to create a module which adds 2 fields in bundle option.
I've already managed to add 2 field:
However, it doesn't save the values in my database.
The columns are created, but they are not ...
0
votes
3
answers
130
views
Automatically set From Email and Name before sending an Email from Magento
My current requirement is to use AWS SES to send emails from my Magento(2.4.7) project. Since AWS also requires the from email which is a verified identity on SES itself. When i tried to configure ...
0
votes
0
answers
38
views
Magento 2 : Fail to override interface module
I face problem with extension interface in website.
My extension_attributes.xml:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
0
votes
0
answers
31
views
Magento 2 : Auto-deleting module files and theme files?
I'm still pretty new to Magento but have been editing some code for modules and themes today and whilst making the edits all the files relating to a module and/or theme have been completely removed. (...
1
vote
1
answer
80
views
ViewContent meta Pixel not passing product name parameter
We are using PWA Venia Reactjs setup and We integrated Meta pixel event called ViewContent in our site using below code :
src/components/ProductFullDetail/ProductFullDetail.Js
<script>
fbq('...
0
votes
1
answer
103
views
error filtering templat: Template file 'header.html' is not found in mail in magento 2.4.6
Send invoice email to custom mail address in magento 2 but
create custom email template but face this issue in magento 2.4.6
app/code/YourVendor/YourModule/etc/email_templates/invoice_email_template....
0
votes
1
answer
46
views
updating product description via coding correctly shows text on product page but admin side's edit description with pagebuilder shows old values?
In my custom module, I am able to set the description of an existing product successfully using the code below & the product url shows correct output for description:
$product = $this->...
0
votes
0
answers
32
views
Add product attribute data to cart data
I'm working on displaying two specific options, compound_id and medication_id, in the checkout data within Magento. At present, I've managed to display mif in the cart data, but that's outside the ...
0
votes
2
answers
256
views
There are no commands defined in the "setup:cron" namespace after upgrade to Magento 2.4.6-p3
After upgrading to magento 2.4.6-p3 in system.log and cron.log it is generating same error daily i.e -
main.ERROR: There are no commands defined in the "setup:cron" namespace.
Did you mean ...
0
votes
1
answer
156
views
Compilation from source: LESS file is empty:
I have upgraded my magento version from 2.4.0 to 2.4.6-p3 and in exceptions.log file i am continuously getting one error i.e
main.CRITICAL: Magento\Framework\View\Asset\ContentProcessorException: ...
0
votes
0
answers
20
views
Override Braintree Config.xml via Custom Module
Below is an except from vendor/paypal/module-braintree-core/etc/config.xml and I am curious how to add new credit card to, <cctypes_braintree_mapper> via a custom module.
Is this done via a di....
0
votes
0
answers
18
views
filtering by multiselect attribute displaying values in static block
When filtering by text attribute type the module block and phtml template retrieve values by attribute code, however its not not returning values on MultiSelect
ive tried the following:
// Build a ...
0
votes
0
answers
171
views
After upgrade to magento 2.4.6-p3, the pagination is not working
Upgraded my magento to 2.4.6 from 2.4.0 and the pagination is showing but it is not working. when i am clicking on page 2, it is not going on next page and the url is also not updating. Here is my ...
1
vote
0
answers
157
views
Magento 2.4 How to implement BfCache
I want to implement BFCache into Magento but did not find the proper resources for implementing it using a custom module.
BFCache Reference link : https://web.dev/articles/bfcache
Can anyone guide me ...
1
vote
0
answers
62
views
Adobe Live Search Compatibility Custom Extension
Can we make custom extension compatible with Adobe Live Search which not contains any specific entity data like Catalog, i.e.?
2
votes
0
answers
43
views
Sorting custom columns from module that extends another module containing all the data (collections, data providers, etc.)
I have two custom columns in UI grid (let's call them subscribed_customers" and "unique_purchases") created in particular listings that retrieve value from the database with logic. ...
0
votes
1
answer
48
views
rearrange more information & details tab in product details page in product details page
I need to change the default tab on product details to be more information tab, i make this edit in vendor, i replace this code
<block class="Magento\Catalog\Block\Product\View\Details&...
1
vote
0
answers
58
views
Error: Cannot instantiate interface Magento\ReCaptchaWebapiApi\Api\WebapiValidationConfigProviderInterface
I have just upgraded my magento version from 2.4.0 to 2.4.6 and i am getting this issue on checkout shipping page and shiiping methods are not displaying.
Error: Cannot instantiate interface Magento\...
0
votes
1
answer
47
views
Change layout based on url parameter - Magento 2.4
We created a custom module, to load a observer before layout_load_before. And then we would like to change the custom layout, based on a url parameter ?content-only=yes. For some reason it does not ...
2
votes
1
answer
413
views
Call to a member function isGlobalScopeEnabled() on null
I have just updated my magento version from 2.4.0 to 2.4.6 and i am getting this error on frontend.Please suggest any solution. Also i have custom theme but i am not getting why this error is occuring....
1
vote
2
answers
2k
views
Zend framework is deprecated in magento 2.4.6
I have just upgraded my Magento version from 2.4.0 to 2.4.6 and it is giving this error while opening admin. please suggest any solution
1 exception(s):
Exception #0 (Exception): User Deprecated ...
0
votes
1
answer
63
views
Magento 2: REST API Endpoint uses wrong locale
I'm implementing an endpoint where the users can create products from a CSV, using the same logic that Magento implements in the backend to import CSV seems to work great but I have a problem, the ...
0
votes
3
answers
55
views
Preference Module - When to Pass in Parent Dependencies
I am currently creating a preference module to add additional functionality to \Magento\Catalog\Model\Product and in reviewing some of the tutorials, example below, I noted that dependencies weren't ...
1
vote
1
answer
72
views
Event observer hangs on order creation
Situation:
I'm creating a Magento 2 module that listens to specific event observers, gets the ID's associated with those events, and sends them to a third-party Node app. This Node app will receive ...
1
vote
1
answer
604
views
How To Disable Page Builder for specific form field in Magento 2?
I want to disable the page builder for specific fields in my custom module.
I want to show the default wysiwyg editor.
and all other page I need page builder with wysiwyg editor
Here is my UI ...
1
vote
1
answer
235
views
Magento 2.4.6: Getting error "Namespace not defined properly" when compile command running
When I am trying to compile, then I am getting Below error:
Namespace not defined properly
you can see proper command running here :
www-data@robert-php-fpm:/var/www/html$ bin/magento setup:di:...
1
vote
1
answer
97
views
Update increment pad length in orders to remove leading zero's
I'm looking for the most up to date and most recommended way to update increment_pad_length I've seen many posts about direct with sql statements and other with di.xml eg:
<?xml version="1.0&...
0
votes
0
answers
49
views
Child block is not loaded when the main block is called in a CMS page
I made a custom module block with the following layout:
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:...
1
vote
1
answer
436
views
Create an incoming data Magento 2 Webhook
I am looking into creating a module which would listen to incoming data from another custom service.
For example, the said external service would send data to domain.com/webhook (which would be ...
0
votes
1
answer
46
views
Magento 2.4 - Dropshipping module help
I am attempting to work on a module that will send an email to several different dropshippers when an order is placed. I am not getting errors after a few tweeks. although. i'm not receiving any ...
0
votes
2
answers
197
views
Cron job that delete customer in database
below is the cron job code that suppose to delete customer if they have value of 1 in deleteOrders field but it not doing that, what am i missing?
<?php
namespace Vendor\ThreeYearOrders\Cron;
use ...
0
votes
1
answer
436
views
Trying to listen to the add to cart event
This is my first time playing around with Magento. I'm building a module and I want to listen when a product is added to the cart so, I've tried to use the ...
0
votes
1
answer
28
views
Apply the custom module optionally
Is it possible in Magento 2 to apply the custom module only if some condition is true?
The module is installed through composer and enabled. The installed module overrides the standard Magento ...
0
votes
1
answer
466
views
what does $this->_coreRegistry->registry('current_category') return in magento 2?
what does $this->_coreRegistry->registry('current_category') return in magento 2 ?
0
votes
1
answer
48
views
How to send the separate orderconfirmation mail for admin and customer
I created a custom module to send the separate mail for admin and customer but its not working.could you please suggest me regarding this so i can proceed forward.
0
votes
1
answer
170
views
add progress bar in minicart magento 2
I'm new to Magento, I have this module which adds progress bar in cart summary
https://github.com/christophermallory/magento2-freeshipping-progress-bar,
I want to add it to minicart
0
votes
1
answer
102
views
I'm trying to install sample data
The "https://repo.magento.com/archives/magento/sample-data-media/magento-sa
mple-data-media-100.4.0.0.zip" file could not be written to C:\xampp2\htdoc
s\myhikmadh/vendor/composer/tmp-...
0
votes
1
answer
29
views
my First Admin Page is not shown up
I try to write a own module. After 1 week of searching I hope u can help to go on.
Its a very simple admin page.
module_dir: app/code/famberg/module_afterbuysync/
... Controller/Adminhtml/Settings/...
1
vote
0
answers
309
views
Magento 2 - Error with new custom module - Impossible to process constructor argument Parameter #1
Does anyone have any idea what this error is when running this command in magento 2: setup:upgrade for a custom module?
Here is the error:
Impossible to process constructor argument Parameter #1 [ <...
0
votes
1
answer
298
views
Error in Postman and show that Invalid type for value: \"%productId%\
I have developed a module in my magento 2.2.6 for to create an API that can update the product price and quantity via product id . Please see my code below
/var/www/html/app/code/AdmNetsuitePQ/...
0
votes
1
answer
188
views
Can you restore old Magento catalog and product data?
our Magento catalog database has undergone an update which mixed items together and caused chaos.
Can we somehow extract old product data (product numbers, categories, which products were contained in ...