Skip to content

Creation of orders for downloadable products under the cron #209

Closed
@mklishevych

Description

@mklishevych

Currently, it's only possible to create orders for downloadable products only from frontend or admin area. I've investigated the problem and I can say the problem is caused by wrong event subscription configuration.

In file app/code/core/Mage/Downloadable/etc/config.xml, subscription for event called sales_order_item_save_commit_after presented for both frontend and adminhtml areas.

Observer for this event is not triggered under the cron (because the only available area under the cron is crontab area), so the order will have no downloadable links in it.

I believe there is no reason to ignore the crontab area and it should be changed for sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentfeature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions