Skip to content

magento man

How do hosting companies manage staff access

Hello everyone, I’m looking for ideas on how to manage staff access when it comes to passwords of internal systems and SSH. For passwords, … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1893538&goto=newpost

Magento2 join product details in sales order grid as sortable / filterable column

We have added some additional sortable / filterable columns to sales order grid using some basic joins. This would be the relevant code regarding data app/code/Vendor/Module/etc/di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory”> <arguments> <argument name=”collections” xsi:type=”array”> <item name=”sales_order_grid_data_source” xsi:type=”string”>VendorModuleModelResourceModelOrderGridCollection</item>… Read More »Magento2 join product details in sales order grid as sortable / filterable column

how to validate custom condition rule based on product attribute?

I am using plugin for the same pusrpose. <type name=”MagentoShippingModelShipping”> <plugin name=”hide_shipping_method_based_on_product_attribute” type=”VendorShippingRestrictionsPluginMagentoShippingModelProductAttributeBasedShipping” disabled=”false” /> </type> And public function aroundCollectCarrierRates( MagentoShippingModelShipping $subject, Closure $proceed, $carrierCode, $request ) { $allItems = $request->getAllItems(); $storeId = $this->storeManager->getStore()->getId(); $ruleCollection = $this->collectionFactory->create() ->addFieldToSelect(‘*’) ->addFieldToFilter(‘status’, [‘eq’… Read More »how to validate custom condition rule based on product attribute?