Samantha

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Payment Methods per CPT #4387

    Samantha
    Free User
    Post count: 33

    Thank you Kiran!

    That was, for some reason unsetting the gateway on all packages, including the one I put the ID in for. However, I realized I can just set the packages to recurring and that will hide the pre-bank transfer. Which, is fine because I wanted it to be recurring anyway.

    Thanks so much for all your help!

    in reply to: Payment Methods per CPT #4379

    Samantha
    Free User
    Post count: 33
    This reply has been marked as private.
    in reply to: Overwrite templates #4377

    Samantha
    Free User
    Post count: 33
    This reply has been marked as private.
    in reply to: Overwrite templates #4376

    Samantha
    Free User
    Post count: 33

    Thanks Kiran, you rock! I’d much prefer to use the php snippet.

    I basically need to do similar to what this snippet did but on the invoice confirmation:
    https://wpgeodirectory.com/support/topic/customizing-confirmation-messages/

    I need to replace the _e in this line:

     <div class="wpinv-receipt-message"><?php _e( 'Thank you!', 'invoicing' ); ?></div> 

    depending on the CPT. something like:

    
    if CPT = gd_apartments
        return "Thank you! Your apartment will be reviewed and you will receive an email when it's approved. You may now add floorplans to your apartment. Add Floorplans "
    
    if CPT = gd_business
        return "Thank you! Your business will be reviewed and you will receive an email when it's approved."
    
    if CPT = gd_product
       return "Thank you! Your product will be reviewed and you will receive an email when it's approved."
    
    in reply to: Overwrite templates #4369

    Samantha
    Free User
    Post count: 33

    Another question for wpinv-invoice-receipt.php. Is it possible in this to pull in the product_type (CPT) and display a different message depending on the CPT?

    in reply to: Overwrite templates #4368

    Samantha
    Free User
    Post count: 33

    Yes, that works perfectly thank you!

    On the functions file I just need to change the wording on the button. It says “Proceed to pay” and I need to change it to just “Proceed”.

    We use offline payment so it’s a bit misleading to have it say “proceed to pay” when they’re not actually paying.

Viewing 6 posts - 1 through 6 (of 6 total)