-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I'm having a problem where the values I set in the event aren't ending up in the section.
If I pass the value by post, as expected, the value shows up in the post-values node, and the event succeeds, however, if those values are forced by the extension, to ensure they have a specific value, they never pass through to the section.
Should I not be passing values via the post array?
Given this form:
<form action="{$current-url}/" method="post">
<input type="hidden" name="fields[member]" value="{$member-id}"/>
<input type="hidden" name="fields[product]" value="{@id}"/>
<input type="hidden" name="fields[uid]" value="{$ds-site-current-member.uid}"/>
<button name="action[wishlist-add-item]"><i class="icon star"></i> Add to Wishlist</button>
</form>
If I specify in the event that the extension defaults fields[member] and fields[uid], then the product and uid don't get passed through.
Thinking about it as they are alphabetically lower in the chain that the member id, could it be failing to process somewhere?
Metadata
Metadata
Assignees
Labels
No labels