Beslist.nl Shopping Cart Connect

Example module to hook into events set by the Magmodules Beslist Module.

Download the GitHub Package here.
Available events

beslist_feed_item_before
Fired just before feed item is saved.
Edit the Product-ID in the file
app/code/community/Magmodules/Beslistobserver/Model/Observer.php on line 36

$item['ID'] == 231

$item['Levertijd'] = 'Edited by Observer';
$item['Levertijd_BE'] = 'Edited by Observer';

You can set the desired delivery time.

beslist_item_update_before
Fired just before item update is pushed to api.

Edit the Product-ID in the file
app/code/community/Magmodules/Beslistobserver/Model/Observer.php on line 69

$item['ID'] == 231

$item['product_id'] == 231
$items[$k]['qty'] = 100;
$items[$k]['delivery_time_nl'] = 'Edited by Observer';
$items[$k]['delivery_time_be'] = 'Edited by Observer';

You can set the desired delivery time and stock QTY.