Change View more products - by Ernstjandevries

This topic has 8 replies, 4 voices, and was last updated 10 years ago ago by Eva Kemp

  • Avatar: Ernstjandevries
    Ernstjandevries
    Participant
    September 9, 2014 at 15:08

    Hi,

    I would like to change the link of the view more products at the homepage on new items.
    If you click on view moren product you will be linked to the shop page. I would like to link them to an other page, this one: http://colors2impress.nl/goedkope-zonnebrillen/

    How can i change that? Is there an easy way to change it?

    Best,

    Ernst

    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    September 9, 2014 at 15:26

    Hello,

    You can change the link in the file wp-content/themes/legenda/framework/theme-functions.php. Find the code echo '<a href="'.$shop_url.'" class="show-all-posts hidden-tablet hidden-phone">'.__('View more products', ETHEME_DOMAIN).'</a>'; (line 2191) and replace '.$shop_url.' in href="'.$shop_url.'" to the link you wish.

    Regards,
    Eva Kemp.

    Avatar: Ernstjandevries
    Ernstjandevries
    Participant
    September 9, 2014 at 20:05

    So i should become like this?
    echo ‘‘.__(‘View more products’, ETHEME_DOMAIN).’‘;

    Is that the right thing? It should link to http://www.colors2impress.nl/goedkope-zonnebrillen/

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 9, 2014 at 20:52

    Hello,

    In the code provided above you need to replace '.$shop_url.' with /goedkope-zonnebrillen/.

    Regards,
    Jack Richardson

    Avatar: lcribb
    lcribb
    Participant
    November 12, 2014 at 12:52

    I have a question that leads on from this (no trying to hijack the thread), the current link on my site goes to the “Store” with an overview of all products. But at the top of the Store page is a Banner from the Legenda demo store. I’m not sure how/where to remove that. Could you help?

    Thanks

    Lev

    Avatar: Eva
    Eva Kemp
    Support staff
    November 12, 2014 at 17:02

    Hello @lcribb,

    You can remove the banner in Theme Options > Shop > Products Page Banner.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: lcribb
    lcribb
    Participant
    November 12, 2014 at 17:27

    So easy when you know how, thanks!

    Avatar: Eva
    Eva Kemp
    Support staff
    November 12, 2014 at 18:20

    Hello @lcribb,

    You’re welcome.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘change View more products’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.