This topic has 8 replies, 2 voices, and was last updated 10 years by Laura.

  • Author
  • #83945
     presto
    Participant

    Hi,

    When a user views the http://myurl.com/my-account page and clicks the ‘view’ button for any recent order, they are directed to http://myurl.com/my-account/view-order/%5Border#%5D. This page lists out the details for the specific order. At the top of the page it states “Order #xxx was placed on [date] and [order state].

    At the bottom of this page there is a ‘My Account’ button.

    Can someone please tell me how to remove this button?

    Thanks!

    #84012
     Laura
    Moderator

    Hello, can you share a link and an user with a recent order so i can check it out ? 🙂

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

    Hi Laura,

    http://www.leanexpertacademy.com
    UN: test10
    PW: test123testabc

    If you click ‘My Orders’ from the ‘My Account’ dropdown menu you will find a recent order available to view.

    Thank you for your help!

    Angela

    #84123
     presto
    Participant

    Hi Laura,

    Can you possibly take a look at something else while you are in there?

    On the order-pay page (my account > my orders > view subscription > change payment) there are 2 buttons: ‘manage cards’ & ‘change payment method’.

    I would like to remove the ‘manage cards’ button completely and move the ‘change payment method’ button into that spot.

    Can you please tell me how to do that?

    I appreciate all of your help!

    Angela

    #84538
     Laura
    Moderator

    Hello, please try by adding this to style.css of child theme

    COPY CODE
    
    a.button {
        display: none !important;
    }
    table.shop_table.shop_table_responsive.my_account_orders a {
        display: inline-block !important;
    }
    p.form-row.form-row-wide a {
        display: none;
    }
    

    Let me know if that helps 🙂

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

    Hi Laura,

    This helped to remove the ‘my account’ button on the order details page (thank you!) but it also completely removed the ‘change payment’ button on the subscription details page.

    I think there was a miscommunication on my part. I would like to keep the ‘change payment’ button. It is the next page (after the user clicks the ‘change payment’ button) that I would like to alter.

    On that page there is a gray box containing the user’s credit card information. Inside of that box there is a ‘manage cards’ button that I would like to remove.

    I have removed all of the code you provided so you can look at it again. To recap, can you please provide me the full code for this?:

    1. Remove the ‘my account’ button from the order details page (Go to: my account > my orders. Click the ‘view’ button in the ‘recent orders’ section. The ‘my account’ button can be seen at the bottom of the page.)

    2. Remove the ‘manage cards’ button from the credit card section on the page displaying the subscription payment method (Go to: my account. Click the ‘view’ button in the ‘my subscriptions’ section. Click the ‘change payment’ button. The ‘manage cards’ button can be seen in the gray box containing the credit card information.)

    Login Information:
    http://leanexpertacademy.com/wp-admin
    UN: test15
    PW: test123test456

    Thank you so much for your help!

    Angela

    #87814
     Laura
    Moderator

    Hello, sure i can try to adjust it for you, can you share ftp access? 🙂

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

    Hi Laura,

    I’m not at liberty to share FTP access. Can I upload whatever files you need here?

    Thanks much!
    Angela

    #88241
     Laura
    Moderator

    Hello, it could be easier for me but i can try to do it in my own site if you prefer 🙂

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?