Hallo
Wie kann Ich einen Text verlinken
so das dieser Link einen Artikel zur Wishlist hinzu fügt ?
gruß
Wolfgang
Text verlinken
Hallo,
im Templete
dieser Link funktioniert allerdings nur für Kunden, die angemeldet sind.
{if (isset($smarty.session.customer_id)) }
<a href="{html_href_link modul=$modules.account file=$filename.account_my_wishlist action=add_wishlist products_id=$smarty.get.products_id}">der text</a>
[/if}
und wenn in $smarty.get.products_id eine ID steht und das Produkt über keine Produktmerkmale (optinen) verfügt.
im Templete
Code: Alles auswählen
<a href="{html_href_link modul=$modules.account file=$filename.account_my_wishlist action=add_wishlist products_id=$smarty.get.products_id}">der text</a>
{if (isset($smarty.session.customer_id)) }
<a href="{html_href_link modul=$modules.account file=$filename.account_my_wishlist action=add_wishlist products_id=$smarty.get.products_id}">der text</a>
[/if}
und wenn in $smarty.get.products_id eine ID steht und das Produkt über keine Produktmerkmale (optinen) verfügt.