EKM Tag: [ekm:add_to_wishlist_link]
Use this tag to output a link that allows a logged in customer to add a product to their wishlist.
- Tag Information
[ekm:add_to_wishlist_link]product_id='1';[/ekm:add_to_wishlist_link]
[ekm:add_to_wishlist_link]
output_start='<div>';
output_item='[link]';
output_item_no_login='<p>Login to add this product to your wishlist.</p>';
output_end='</div>';
product_id='1';
[/ekm:add_to_wishlist_link]
output_start='';
Here you can specify what will be output at the start of the ekm:add_to_wishlist_link
tag. Typically you would start to output some HTML.
Example: You would open a containing div
at this point.
output_item='';
This where you can control the output of the actual link or create your own link.
Within [ekm:tags] you would need to open and close them in the same way you would open and close HTML tags. However with attribute tags, like the ones below, they are self closing and work alone without any need to close them.
Useful when creating your own link.
output_item_no_login='';
When the customer is not logged in then this attribute can be used to output a message instead of the link.
If this attribute is not present then the whole tag will output nothing when a user is not logged in.
output_end='';
Output after the output_item.
product_id='';
Sets the product this link will be for.