This topic has 18 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #179381
     singleandsober
    Participant

    Hello,

    I am testing my site with SweetDate core theme activated, no plugins activated except for PMPro core plugin and BuddyPress.

    When I go to my member checkout page, I do not see the checkout button.

    If I deactivate BuddyPress, the checkout button appears.

    Can you help with the issue? Thank you.

    #179420
     Laura
    Moderator

    Hello, can you share access so i can check it?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #179488
     singleandsober
    Participant

    This is not an issue specific to my installation.

    Here are the steps to reproduce with a fresh WP installation:

    * Install and active SweetDate theme (I have version 3.1)
    * Install and active PMPro (I have version 1.9.4.1)
    * Create a single membership level with PMPro using a non-zero Initial Payment amount
    * Click to let PMPro create its necessary pages
    * Go to front end Membership Levels page and select the one level
    * Confirm that on the resulting checkout screen, the Submit button is showing
    * Install and activate BuddyPress (I have version 2.9.2)
    * Refresh the checkout screen and confirm that much of the checkout form, including the submit button has disappeared

    Are you able to confirm this? Again, this is a brand new installation and not specific to any site from my observation after performing the above steps.

    #179720
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #179820
     Radu
    Moderator

    Hi,

    Check if this option it’s ON, if it’s off SET ON

    wp-admin -> theme options -> memberships -> Allow registrations also from PMPRO checkout page.

    Let me know

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #180041
     singleandsober
    Participant

    OK, yes this causes the checkout fields to re-appear.

    However, I do not wish to have my users skip the BuddyPress registration process.

    This seems like a forced change which I do not desire to make. My previous user flow works great for me and I like how my users are forced to fill in key parts of their profile data via the BuddyPress registration screen before they are able to join a level.

    In other words, reconfiguring my user signup flow is not something I want to do in any way.

    Is there a way that I can require the BuddyPress registration page and also not have the checkout buttons totally disappear on the checkout page?

    It seems illogical to have “Skip BuddyPress registration” as an option, when leaving it unchecked will render the site unusable.

    Thank you for any help you can provide.

    #180373
     Radu
    Moderator

    Hi,

    You can se default pmpro checkout flow there by copying this file :

    /wp-content/plugins/paid-memberships-pro/pages/checkout.php
    to
    /wp-content/themes/sweetdate-child/paid-memberships-pro/pages/checkout.php

    In this way you will have default pmpro checkout workflow.
    NOTE : Child theme needs to be installed and activated.
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #180521
     singleandsober
    Participant

    Hello,

    Thanks for your response. This did not fix the problem for me.

    When I create a simple child theme (adding just the style.css file with necessary header comment) and then I copy the file as you specified, the problem persists.

    To recap, I am logged in, selecting a PMPro level, and landing on the checkout page. With BuddyPress activated, I do not see any fields on the checkout page. With BuddyPress de-activated, I do see the fields.

    To see whether this is a theme issue, I next tried activating WP core Twentyseventeen theme. With this theme activated, I see the checkout fields whether BuddyPress is activated or not.

    The problem I am having is that I do not wish to activate your option “Allow registrations also from PMPRO checkout page” and at the same time I do not wish to have my checkout page fields disappear for logged-in users.

    Is the software capable of operating in such a configuration? It seems that the checkout buttons should show up for logged-in users regardless of what theme options are checked.

    Thanks for your help.

    #180537
     Radu
    Moderator

    Hi,
    Make sure to install the child theme that we have provided in main theme files, i don’t know what you done there and if you create manually a child theme correctly, there you should have also a functions.php file with related tags.

    I’ve tested locally before provide to you solution and now the submit button it’s there and also the pmpro default fields

    So make sure to install our child theme then re-do this https://archived.seventhqueen.com/forums/topic/pmpro-checkout-button-disappeared/#post-180373

    That’s all, worked i’ve tested multiple times before providing solution.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #181943
     singleandsober
    Participant

    Hello,

    I’m surprised that you don’t know what I mean when I say I made a simple child theme with a style.css file and the required header. This is the first step in creating any child theme.

    Where can I download your custom child theme that you created? I cannot find it anywhere on your website.

    Thank You

    #182002
     Radu
    Moderator

    In MainFiles theme packege beside sweetdate.zip you have sweetdate-child.zip if you cannot find it just search in main files for sweetdate-child

    You can download it from themeforest agian.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #182195
     singleandsober
    Participant

    I installed the sweetdate-child theme provided in the ThemeForest download. For the record, there is absolutely no practical difference between this and the child theme I described above. Your has an empty functions.php and a screenshot, neither of which add any functionality that I did not have before.

    As one might expect in these conditions, when I activated your child theme, I see the same problem. The checkout buttons disappear on the checkout page.

    To reiterate, I have a clean WP install with your child theme. I have the option “Allow registrations also from PMPRO checkout page” unchecked on your settings page on the Memberships tab. And I have BuddyPress activated.

    This does not seem like it should render my checkout page unusable, but it does.

    I should also note that I tested with your newest version 3.2 of Sweetdate and this doesn’t change anything.

    Anything you can do to help me get my checkout page usable would be very much appreciated. I would like to upgrade to version 3 of your theme on my live site and not be stuck on version 2 forever, but this issue is preventing me from being able to upgrade.

    Thank you

    #182258
     Radu
    Moderator

    Hi,

    tried to take a look at your checkout page but cannot, it asks for credentials

    Did you have followed my steps described here ? https://archived.seventhqueen.com/forums/topic/pmpro-checkout-button-disappeared/#post-180373

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #182569
     singleandsober
    Participant

    Please immediately remove your previous comment which contains my testing URL. I do not wish this information to be visible. I provided my testing URL with your assurance that this would be kept private, and you have just posted it publicly.

    Next, as I stated in a previous post (https://archived.seventhqueen.com/forums/topic/pmpro-checkout-button-disappeared#post-179488), this is not an issue specific to my installation. In this same post, I explain how to reproduce the issue with a clean WP installation independent of anything relating to a specific website. I have also reiterated this information multiple times in this ticket.

    The issue is that your “option” to allow registration from the checkout page is not really an option, since it renders the checkout page unusable if turned off while BuddyPress is active.

    Please either (1) confirm this is true and that you do not have plans to fix it, or (2) work with me to get to a point where I can have your option turned off and still have my checkout page functional.

    I do not appreciate the circular responses which continually seek to put the blame on me and my particular website when I have approached this issue from the beginning as a general bug that clearly applies to a brand new installation.

    Thank You.

    #182692
     Radu
    Moderator

    Hi,

    This is how it should look with the option OFF

    And this is how it should look with the option ON

    You will have to remove this file : https://archived.seventhqueen.com/forums/topic/pmpro-checkout-button-disappeared#post-180373 , this will add the default pmpro checkout there and you don’t need that.

    Then update wp+theme+plugins and it should work as it should.

    Tried to take a look at your current install how it behaves but asks for username and pass.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #184626
     singleandsober
    Participant

    Hello,

    As I have noted in this thread many times, there is no need for you to look at my install. It is a fresh generic install that I am using solely for testing; and everything I am saying can be verified with your own fresh generic install. I ask you once again to please not suggest that this could be an issue with my install.

    As I have also noted many times in this thread, I do not wish to have your new “allow registration from the checkout page” option turned ON, so let’s please focus on your screenshot showing what happens when the option is OFF.

    I notice that your screenshot shows what happens when the user is not logged in. Can you please log in, make sure BuddyPress is activated, make sure the theme option in question is OFF, and post another screenshot of what you see?

    For me, I see an unusable checkout page with no checkout form and no submit button. I am attaching a screenshot.

    As I have explained previously in this thread, the form comes back if I deactivate BuddyPress. However, I need this to work with BuddyPress active.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #185148
     Radu
    Moderator

    Hi,

    Using as you suggested bp is active, theme option -> memberships -> Allow registrations also from PMPRO checkout page -> OFF.

    In this moment only if you have account you can buy the membership.

    If you want to have the option OFF in theme option but to display the fields like the option it’s on add the next code to wp-content/themes/sweetdate-child/functions.php

    COPY CODE
    
    function manipulate_the_pmpro_register() {
        add_filter( 'pmpro_skip_account_fields', '__return_true' );
        add_filter( 'pmpro_include_billing_address_fields', '__return_true' );
        add_filter( 'pmpro_include_payment_information_fields', '__return_true' );
        add_filter( 'pmpro_checkout_default_submit_button', '__return_true' );
    
    }
    add_action('wp', 'manipulate_the_pmpro_register');
    

    Let me know

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #185517
     singleandsober
    Participant

    Thank you for sharing these filters. That brought back my checkout form! I am now able to have the option off, BuddyPress activated, and have a working checkout form.

    #185595
     Radu
    Moderator

    Hi,
    Great then

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 19 posts - 1 through 19 (of 19 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?