• Hi There,

    This is a re-post from a support thread opened on the MailPoet page. I’m trying to create a shortcode to manually paste the checkbox. On my current form, the newsletter checkbox closes when they check the ‘Same As Billing’ box, and it gets hidden.

    On line 203 of mailpoet-wp-ecommerce-addon.php, I’ve got:
    add_shortcode(‘newsletter’, array($this, ‘newsletter_shortcode’));
    }

    public function newsletter_shortcode() {
    return ‘Hello Word!’;
    }
    But it’s not working. I’m not the best at php, so any help would be appreciated! Maybe there is a better solution as well?

    Thanks

    https://wordpress.org/plugins/mailpoet-wp-e-commerce-add-on/

  • The topic ‘Manual Placement Of Checkout Checkbox’ is closed to new replies.