Posted - 12/11/2024 : 18:05:27
Sorry for the delay. This was acutually an easy one - I've just been busy. In your cart.php page, in the bottom of the page, before the closing </body> tag use this... <script> if (document.getElementById("shipdiff")){document.getElementById("shipdiff").value = "1";}//forces open alternate ship fields </script> I tested to be sure it works. For anyone who needs this, it works for .asp and .php If you want to force the country selection of United States, add a line to that so it's this... <script> if (document.getElementById("scountry")){document.getElementById("scountry").value = "1";}//forces country to US for ship fields if (document.getElementById("shipdiff")){document.getElementById("shipdiff").value = "1";}//forces open alternate ship fields </script> David
Edited by - dbdave on 12/11/2024 18:08:38
|