Need to remove the Have a User Account? Cant find where it is...

Using Gridmarket. Need to remove the Have a User Account? we have no use for it...just need to find out what file it would be in...its the one on the "Review" on the Checkout process

  • Alexander
    • DEV MAN’s Mascot

    Hi @John,

    I'd recommend doing this with CSS. You can add the following to remove the login form, which would only leave the "Checkout Now" button for users.

    .mp_cart_login thead, td.mp_cart_or_label, td.mp_cart_login  {
    	display: none;
    }
    td.mp_cart_checkout {
        margin-top:18px;
    	float:right;
    }

    You can add this to a theme's stylesheet, in a child theme, or using a plugin like My Custom CSS.

    Best regards,

  • John
    • New Recruit

    Hey,

    Thanks! It works but kinda goofs up the table with the charges and totals...

    I was actually wanting to put something in its place. That's why i was wanting to knwo where the function was with in the file system...

    What you gave me works. I will have to modify a bit...

    Daniel

  • Alexander
    • DEV MAN’s Mascot

    Hi @John,

    It's possible using PHP, but unfortunately not without modifying MarketPress directly. This means the changes will be lost on update.

    Take a look in template-functions.php around line 472 for the function that renders the login form.

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.