Skip to content

Instantly share code, notes, and snippets.

@mivajenn
Last active June 19, 2018 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mivajenn/5e55dd6d0baba97abfa2c9d99d8cea45 to your computer and use it in GitHub Desktop.
Save mivajenn/5e55dd6d0baba97abfa2c9d99d8cea45 to your computer and use it in GitHub Desktop.
<div clss="gd-reviews-pagination-sort">
<form action="&mvt:global:sessionurl;">
<input type="hidden" name="Screen" value="PROD" />
<input type="hidden" name="Product_Code" value="&mvte:product:code;" />
<input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;" />
<select name="GD_Ratings:Sort">
<mvt:if expr="g.GD_Ratings:Sort EQ 'newest' ">
<option value="newest" selected="selected">Newest</option>
<mvt:else>
<option value="newest">Newest</option>
</mvt:if>
</mvt:if expr="g.GD_Ratings:Sort EQ 'oldest' ">
<option value="oldest" selected="selected">Oldest</option>
</mvt:else>
<option value="oldest">Oldest</option>
</mvt:if>
</mvt:if expr="g.GD_Ratings:Sort EQ 'highest' ">
<option value="highest" selected="selected">Highest Rated</option>
<mvt:else>
<option value="highest">Higest Rated</option>
</mvt:if>
</mvt:if expr="g.GD_Ratings:Sort EQ 'lowest' ">
<option value="lowest" selected="selected">Lowest Rated</option>
</mvt:if>
</select>
<button type="submit">GO</button>
</form>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment