Skip to content

magento man

Magento2 inventory_cleanup_reservations CRON job not working as expected for the large number of reservation records

The basic reason behind this is the MySQL group_concat_max_len value. If we have a large number of records in the reservation table then it fails to group concat the value. Preconditions and environment Magento 2.4.4 (enterprise) Actually for any version Steps to reproduce Three… Read More »Magento2 inventory_cleanup_reservations CRON job not working as expected for the large number of reservation records

Is anyone using WP Squared?

Hello Friends, I want to know that is anyone using WP Squared service?… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1905170&goto=newpost

API searchCriteria FROM and TO for “created_at” not fatching the right results

Im trying to get data for orders that created between 2 dates(2023-10-05 – 2023-10-01). Im using the search condition type FROM and TO but its not fetching the right details. This is what im trying: rest/default/V1/orders? searchCriteria[filterGroups][0][filters][0][field]=created_at& searchCriteria[filterGroups][0][filters][0][value]=2023-10-01& searchCriteria[filterGroups][0][filters][0][conditionType]=from& searchCriteria[filterGroups][0][filters][1][field]=created_at&… Read More »API searchCriteria FROM and TO for “created_at” not fatching the right results

I can select specific columns to update using the `updateFromSelect` function for mass updates?

I try to massivle update a specific column from 1 table to another using the updateFromSelect function: $table = ‘mytable’; /** * @var $resource MagentoFrameworkDBAdapterPdoMysqlInterceptor */ $select = $resource->select() ->join($table,$table.’.email=customer_entity.email’) ->where($table.”.valid”,true) ->where($table.”.customer_group_id<>customer_entity.group_id”) ->columns([$table.’.customer_group_id as group_id’]); $sql=$resource->updateFromSelect($select,’customer_entity’); But the $sql value… Read More »I can select specific columns to update using the `updateFromSelect` function for mass updates?