review

Page for adding or editing a review

Review Page Overview

This is a page for adding and editing a Review. This page is only accessible to the review's creator. When creating a new Review, this page will utilize an item parameter. When modifying an existing Review, this page will use a review parameter. The user will be bounced to the index page if both these parameters are empty.

Key Workflows

Button Submit Review is clicked

  • Creates a new Review if you are not modifying an existing one (there will be a review parameter in url if you are editing)

  • Triggers the save_review workflow

Button Delete Review is clicked

  • Deletes the Review from the database

  • Updates that review’s Item’s Overall rating / Review count / Last review date fields

save_review [Custom workflow]

  • Modifies or adds the Review’s Title / Text / Star rating

  • Updates that review’s Item’s Overall rating / Review count / Last review date / Reviews fields

Key Elements

Group Item Anchor

  • This group determines what Item we link to the Review and which Item to update if the review is created/modified/deleted

  • Pulls from the item parameter if available, and from the review’s Item if not available

Last updated