Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
SoEgal's user avatar
  • 1
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 ...
Tisha Jhanwar's user avatar
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 ...
Rorke's user avatar
  • 1
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
harish digitsoftsol's user avatar
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/...
Dimitra's user avatar
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,
Jan-petter Havna's user avatar
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 ...
KaMZaTa's user avatar
  • 235
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 ...
Petacchi's user avatar
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:...
Matias's user avatar
  • 1
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->...
raza19's user avatar
  • 23
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 ...
Chris's user avatar
  • 1
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 ...
Msquare's user avatar
  • 9,328
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.?
Yash's user avatar
  • 11
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 ...
Jesus's user avatar
  • 1
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 ...
cereallarceny's user avatar
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 ...
user avatar
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:...
mugnozzo's user avatar
  • 103
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 ...
Deggial's user avatar
  • 130
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 ...
Bayzel's user avatar
  • 187
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 ...
kevkevdev's user avatar
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 ...
lubart's user avatar
  • 101
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 ?
duies's user avatar
  • 3
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.
Mohit Thakur's user avatar
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
Khaled Yahya's user avatar
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-...
Noor Mohamed's user avatar
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/...
Michael Berg's user avatar
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 [ <...
gcupat's user avatar
  • 11
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/...
Abilash Erikson's user avatar
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 ...
Inu's user avatar
  • 1
0 votes
1 answer
732 views

How to setup magento coding standard for the Magento 2 version

I am trying to set the magento coding standard in the Magento 2 version. I followed this link: https://github.com/magento-ecg/coding-standard. When I check code sniffer for the directory path: /...
Manoj Jarial's user avatar
0 votes
2 answers
132 views

how to return custom data with response in Customer API

I am calling Magento2 API /V1/customers/me I want to add custom data in response of this API that is stored in my custom table how can I implement this ? Thanks !!
Syed Hassan Zamir's user avatar
0 votes
0 answers
86 views

Resource access issue for an Integration of custom module

I am using Magento 2.4.5  I created an Integration for my custom module. I am successful in generating the oauth_token & oauth_token_secret. But when I want to see an order using API, I get a 401 ...
Md Shariful Islam's user avatar
0 votes
2 answers
37 views

Local setup after disabling Magento_TwoFactorAuth admin panel still ask for Security Code

After local setup, I have disabled Magento_TwoFactorAuth and changed the value of Magento_TwoFactorAuth to 0 in config.php and still can't log in to the admin panel Security Code: After changing ...
Mac's user avatar
  • 1
0 votes
0 answers
146 views

Upgrade to 2.4.5-p1 app/code modules not recognized in setup:upgrade command

Upgrading from Magento 2.3.x to 2.4.5-p1, having sorted through the various PHP 8.1 issues, running setup:upgrade from the cli finishes, but the front end reports the standard Please upgrade your ...
theJoey's user avatar
0 votes
1 answer
632 views

Using a data patch to add the block into cms page

my task sounds like : "Using a data patch to add the block into cms page" i have data patch cms block class CmcBlock implements DataPatchInterface { const CMC_BLOCK = 'first_cmc_block';...
esca7a's user avatar
  • 21
1 vote
1 answer
35 views

Getting and Error

I'm installing SEO Suite Installation via Composer but during installation I'm getting an error. Can anyone help me for the solution of this. Screenshot of error is attached.
Sufyan Ahmed's user avatar
1 vote
1 answer
803 views

Module doesn't work when placed in `app/code`

i'm editing a Magento 2 module. If i install the module via composer require, then run all the necessary commands, the module works. If i manually copy the module files from vendor/{vendorname}/{...
aetonsi's user avatar
  • 113
1 vote
1 answer
201 views

How to instantiate an helper class from my custom module in a test program in the directory at the same level as the root of Magento?

With the code below, I'm trying to instantiate an helper class from my custom module. // Sanitize the $_GET[] value // Create an object of the order loaded with the $order_id passed as query string. $...
CodeForGood's user avatar
4 votes
2 answers
128 views

Injecting code into theme product page

The may well be too broad of a question, but I'm having extreme difficulty finding any answers. I want to know if its possible to add a phtml block/view to a product page when you have a theme ...
Daniel Bowen's user avatar
2 votes
1 answer
41 views

overwrite 2 templates file by custom module, still loading the core files

I am using Magento 2.4.3p-1 I have 2 files vendor/Aw/Review/view/frontend/templates/email/review/request_form.phtml vendor/Aw/Review/view/frontend/email/review_reminder.html Since those 2 files in ...
Paul Fan's user avatar
  • 658
2 votes
0 answers
423 views

How can I display a multilingual store from right to left for Arabic store view?

welcome everybody. I'm Mostafa from Egypt, new to Magento. I installed magento 2.4.5 in localhost, and used the default theme "Luma", and added the Arabic language pack for the system, and ...
Mostafa Sayed's user avatar
1 vote
2 answers
95 views

layout messed up for Prince_Productattach module for magento 2.3.3

I am using a Prince_Productattach module on my Magento 2.3.3 CE, how can I troubleshoot some issues on the frontend. as the diagram shown, the product attach block display on two places, i didn't ...
Dennis Chan's user avatar
0 votes
2 answers
308 views

How to uninstall Stripe module installed in app/code

One of our client stores has had Stripe module installed in app/code as shown in the image below. I need to uninstall it and reinstall its latest version in vendor folder. Could you please share ...
CodeForGood's user avatar
2 votes
2 answers
2k views

Magento2: How to create a patch for custom module composer.json?

I want to know that can we create patch for some changes in composer.json of custom module. I am talking about custom module composer not magento composer. Its just like changes but instead of any php ...
Ralph Rhodes's user avatar
1 vote
3 answers
6k views

Deprecated Functionality: Optional parameter $data declared

We're in the process of upgrading our store from Magento 2.4.2 to 2.4.4 and encountered the error shown in the image below. Please help us fix this issue. Script in the project folder: <?php ...
CodeForGood's user avatar
0 votes
2 answers
98 views

Delete Custom module

I am new to magento development, made a custom module Vendor: Scandiweb Module: Scandiweb_Test The naming convention is not correct so I decided to delete it, I can't run module:uninstall because its ...
Saad Amir's user avatar
0 votes
0 answers
88 views

ERROR in bin/magento dev:urn-catalog:generate .idea/misc.xml

I am getting File ".idea/misc.xml" cannot be opened Warning!fopen(.idea/misc.xml): failed to open stream: No such file or directory while trying to generate urn AND YES the folder ./idea ...
Ashton's user avatar
  • 1
1 vote
2 answers
857 views

Magento 2. Failed to submit module to Magento Marketplace. setup/config/application.config.php failed to open stream

I am unable to submit a new module or update a existing module in the Magento Marketplace. For all modules/new versions, I get the error during the Technical Review at the Installation & Varnish ...
Victor S.'s user avatar
  • 320
0 votes
2 answers
432 views

Magento 2: how to specify the module name in custom theme?

I need to override success.phtml file from module vendor/magento/module-inventory-in-store-pickup-frontend/view/frontend/templates/success.phtml I'm not sure how to get the module name from module-...
CodeForGood's user avatar
0 votes
2 answers
20 views

Can not add2cart grouped product when 1 input field is diabled

I need to disable the input field when customergroup = 0 or 1 and quantity is < 0 but when I add the argument 'disabled' to the input, the add2cart button does not put the other available items in ...
Rene Donkers's user avatar

1
2 3 4 5
29