Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Foot 61 posts 93 karma points
    Oct 12, 2015 @ 10:31
    Chris Foot
    0

    Creating Offers Programatically

    Is there a way to create offers problematically? The site i'm working on has a requirement for gift voucher sales and I would like to use the offer system for this but I can't seem to spot any public classes for this. Is this something i'm going to need to write myself or have I missed something?

    Thanks

    Chris

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Oct 12, 2015 @ 16:17
    Rusty Swayne
    0

    There is a feature request for this http://issues.merchello.com/youtrack/issue/M-438

    and someone saying they were going to start working on it. I roughed out how I intended for them to go in there in the issue thread but as far as I know, nothing has been started as of yet.

    I'm very interested in this, if it is a requirement for your project, we could start the feature branch and at least collaborate in the effort.

  • Chris Foot 61 posts 93 karma points
    Oct 15, 2015 @ 07:20
    Chris Foot
    0

    Hi Rusty,

    Unfortunately this project didn't have time left to do this properly so I have added my own poco which just adds a custom line item to the basket. I will definately look into this for future projects though as it's something we regularly do in our shops so I would expect it to come up again soon.

    Chris

Please Sign in or register to post replies

Write your reply to:

Draft