Miva Merchant Development by Scot's Scripts

SELECT: Refresh to URL Based on SELECT Option

Miva Random Code Trivia

Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.

WARNING:

This information is offered "AS IS" for internal reference only. Use at your own risk.
Does AI actually understand your Miva Merchant store? Our smart JSON-LD schema generator makes sure it does. Contact us to get started. (more info)
SEO Audit & Inquiries • News & Updates • SEO for Miva Merchant

SELECT: Refresh to URL Based on SELECT Option

THIS CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED;
THE AUTHOR DISCLAIMS ALL LIABILITY FOR ANY DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR STORE DISRUPTIONS ARISING FROM ITS USE.

Scot Ranney • October 09, 2025


This will refresh the page based on the url set in the option value. Same general idea as used in InTune when the customer selects a new pick from the dropdown.

<select onchange="document.location.href=this.value"> 
	<mvt:foreach iterator="item" array="itemlist">
		<option value="/Merchant5/merchant.mvc?Screen=PROD&Session_ID=&mvte:global:session_id&Product_Code=some_code">select me</option>
	</mvt:foreach>
</select>

https://www.scotsscripts.com/mvblog/select-refresh-to-url-based-on-select-option.html

js select uri