This topic has 2 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #71272
     jeffkauffmanjr
    Participant

    When I click on the edit button to change the billing or shipping address a 404 error page is shown. The reason for the error is because the URL is being generate incorrectly. Here’s how the URL gets generated:

    http://mysite.com/profile/http:/mysite.com/profile/edit-address/shipping

    You can see that right after the first mention of “profile/” the URL is generated again. If I edit the URL I can get to the correct page, but I’m not sure why it is auto-generating incorrectly like this.

    Here’s a screen shot of the edit button I’m clicking on when the URL is auto-generated incorrectly.

    Attachments:
    You must be logged in to view attached files.
    #71317
     sharmstr
    Moderator

    Go to /kleo/woocommerce/myaccount/my-address.php and change this line (around line 46) from

    COPY CODE
    
    <a>" class="edit"><?php _e( 'Edit', 'woocommerce' ); ?></a>
    

    to this

    COPY CODE
    
    <a>" class="edit"><?php _e( 'Edit', 'woocommerce' ); ?></a>
    

    Verify that it works and I’ll submit a permanent change.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #71318
     sharmstr
    Moderator

    arggg. The links are screwed up. See attached for changes.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)

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

Log in with your credentials

Forgot your details?