Magento 2 Custom Import Remove Import Behaviour
I have a custom import script that works fine. I would like to remove one of the behaviors from the drop down menu. As I dont want to allow for appends to the custom table, only replace or deletes.
I have a custom import script that works fine. I would like to remove one of the behaviors from the drop down menu. As I dont want to allow for appends to the custom table, only replace or deletes.
I got strange error while running command "php bin/magento setup:upgrade". Error: We can't find the role for the user you wanted... Unable to complete my all command process. Please help.
I am creating api to get filterable attribute for specific category in magento 2. We see in category page for layered navigation. I want to achieve exact same data in api. $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $filterableAttributes = $objectManager->get(MagentoCatalogModelLayerCategoryFilterableAttributeList::class); $appState = $objectManager->get(MagentoFrameworkAppState::class);…
I'm trying to get all products using collectionFactory in a custom module like this: $products = $this->_productCollectionFactory->create(); ->addAttributeToSelect('*'); where _productCollectionFactory is initialized in the __construct() as an instance of MagentoCatalogModelResourceModelProductCollectionFactory $productCollectionFactory, the problem is that, without any applied filter, the…
I want to get input text value in checkout page. I have tried to apply jquery in checkout page but it didn't work it. I have also worked with pure javascript but it also didn't work. Jquery not working because…
I want to add Order search functionality in customer account My Orders section. As if customer have many orders so they dont need to navigate instead of they can search by orders like this - http://demo.dckap.com/m2/sales/order/history/ I tried to get…
I would like to filter out all orders with a specific country_id. Here a sample from the json response: { "items": [{ "total_qty_ordered": 3, "updated_at": "2018-01-10 15:59:05", "weight": 0, "billing_address": { "city": "Schaffhausen", "country_id": "CH" } }] } Here is…
I have some problem on my online store with Magento 2.2.2 After enable merge Js in Magento Backend: Store/Configuration/Advanced/Developer and save the config. I realized that I can't click any menu button in the backend. Js is broken so I…
We have been trying to make a query when a user apply some filters on front end. We are trying to make OR query in products collection: tried the following but none of them work $collection->addAttributeToFilter(['web_mobile_filter','offer_group_name_value'], [ ['in' => '1122'],…
I have created one test script file for add product into cart with custom options. I want display selected custom option of product in cart using programmatically. Please check my below code: $productId = 25; $product = $objectManager->create('MagentoCatalogModelProduct')->load($productId); $cart =…