Skip to content

magento man

Updating cms_page_view but not cms_index_index htmlClass

Trying to update all cms_page_view pages except for cms_index_index layouts. E.g. on Magento_Theme/page_layout/cms_page_view.xml <referenceContainer name=”columns” htmlClass=”columns bluey” /> But I want to remove it on any cms_index_index page. e.g. Magento/layout/cms_index_index.xml <referenceContainer name=”columns” htmlClass=”columns” /> However the div will display class=’columns… Read More »Updating cms_page_view but not cms_index_index htmlClass

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: After issue with reindex

For some reason we had a problem with magento 2.4.6 databaase and we forced to restart database without checking that indexers were working. Now when I duplicate a product from admin I get this error: main.CRITICAL: PDOException: SQLSTATE[23000]: Integrity constraint… Read More »SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: After issue with reindex