Skip to content

magento man

Magento2 & Elasticsearch 8.13.4 install: Could not validate a connection to Elasticsearch. Unknown 401 error from Elasticsearch null

Installing locally using php bin/magento setup:install –base-url=http://127.0.0.1/magento2/ –db-host=localhost –db-name=magento2 –admin-firstname=admin –admin-lastname=admin –[email protected] –admin-user=admin –admin-password=admin123 –language=en_US –currency=USD –timezone=America/Chicago –use-rewrites=1 –backend-frontname=admin –search-engine=elasticsearch8 –elasticsearch-host=”https://localhost” –elasticsearch-port=9200 –elasticsearch-enable-auth=true –elasticsearch-username=”elastic” –elasticsearch-password=”[my password]” localhost:9200 returns { “name” : “DULLAHAN”, “cluster_name” : “elasticsearch”, “cluster_uuid” : “XA24SRmzTgaeIMbASp64rg”, “version” :… Read More »Magento2 & Elasticsearch 8.13.4 install: Could not validate a connection to Elasticsearch. Unknown 401 error from Elasticsearch null

How to Add Dynamic Mass Action in Admin Grid for Assign a Customer Group Magento 2

How to Add Dynamic Mass Action in Admin Grid for Assign a Customer Group Magento 2 Vendor/Extension/view/adminhtml/ui_component/data_listing.xml <massaction name=”listing_massaction”> <action name=”assign_to_group”> <settings> <type>assign_to_group</type> <label translate=”true”>Assign a Customer Group</label> <actions class=”VendoreExtensionUiComponentMassActionGroupOptions”/> <url path=”mageefy_guest_to_customer/guest/massAssignGroup”/> </settings> </action> Vendor/Extension/UI/Component/MassAction/Group/Options.php <?php namespace VendorExtensionUiComponentMassActionGroup; use MagentoFrameworkPhrase;… Read More »How to Add Dynamic Mass Action in Admin Grid for Assign a Customer Group Magento 2

Fast TTFB speed webhosters?

Hi people! So hard today find good hosting, ,you pay a lot and get nothing, you get overcrowded slow servers, mini 10gb disk storage ,limit… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1920311&goto=newpost

getOrderCollectionFactory with only orders containing specify Attribute Set – Magento2.4

We would like to create our own getOrderCollectionFactory based on MagentoSalesOrderHistory, with only orders containing specify Attribute Set. How can we extend the addFieldToFilter part? public function getOrders() { if (!($customerId = $this->_customerSession->getCustomerId())) { return false; } if (!$this->orders) {… Read More »getOrderCollectionFactory with only orders containing specify Attribute Set – Magento2.4