lemonstand / lscloud-theme-meyer

An eCommerce theme built using Angular for LemonStand.
MIT License
2 stars 1 forks source link

Fix name attribute for review dialog subject field #301

Open dhalarewich opened 6 years ago

dhalarewich commented 6 years ago

The subject field does not use the correct name attribute, and so isn't being passed to LemonStand when a review is submitted.

Relevant file: https://github.com/lemonstand/lscloud-theme-meyer/blob/master/partials/partial-review-dialog.htm

Relevant doc: https://docs.lemonstand.com/themes/display-product-reviews

Current input looks like:

<input ng-model="review.title" name="fields[title]" id="contact_subject" type="text" required>

The name attribute should look like: name="fields[subject]"