Questions tagged [development]

Questions related to custom (PHP) development in Magento (as opposed to merely installing and configuring it)

Filter by
Sorted by
Tagged with
0 votes
1 answer
82 views

how to solve "lock file but not in remote repositories, make sure you avoid updating this package to keep the one from the lock file."?

Problem 1 - Root composer.json requires stripe/stripe-payments ^3.3.0, found stripe/stripe-payments[3.3.0] in the lock file but not in remote repositories, make sure you avoid updating this package to ...
hari prabhu's user avatar
0 votes
0 answers
41 views

Grunt task for the tailwind in magento 2 frontend

We are working on the custom theme with the tailwindCSS. Normal Magento flow is taking a long time to reflect the changes on the browser. My question is there any configuration or way to use Grunt to ...
Naveen Raj Kumar's user avatar
0 votes
0 answers
46 views

How I can seed a user with a quote?

I am developing a functionality where I need a user with quoted. But for development speed I want to create via command-line a single user with 2 quotes for a specific website. Is there a tool that ...
Dimitrios Desyllas's user avatar
0 votes
1 answer
32 views

How to use Multiple custom .less files in Magento 2 using Grunt.js

We are developing a custom theme for our Front Store view so we need to use multiple .less files in web/css/source. with the help of Grunt.js, the development makes us faster than manually generating ...
Naveen Raj Kumar's user avatar
0 votes
1 answer
60 views

Getting Magento 2 developer course online

Would you please let me know Where I can get Magento 2 online course. Thanks
Ali Reza's user avatar
0 votes
0 answers
403 views

Local PC development w/ ElasticSearch - High Memory Usage makes my desktop unusable

I´m new to Magento and I´m trying to install Magento locally in my work desktop to test my code development before pushing it back to the Integration Branch. I already tried with the "Local ...
DecoMartins's user avatar
0 votes
1 answer
89 views

Change magento2 installation

I have taken over a magento 2.3.3-p1 project. Unfortunately, the installation was done by cloning the repo from github and not using composer. So all magento core modules are under app/code/magento. ...
Andrea Gregorio Mastracchio's user avatar
0 votes
1 answer
120 views

How to create a custom module after installing magento docker image?

I have successfully set up a magento docker image with the help of Adobe DevDocs. But when I tried to create a custom module under the directory of /app/code. I met lots of error when I tried to ...
王依依's user avatar
0 votes
1 answer
127 views

How to speed up Magento 2 development process?

I find the development of Magento 2 technical solutions (plugins, themes, etc.) very slow. If I do some JS changes, I need to redeploy the static content each time, if I do some changes in the PHP ...
Kloppo's user avatar
  • 95
0 votes
1 answer
245 views

How is the CSV file in table rate shipping parsed

In Magento 2, I want to know how the CSV file that we upload to table rate shipping parsed in code. For example, is it directly opened as a text stream and searched using PHP, or is it loaded to a ...
Lennox Sherwin's user avatar
0 votes
1 answer
386 views

Magento Cloud Docker Can't get version of elasticsearch: cURL error 6: Could not resolve host: elasticsearch

I want to set up a Local Development Environment with Docker but I have no experience with Docker. I ran ./bin/magento-docker ece-deployand get the error: ERROR: [132] Can't get version of ...
Th. Schott's user avatar
1 vote
0 answers
18 views

Different frontend CSS results (Grunt vs deploy:mode:set production)

I have a weird issue where the frontend results of a grunt compile are different compared to a compilation after deploy:mode:set production. UI elements are different. Why is that? How can I debug/...
Akif's user avatar
  • 1,531
0 votes
1 answer
23 views

Invalid argument supplied for foreach() in Status.php

I have Magento 2.3. I created Status.php in Banner/Slider/Model/Slider/Source but it gives an error Invalid argument supplied for foreach() in C:\xampp\htdocs\mag3\app\code\Banner\Slider\Model\Slider\...
Hassan Kamar's user avatar
0 votes
1 answer
87 views

Magento 2.1.10 ce Developer Documentation

Where can I find the Developer Documentation for an older version of Magento, specifically, version 2.1.10. Magento's website only has the DeVDocs for 2.2 and while these are okay I would they aren't ...
A. Andersen's user avatar
0 votes
3 answers
118 views

Which Magento version is best for windows local development?

This might sound subjective but I can't help but to post it here in the Stack. I was really struggling with Magento 2 installation setup. I am trying to setup a Magento 2 local windows dev environment ...
fmsthird's user avatar
  • 4,592
0 votes
2 answers
133 views

Run Magento 2 On low end system resources,

I saw a system with below configuration :- dual core processor 8 gb ddr3 Ram 240 gb SSD windows 10 I've tried to run Magento 2 in it using Bitnami stack, but its very slow. Is their any other way or ...
Hamendra Sunthwal's user avatar
0 votes
3 answers
63 views

How to hide menu product page

