wish-list not update

Gajaba
New Member
1 0 0

Hi,

 

my theme has default wish-list. but when i click "Add to whish-list" button  , nothing happens. can someone explain how below form submission works in shopify. where we can find code related to "/contact".

i tried few examples (https://codeasashu.github.io/how-to-add-wishlist-to-shopify/) avaiable in the Internet , same issue exists for all. 

 <form accept-charset="UTF-8" id="wish-list" action="/contact" class="contact-form" method="post">
<input name="form_type" type="hidden" value="customer">
<input name="utf8" type="hidden" value="✓">
<input type="hidden" name="contact[email]" value="{{ customer.email }}"/>
<input id="update-me" type="hidden" name="contact[tags]" value="{{ value }}" />
<button type="submit">Add to Wishlist</button>
</form>

 

Regards

Gajaba

0 Likes