• HI,
    A question before buy plugin and addons. Just want to know if it’s possible to add an email notification the day before rent and the last day of rent which is sent to the shop manager ?

    Thanks for answer.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ashanna

    (@morki)

    Hello,

    It’s possible but it requires to add some code.

    As I explained in this post, I removed the feature because it used WordPress CRON, which is only triggered when someone visits your website.

    But if you really need it, you can manually add it using the existing hooks.

    You can have an email sent one day before start date, and on end date (currently not possible to do it one day before end date).

    I hope this helps.

    Regards,
    Natasha

    Thread Starter dempire

    (@dempire)

    Ok perfect I will do it. Thanks for answer.

    Thread Starter dempire

    (@dempire)

    Hi,

    Do you have a post or a tutorial to how to do it ?

    Thanks.

    Plugin Author Ashanna

    (@morki)

    Hello,

    I don’t have any detailed tutorial sorry, but you can use these action hooks:

    • wceb_order_item_status_start
    • wceb_order_item_status_end

    To use them:

    add_action( 'wceb_order_item_status_start', 'my_function_start', 10, 1 );
    
    function my_function_start( $item_id ) {
    // Whatever you need to do
    }

    and:

    add_action( 'wceb_order_item_status_end', 'my_function_end', 10, 1 );
    
    function my_function_end( $item_id ) {
    // Whatever you need to do
    }

    I hope this helps ??

    Thread Starter dempire

    (@dempire)

    Hi,

    Can you do it on my website ? Can you send me an email with cost ? contact(at)domaweb.fr

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Notification on start and finish rent’ is closed to new replies.