I need help to know How to edit, delete or hide menu (More Information and Reviews) on product page magento 2. http://prntscr.com/v91f8b
Achille's user avatar
  • 17
0 votes
1 answer
84 views

use custom shipping method to calculate shipping price in another section of the marketplace (rma)

I have a problem, I am creating a custom module of rma, the module must allow to calculate the price of the shipment. Additionally I have a custom shipping module that works correctly in the purchase ...
Andres Ramirez's user avatar
0 votes
1 answer
43 views

How to deal with API integrations and deployment when developing locally for magento?

I'm trying to set up a nice development environment for magento. Naturally, I also try to take deployment into consideration. This is why I chose to implement docker containers. My project is very ...
Yuri Borges's user avatar
0 votes
1 answer
363 views

best way to use magento 2.4 on windows 10 for development

I am using magento 2.4 on wamp in windows 10 with 500GB hard disk core i5 processor and 12GB RAM. I am developing a functionalities in magento 2.4 instance but problem is magento 2.4 is slow without ...
Niraj Patel's user avatar
0 votes
1 answer
201 views

Magento 2 Module Development Workflow

What is the most Optimal Development Workflow using Magento 2.3.5 in 2020? I've got a Task to create Magento 2 Module. When i upload the written code to server the page doesn't update the code (CSS ...
Piotr's user avatar
  • 13
0 votes
1 answer
101 views

Magento2 importer importing only 400 rows everytime

I need to import 19000 price list in Magento system. My client break it into bunch of 5000 each. While importing we noticed a weird behaviour that everytime when importing every batch only 400 ...
Narendra Vyas's user avatar
0 votes
0 answers
224 views

Magento 2 local development incredibly slow, on powerful mac

When I say slow, I'm talking about over 3 minutes to load the customer signup page, which doesn't even do a db call! I have a 2015 imac with 32gb ram, and a 50% empty ssd. I'm not using any VM, just ...
web master's user avatar
0 votes
1 answer
111 views

How to add custom payment module development logs?

I am attempting to build a custom payment module but as far as I got I get the error message sh: -t not found when checking out a test order I saw this question but the link in the answer is broken, I ...
Fuseteam's user avatar
  • 113
0 votes
1 answer
483 views

How to detect if the store is using developer mode via browser?

I usually do some store audits even without ssh access, and I'd like to be more precise checking if the store is using developer mode just browsing through the browser console. How could I check if ...
Rafael Corrêa Gomes's user avatar
0 votes
2 answers
496 views

Override Magento 2 Order Invoice PDF

I can not seem to override the Magento Invoice class. I've created a module, installed it, enabled it. I have the following in my di.xml file <?xml version="1.0"?> <config xmlns:xsi="http://...
Josh Harmon's user avatar
6 votes
1 answer
343 views

Where can I find official documentation of the internal functions and methods used by Magento's default/core modules?

Am I missing something or does Magento not provide any documentation about the core/default modules it uses? Let's use an example: say I want to create a module which incorporates various core ...
WackGet's user avatar
  • 1,188
0 votes
1 answer
171 views

Magento2 - How to develop for Magento Enterprise Edition

One of our client asked us to implement an ecommerce solution based on Magento2 Enterprise Edition for which they have a license. We, as contractors, don't hold the license, and the client don't want ...
Eric MORAND's user avatar
0 votes
1 answer
368 views

magento 2 :- Installation stuck at 75% on ubuntu OS

Details of Console Log:- Starting Magento installation: File permissions check... Required extensions check... Enabling Maintenance Mode... Installing deployment configuration... Installing ...
Akash Killedar's user avatar
1 vote
1 answer
45 views

Does recommend work with Both M1 and M2 after successful Data migration using data migration tool?

We are under developing Magento 2.3.3 website, still Magento 1.9 site live. After successful Data migration using data migration tool from m1 to m2. Note : Still m1 live upcoming 5 months as well as ...
zus's user avatar
  • 165
1 vote
0 answers
87 views

Magento connect to verrified reveiews module (avis-verifies ) from different server

i want to test "avis verifies" module on a development server. the problem i facing that the module's already connected to a production server and i can't syncronize the account with the dev server. ...
Mohamed Amine ARAGRAG's user avatar
0 votes
1 answer
32 views

Assigning different BASE_URL for developer mode only

I that possible? I want to do this to set up a configuration like this: https://mystore.mydomain.com/ for production (with Varnish cache) https://mystore.mydomain.com:5001/ for development (...
W.M.'s user avatar
  • 101
0 votes
0 answers
150 views

How to create extension in Magento 2.3.3?

I am familiar with Magento 2 extension development but can anyone explain step by step extension development changes in Magento 2.3.3 by writing a simple "Hello_World" extension. In Magento 2.3.x no ...
Sanjay Gohil's user avatar
  • 2,200
0 votes
1 answer
119 views

Magento 2 - Get all team members on a page

I begin in Magento development and I try to do something but I don't know how to start. I want to display on a "about us" company page all team members of a company, for example in WordPress we have ...
Robert's user avatar
  • 23
3 votes
1 answer
3k views

magento dev:urn-catalog:generate command fails to detect secret file

I'm running the following command "magento dev:urn-catalog:generate .idea/misc.xml " to use the functionality of Magento 2 to automatically resolve all my URN's so PhpStorm will stop giving me ...
Theodor_D.'s user avatar
0 votes
1 answer
1k views

How can i add block to existing layout in catalog_category_view.xml?

I want change layout of catalaog_category_view.xml but i can't. I override block category.products and it's work but how can i add my own block to existing category.products block? Because i want add ...
Pepe44's user avatar
  • 43
0 votes
2 answers
127 views

Magento 2 changing from production to developer I get error Element 'remove': This element is not expected

Magento ver. 2.2.7 Template: Techno Themevast: https://themeforest.net/item/techno-store-electronic-magento-2-theme/22239747 In developer mode everything was working. I switched to production and it ...
Oktarin's user avatar
  • 117
4 votes
1 answer
2k views

What are some important concepts to learn in Magento 2 for Interview?

This is a general question. I don't know whether it's correct to ask here but I hope I will certainly get help with this. Currently, I'm looking for a Job in Magento. I know Magento is like a Sea :),...
Siva's user avatar
  • 1,120
1 vote
0 answers
57 views

How to make Magento2 development environment fast?

I was trying to make changes on frontend but the site load very slow Whenever I disabled the cache. Please help, How could i make it faster like in 2-3 sec? I even trying to setup docker environment ...
jactology's user avatar
2 votes
1 answer
809 views

How to setup permissions for Bitnami Virtual Machine and PhpStorm?

I downloaded Bitnami's Magento VM (OVA, using it in vmware on windows). It is a Debian 9 (Debian GNU/Linux 9.8 (stretch)) with Apache/2.4.39 (Unix), PHP 7.1.27. By default, it is configured to serve ...
szabkel's user avatar
  • 143
2 votes
1 answer
621 views

Magento 2 - Adding external link for Font Awesome URL

Here I am making my own theme and I want to add font-awesome external URL. I have created a file in my custom-theme directory in the path app/design/frontend/vendor/theme_name/Magento_Theme/...
Mudasser Hayat's user avatar
1 vote
0 answers
317 views

Programmatically open product listing with filters enabled

Is it possible to open the product listing page in backend enabling some filter? In particular, I have a custom module with an observer linked to a controller_action_predispatch event. In the ...
Marco Pallante's user avatar
1 vote
1 answer
2k views

Magento 2 - Add custom sort by option in cattegory page and make it default

I have added custom sort by option "random" for category page. I have used following code to add random option: I have used plugin . app/code/DL/CustomSortOption/etc/frontend/di.xml <config ...
Mudasser Hayat's user avatar
1 vote
0 answers
117 views

Magento Goal Conversion Tracking

I'm trying to track member applications referred by my CPC Ads. I've set everything up on the Adwords end to track this and they have produced a snippet to place in the header of the "thank you" page. ...
Aaron's user avatar
  • 11
0 votes
2 answers
294 views

Magento 2: Frontend workflow on windows too slow

I am using XAMPP with php set up with memory_limit 2GB and max_input_vars set to 10000. Is there anything else I can do to speed up performance of Magento 2 on windows?
Vivek Kumar's user avatar
  • 5,395
0 votes
0 answers
28 views

Geting Error In Checkout Page Magento 2.2.6 [duplicate]

I Getting This Error On My Checkout page in magento 2.2.6 Version. When I Open error_log File From public_html Directory Then Here Showing this message ` /home/khalis/public_html/vendor/magento/...
Abdullah's user avatar
1 vote
0 answers
35 views

magento 1 additional option of type file to cart programatically

i want to add custom option of file type while product is adding to cart. like i will be giving a customer an option to choose image from his computer, and when customer choose and hit add to cart ...
Farooq Bellard's user avatar
2 votes
2 answers
217 views

Profiler is always overwriting the CSV file to debug multiple subsequent requests

I have enabled the profiler in order to find out which events are triggered during order creation and processing. php bin/magento dev:profiler:enable csvfile But it is alway overwriting var/log/...
Alex's user avatar
  • 13.8k
0 votes
1 answer
407 views

Custom script results in Call to a member function on null

I use the following script to update the stock levels of products from a csv. Worked well until recently, where I created a custom observer where I am checking if the product save occurred in the ...
Vaishal Patel's user avatar
0 votes
2 answers
282 views

Geting Error In Checkout Page Magento

AnyOne Tells me How to fix this issue This error showing in Only Checkout page. 1 exception(s): Exception #0 (InvalidArgumentException): Boolean value is expected, supported values: array ( 0 =>...
Abdullah's user avatar

1
2 3 4 5