Home Forums Plugin Support WP User Frontend Pro Frontend Pro Form Purchase Packages and BuddyPress

This topic is: not resolved

This topic contains 49 replies, has 3 voices, and was last updated by  TeeDev 5 years, 5 months ago.

Viewing 5 posts - 46 through 50 (of 50 total)
  • Author
    Posts
  • #13294

    TeeDev
    Participant
    Post count: 58

    How can I set it so users can purchase a package more than once? i.e. when repurchase when it has expired

    #13295

    Tareq Hasan
    Keymaster
    Post count: 2831

    So, you will remove all the changes you did in the subscriptions.php and only replace
    return __( 'You must purchase a pack before posting', 'wpuf' ); with return apply_filters( 'wpuf_pack_notice', __( 'You must purchase a pack before posting', 'wpuf' ) );

    Now, put the 2nd snippet in your themes functions.php. I've given you 2 sample sentance in that 2nd snippet for logged in and logged out users. Modify them and insert your own sentence and customisations. Makes sense?

    Update: to your last question, you can't identify the user if they purchased any pack previously.

    #13296

    TeeDev
    Participant
    Post count: 58

    Thanks again Tareq and I have already done this and it seems to work! Thanks for your help and sorry for nagging.

    Now the final problem I'm noticing is the one I just mentioned. We have 3 packages

    FREE – 1 post, 1 day
    Standard – 2 posts, 30 days
    Premium – 5 posts, 90 days

    However, the FREE posts is causing a problem as its only letting people but this package once. Why is this? If they have ordered a package they can't order it again after?

    #13298

    Tareq Hasan
    Keymaster
    Post count: 2831

    Yes, they can only order a free package once. Otherwise users can use the
    free package multiple times a day and abuse the package system ๐Ÿ˜‰

    #13302

    TeeDev
    Participant
    Post count: 58

    Is there anyway for me to set it so they can reorder a free package only after an existing free package order has expired?

Viewing 5 posts - 46 through 50 (of 50 total)

The topic ‘Frontend Pro Form Purchase Packages and BuddyPress’ is closed to new replies.