Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15412

    Hi,

    I would like to add another link to the ‘My Account’ submenu (My Account | Shopping Cart | Checkout). The link I would like to add is “My Rewards” how can I do this?

    Thanks,

    Lawrence

    #87400

    Hi Lawrence,

    Open wp-content/themes/abundance/woocommerce-config/config.php and find this line of code(line 152):

    $output .= "<li class='checkout_link'><a href='".$url['checkout']."'>".__('Checkout', 'avia_framework')."</a></li>";

    add this code below it:

    $output .= "<li class='rewards_link'><a href='url_here'>".__('My Rewards', 'avia_framework')."</a></li>";

    Just replace “url_here” with the url of the link. Hope this helps. :)

    Regards,

    Ismael

    #87401

    Thank you Ismael, worked great.

    Regards,

    Lawrence

    #87402

    Hi Lawrence,

    Glad that we could help. :)

    Cheers,

    Ismael

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

The topic ‘Adding a link to the submenu’ is closed to new replies.