Skip to main content

Questions tagged [magento2]

Magento 2 is an eCommerce project facilitating the improvement of Magento Core products. Written in PHP-Zend Framework. Available under both open-source and commercial licenses via Adobe Commerce.

0 votes
1 answer
5k views

Magento2 move block

I tried to replace the default discount block. Unfortunately, the block is always located on the bottom of the container. I can't move it to the default block position. my xml - <?xml ...
Barbarich.p's user avatar
1 vote
5 answers
6k views

Custom module not working in Magento2

I have been trying to setup a basic module in Magento2, it keeps throwing 404 despite doing all the ideal changes. Below is the code related to the module. My vendor name is Chirag and module name is ...
Chiragit007's user avatar
  • 1,646
0 votes
1 answer
298 views

Magento 2 analog for core_block_abstract_prepare_layout_before(after)

I need to get a block after _prepareLayout and before render on the product page in Magento 2 (for example, for change title in head block). I tried the controller_action_layout_render_before event ...
sergei.sss's user avatar
1 vote
2 answers
3k views

Need a Magento Event that will fire after changing the shipping address of an order

I have been trying events left and right trying to find one that fires right after updating the shipping address of an order via the magento admin. I have tried a number of things I found on here, as ...
MediaGiantDesign's user avatar
1 vote
1 answer
416 views

Use Magento 2 in production

Hello Stack Overflow Community, i want to use a multiple store infra structure and i decided to use Magento. i looked for a composer installation and i found one. So i installed Magento. the problem ...
Chris Incoqnito's user avatar
1 vote
3 answers
5k views

magento 2 custom phtml page

Having just got myself acquainted (enough) with Magento 1.9, and able to make the customisations required, I've been told that once it's out, we're moving to Magento v2.0. Having found the ...
user3867548's user avatar
12 votes
5 answers
16k views

Installing magento 2 does not deploy the /pub/static/frontend and backend

I'm having this weird error and I did not suceed to find the origin. First of all I would like to say that I succeeded to perform some installation of Magento 2 on a windows os with a xampp server ...
Anselme's user avatar
  • 519
2 votes
3 answers
7k views

Magento 2 static files not generated

Cloned Magento2 from github sources here : https://github.com/magento/magento2 The installation went fine. However some issues appeared when browser is downloading static files. Multiple files ...
sitilge's user avatar
  • 3,727
2 votes
1 answer
999 views

LEMP - Magento displays blank page

Trying to setup Magento2 on my LEMP stack. Was following the instructions here and here (did that after compiling from sources for multiple time since it was hard to fulfill composer requirements for ...
sitilge's user avatar
  • 3,727
0 votes
4 answers
5k views

Conflict when installing PHP intl extension for composer on Centos 7

I am trying to do a Magento 2 DRC installation on a remote linux server, running Centos 7, Apache 2.4.6, MariaDB and PHP v5.6.9. When I try to install Composer I get the following message: $ cd /var/...
Jeremy Nicholson's user avatar
1 vote
1 answer
2k views

How to get list carts with magento API?

I working on Magento with carts. I using SOAP to create cart and add products to it. but can i get list of carts. And how to active it. In dashboard of magento admin, i see Reports > Shopping ...
Ninh's user avatar
  • 159
1 vote
2 answers
2k views

magento how to change session handler to memcached?

I am a newbie at Magento and my server's default php session handler is memcached. I just installed Magento (version 2) and I keep getting error: open(localhost:11211/sess_qmnpedun2j0ie0jed9g8r08pd0, ...
Gasim's user avatar
  • 7,831
0 votes
1 answer
586 views

how to write syntax for key value fair symfony console

I want to update inventory based on sku. For example php magento update_inventory --sku&quantity=array(1001,10) --sku&quantity=array(1002,20) --sku&quantity=array(1003,30) But I’m not ...
Sivakumar K's user avatar
2 votes
2 answers
11k views

How to override Controller in Magento2?

I want to override the Controller behaviour of the existing Magento/* module. I want to create my own Magento/Customer/Controller/Account/LoginPost.php-implementation. How can I do this? Dependency ...
wit0ld's user avatar
  • 160
3 votes
4 answers
12k views

How can I get product list with its detail in rest API backend is magento2

I'm working on native mobile application backend is magento2 and I want to display product after customer selected a category. I am able to get list of the product by category in rest request but that ...
er.vish's user avatar
  • 267

15 30 50 per page