• Resolved cannibales1974

    (@cannibales1974)


    Hi, I was testing your plugin and I find that on the checkout page the link to access the payment content does not appear.
    It does not come up even after selecting the order as completed. Attached is a screenshot

    https://prnt.sc/26v4k00

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Hey @cannibales1974 thanks for reaching out! So that is a feature of the premium version, the free version you would have to utilize the Purchase Notes section and manually put your links in there. https://avada.io/woocommerce/docs/add-purchase-notes.html

    Thread Starter cannibales1974

    (@cannibales1974)

    Hello Thank you for your reply. I have managed to insert the link in the order notes with this php function

    function sww_add_note_woocommerce_emails( $output, $order ) {

    // set a flag so we don’t recursively call this filter
    static $run = 0;

    // if we’ve already run this filter, bail out
    if ( $run ) {
    return $output;
    }

    $args = array(
    ‘show_purchase_note’ => true,
    );

    // increment our flag so we don’t run again
    $run++;

    // if first run, give WooComm our updated table
    return wc_get_email_order_items( $order, $args );
    }
    add_filter( ‘wc_get_email_order_items’, ‘sww_add_note_woocommerce_emails’, 10, 2 );

    However when I click on the link it does not show me the content for which I have made the purchase.

    In order to show it, the user must be logged in?

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Yes, that is correct. There is no way to tell if the user has purchased unless they are logged in.

    Thread Starter cannibales1974

    (@cannibales1974)

    Solved, thanks!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The link is not displayed on the completed order page.’ is closed to new replies.