Skip to content
This repository was archived by the owner on Apr 30, 2023. It is now read-only.
This repository was archived by the owner on Apr 30, 2023. It is now read-only.

[Bug]: Table name missing dynamic prefix [fix] #133

Open
@nghelo

Description

@nghelo

Contact Details

[email protected]

What happened?

If you have set a 'table_prefix' value the 'Push Products' return a false response of missing table.

[FIX]: Get table name with prefix dinamically in 'Model/Product/Feed/ProductRetriever/Simple.php'

`
$tableName = $this->_resource->getTableName('catalog_product_super_link');

$collection
->getSelect()->joinLeft(['l' => $tableName], 'e.entity_id = l.product_id')
->where('l.product_id IS NULL')
->order(new \Zend_Db_Expr('e.updated_at desc'))
->limit($limit, $offset);
`

Magento Version

2.4

Plugin Version

1.4.4

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions