Posted - 02/25/2021 : 06:06:43
Here is the code required to implement: In the includes file add the parameter: $showshipaddress=TRUE; In the inccart.php file search for the line (near 5089) beginning with: <input type="button" class="ectbutton widecheckout2 shipdiff" value="<?php print $GLOBALS['xxShpDff']?
Add this above the line: <?php if ($showshipaddress==TRUE) {$GLOBALS['xxShpDff']='Deliver to Billing Address';}?> Add this below the line: <?php if ($showshipaddress==TRUE){ ?><script>document.getElementById('shipdiff').value=1;</script><?php } ?> This will open the ship address fields and provide the appropriate message on the button. Simply change to FALSE or remove the parameter from the includes file to revert back. Hopefully Vince will pick this up and add to this to the code. John
|