Questions tagged [magento2]

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

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

Add Products through Custom module in magento2

I'm trying to add number of products to cart at a time using custom module here is my module code app/code/Multiple/Addtocart/Controller/Index/Cartadd.php <?php namespace Multiple\...
0
votes
1answer
22 views

Magento 2 : Prevent stopping import execution in Magento 2

I am not able to find the code which is responsible for breaking import csv execution from magento import tool in backend. I do not want to terminate csv execution, even if error occur. Any thoughts ...
0
votes
4answers
3k views

How to upgrade magento 2.1.6 to 2.1.9?

I want to upgrade magento 2.1.6 to 2.1.9 ?How to upgrate it? Bellow admin site display message . Important Magento Open Source 2.1.9 and 2.0.16 Security Enhancements – 9/14/2017 Magento ...
0
votes
1answer
4k views

Submit Form Button uiComponent Magento2

I'm trying to add a simple submit button to my uiComponent, the block looks as follows: <?php namespace AppFactory\Basic\Block\Adminhtml\Slides; use Magento\Framework\View\Element\UiComponent\...
-1
votes
2answers
2k views

Magento 2 : Class interceptor does not exist [duplicate]

I have a simple module when I save data then this error : Magepow\Importexport\Controller\Adminhtml\Allimports\Save\Interceptor does not exist [] [] here is save file <?php namespace ...
-1
votes
1answer
1k views

Magento 2.2 customer custom attribute not saving in adminend [closed]

This is code I have used to add the attribute to customer via installData */ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { /*$eavSetup = $...
-1
votes
1answer
1k views

removing categorty in product page is giving error [duplicate]

We are facing issues - https://prnt.sc/mgdybf why we are not able to remove the Deal and Pre Owned category. Could not save product "26652" with position 0 to category 435 What is this error ...
-1
votes
1answer
115 views

HOw to create more than one extension attribute and how to set data init magento 2.3

How to set the data in the extension attribute which i created and how to create more the one extension attribute in single module. My Following code is in below link. URL : My Following code ...
-1
votes
1answer
37 views

Magento 2 : No such entity with %fieldName

I am getting this error any thoughts, why this error appearing ? "message": "No such entity with %fieldName = %fieldValue", "parameters": { "fieldName&...
-1
votes
1answer
734 views

Magento 2: Check Customer Logged In or Not on Basis of Customer Id

We have below code to check user logged in or not. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $customerSession = $objectManager->get('Magento\Customer\Model\Session'); ...
-1
votes
2answers
507 views

Slick slider is not working in Magento 2

We have integrated the slick slider on Magento 2. But, the slider is not working. I have checked the console and see there is no error. I'm not sure where am i wrong. Code in Template file: <...
-1
votes
2answers
845 views

Set production mode magento 2.3

I want to switch to production mode but I can not find information about the exact commands that I have to use. I know that I must use this command: php bin/magento deploy:mode:set production But, ...
-2
votes
1answer
2k views

how to call magento2 cli commands from controller? [closed]

i created some custom command.in one scenario i need to execute this command in the background in controller file. i'm trying to use following syntax.but its not working. exec('php bin/magento ...

1
92 93 94 95
96