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
1answer
20 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
0answers
7 views

What is the best way to set up a global “development” module in my development environment for all branches?

I want to be able to use some development specific modules for testing on different branches. Can this be done using modman for M2, if so how? In some situations I could ask the repository manager to ...
0
votes
2answers
33 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
1answer
90 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
1answer
20 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
1answer
35 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 ...
0
votes
0answers
396 views

how to display sidebar after categories or products on the category on mobile magento 2

does anyone know a way to set the sidebar to display after categories or products on that category on mobile devices? See images below, image1 from a pc chrome browser and image1 is from an ...
1
vote
1answer
37 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
0answers
12 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
1answer
27 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
0answers
79 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
0answers
22 views

Local Development allowing integration with MCOM and Credit Card Provider

Hoping someone has some suggestions on how to connect all the services/solutions needed so we can develop on local. On my local Mac I run a Vagrant instance of an Ubuntu server and required services ...
0
votes
1answer
27 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 ...
1
vote
0answers
214 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
1answer
248 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
2answers
41 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
1answer
753 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
0answers
28 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
1answer
275 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
1answer
168 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
0answers
87 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
1answer
463 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
0answers
66 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
2answers
130 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
0answers
27 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
0answers
26 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
1answer
38 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
1answer
248 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
2answers
101 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
0answers
58 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
2answers
416 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 ...
1
vote
0answers
19 views

What causes the Magento2 interfaces and APIs to leak implementation details at every orifice?

One of the things that surprised me so much, after spending multiple times more than working with typical platform, is the degree undocumented and ever changing implementation details must be known to ...
3
votes
3answers
394 views

Magento Development environment database setup

Our company is new at Magento development so we are still figuring out a good dev cycle. I read the guide that Magento provided. But still not sure on how to develop with a team (5-10 people). Our ...
1
vote
4answers
301 views

How do you create a zip file after developing the module?

I have been developing WordPress plugin since more than 5 years. Since all files in WP plugin in one folder, it is very easy to create a zip file. But it is very different in Magento. After I finish ...
2
votes
1answer
427 views

How to use GrumPHP with Magento2?

I would like to use GrumPHP with my Magento 2, to be able to run simple verifications during my development, how can I do that?
3
votes
3answers
746 views

Faster ways of developing for magento 2

What platforms do Magento 2 developers use to code live? By this I mean, make a change and view it in browser as soon as I save my file. I was thinking that I could use Nano to create files and do ...
1
vote
1answer
99 views

Magento 1 - Color Picker does not show in backend

I developed a extension where you can set specific settings in the backend. I made an input field which should spawn a color picker on click. It works great on Magento 1.8 but fails with Magento 1.9....
7
votes
6answers
5k views

Best practice for local development

I've been trying to find the best way on how to develop a Magento 2 webshop locally. So far, I had no luck: lots of JS, CSS and 404 errors (on which I tried lots of fixes which only partly solved my ...
3
votes
7answers
2k views

Magento 2 : Development is extremely slow?

I spent a lot of time learning core concepts, and now I have a decent understanding of Magento 2. However I am spending days, not hours, trying to make even tiny changes, like changing layout, I need ...
1
vote
1answer
844 views

How to edit font size of product title in catalog page

I need to edit the font for the product titles in the catalog page. I believe it is referenced by "product-item-link" or "product-item-name" ?
0
votes
1answer
12 views

Building Magento online vs Download and building locally

I see that Magento can be downloaded and your store can be developed locally and then uploaded or you can develop it online using softaculous to install it. I want to know if there any advantage/...
1
vote
0answers
35 views

How to add fixed cost to Mage_Shipping_Model_Rate_Request in Magento2?

I want to add some fixed cost like 50$ for all any shipping methods has selected when specific product in cart.
0
votes
1answer
26 views

Magento 2 : Need Slider on Page Other Than Homepage

I want to add slider on magento page and want to remove breadcrumb from other than homepage. Any body can advice how can I add slider to page other than homepage, and how can I remove breadcrumb ...
1
vote
0answers
140 views

MFTF and the replacement of the Functional Testing Framework

I would like to understand more about how this works and how to utilize it properly. I do know It’s not available in the latest version of Magento installed by Composer. You need to install Magento ...
2
votes
0answers
220 views

What's the point/gain/advantage of knockout.js in Magento 2? [closed]

I am trying not to let this slide into a rant. I am a long time magento 1 developer and just recently started with m2. I was really excited about the prospects of greater performance and the absense ...
0
votes
1answer
128 views

SOLVED - Moving Magento 2.2.2 development environment to production environment

I'm trying create and manage my Magento project with 2 domain on my webserver. I'm using Magento 2.2.2. 1. dev.test.com => for development. 2. test.com => for production. My idea is using github repo ...
1
vote
2answers
35 views

Magento 2 : Redirect in case it's not me during dev phase

I've already installed Magento 2 and started with config and uploading products - working quite nice. Now I'd like to forward all traffic to another website (currently just using a index.php with a ...
4
votes
3answers
961 views

Recommended developer environments

I'm aware this might not fall strictly into the stack exchange rules, however there seems to be growing frustration within the magento 2 world of development, but somewhere needs to try help people as ...
6
votes
2answers
324 views

What is the best guide to start developing Magento 2 modules? [closed]

I'm starting to develop modules for Magento 2, but the main documentation seems a little confusing... Since I know that are many experienced developers here, has come to me an idea to ask what ...
1
vote
1answer
95 views

Testing/Development Environment on local server

I need to create a local development environment and struggling a little with the setup. I want to replicate my live server as close as I possibly can. I hope I'm posting this question in a right ...