Forums / Addon Shipping Modules / Hide module from certain state

Hide module from certain state

Started by jimmie on 12 Nov 2014, 3:09 AM · Views: 3,404

Results 41 to 41 of 41
14 Dec 2014, 8:15 PM
#41
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Hide module from certain state

yes and no
it now refreshes on same page but when goes to checkout it goes back to default and they have to select again (Doesnt stay selected from shopping cart to checkout)
this is what is was changed to.```
$shipping_form .= '<select name="freightquote_delivery_location" onchange="window.location.href='' . zen_href_link(FILENAME_DEFAULT, 'main_page='.urlencode($_GET["main_page"]).'&freightquote_delivery_location=') . ''+this.value">';