Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
128 views

Magento 2 custom module select query doesn't work

I have the following query: SELECT `main_table`.*, `secondTable`.* FROM `table_one` AS `main_table` LEFT JOIN `table_two` AS `secondTable` ON main_table.blog_id = secondTable.blog_id WHERE (...
Juliano Vargas's user avatar
0 votes
1 answer
2k views

Magento get unique values from custom database table

I created a custom module with a database table with the help of this article. I have a program which syncs stock from my physical store to online store. Every time I sync the stock, I add the sku,...
James's user avatar
  • 273
2 votes
1 answer
2k views

How to define custom table and retrieve the data into grid?

i'm writing a module to retrieve the data from a table (i manually created it by using phpmyadmin), but i don't know how to access it in grid.php <?php class ...
hkguile's user avatar
  • 2,221
0 votes
1 answer
679 views

addFieldToFilter doesn't return the right product for selected attribute values

I am currently programming a product configurator module for Magento. Everything is working fine so far besides the core functionality: choosing the right product from the database for the selected ...
ericstumper's user avatar