Questions tagged [development]
Questions related to custom (PHP) development in Magento (as opposed to merely installing and configuring it)
215
questions
0
votes
0
answers
19
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 ...
0
votes
1
answer
51
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. ...
0
votes
1
answer
21
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 ...
0
votes
1
answer
69
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 ...
0
votes
0
answers
17
views
How to find a trustworthy Magento developer?
I am experiencing a problem after migrating from Magento 1.9.4 to Magento 2.4.2-p1 with the Unique constraint violation found' Error when updating existing orders as can be seen here:
'Unique ...
0
votes
0
answers
15
views
Magento Survey - Packt
I work as a Category Researcher for Packt, a leading global publisher of technical learning content for developers.
We're looking to develop products in this area and are actively looking for ...
0
votes
1
answer
38
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 ...
0
votes
0
answers
109
views
How to setup local development and database connection for Magento Commerce Cloud?
Here are the steps I already done, but still couldn't figure out to to setup local development environment from Commerce Cloud.
git pull the dev branch from magento commerce cloud
export database ...
0
votes
1
answer
171
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 ...
1
vote
0
answers
14
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/...
0
votes
1
answer
16
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\...
0
votes
1
answer
28
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 ...
0
votes
3
answers
72
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 ...
0
votes
2
answers
84
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 ...
0
votes
3
answers
44
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
0
votes
1
answer
13
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 ...
0
votes
1
answer
37
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 ...
0
votes
1
answer
234
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 ...
0
votes
1
answer
140
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 ...
0
votes
1
answer
39
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 ...
0
votes
0
answers
95
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 ...
0
votes
1
answer
71
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 ...
0
votes
1
answer
223
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 ...
0
votes
2
answers
162
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://...
6
votes
1
answer
155
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 ...
0
votes
1
answer
102
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 ...
0
votes
1
answer
293
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 ...
1
vote
1
answer
42
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 ...
1
vote
0
answers
26
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.
...
0
votes
1
answer
29
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 (...
0
votes
0
answers
122
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 ...
0
votes
1
answer
98
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 ...
2
votes
1
answer
1k
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 ...
0
votes
1
answer
823
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 ...
0
votes
2
answers
85
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 ...
4
votes
1
answer
1k
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 :),...
1
vote
0
answers
47
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 ...
2
votes
1
answer
520
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 ...
2
votes
1
answer
436
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/...
1
vote
0
answers
234
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 ...
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 ...
1
vote
0
answers
111
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.
...
0
votes
2
answers
221
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?
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/...
1
vote
0
answers
30
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 ...
1
vote
1
answer
90
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/...
0
votes
1
answer
372
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 ...
0
votes
2
answers
209
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 =>...
0
votes
0
answers
64
views
Need to remove Currency name(ie \gdp or \usd) from url in magento
I am new to Magento 1.9
I m trying to remove currency name from url and at the same time setting canonical url
1
vote
2
answers
614
views
Magento 2.3 Can't view module's front end page output?
I'm a bit of a noob when it comes to module development for Magento 2, and I need some help: I've started developing a module (for testing purposes) on a localhost installation of Magento 2.3. Now, I ...