Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
409 views

Recevied Empty array after using getItemsByColumnValue() collection method

I'm trying to retrieve a row from a custom table named 'lmap_shipping_tablerate' using a specific value for a column postcode. An empty array is returned when following line is used in my ...
PhantomS's user avatar
  • 503
8 votes
2 answers
2k views

Magento 2: different way get field of a collection

I have this helper class in Magento 2: class Data extends \Magento\Framework\App\Helper\AbstractHelper { protected $_countryFactory; public function __construct( \Magento\Directory\...
Giuseppe Morelli's user avatar