Jump to content

Trying to add link to wishlist in footer


mikewra

Recommended Posts

Hi, I am trying to add a link in the footer under My Acccount to My Wishlist.  But I can't figure out how to call the wishlist.  I'm using PrestaShop 1.6.9, default bootstrap theme.

Where you see 'XYZ' below, in blockmyaccountfooter.tpl (location: store root -> themes -> my theme -> modules -> blockmyaccountfooter ->) is where I (think) the correction should go:

<li><a href="{$link->getPageLink('XYZ', true)|escape:'html':'UTF-8'}" title="{l s='My wishlist' mod='blockmyaccountfooter'}" rel="nofollow">{l s='My Wishlists' mod='blockmyaccountfooter'}</a></li>

 

For comparison's sake, this is the one for My Credit Slips:

 

<li><a href="{$link->getPageLink('order-slip', true)|escape:'html':'UTF-8'}" title="{l s='My credit Slips' mod='blockmyaccountfooter'}" rel="nofollow">{l s='My Credit Slips' mod='blockmyaccountfooter'}</a></li>

Any and all help is greatly appreciated.

Link to comment
Share on other sites

Merci,

This did it:

<li><a     href="{$link->getModuleLink('blockwishlist', 'mywishlist', array(), true)|escape:'html':'UTF-8'}" title="{l s='My Wishlists' mod='blockwishlist'}"><span>{l s='My Wishlists' mod='blockwishlist'}</span></a></li>

Link to comment
Share on other sites

×
×
  • Create New...