Posted - 08/14/2020 : 06:44:04
Hi Ray, many moons ago, yes that was true, but perhaps the client updated from a really old version.
I have a feature on my site where we needed those fields expanded, and this what I did. In cart.php, just before the include line that calls up the cart, add this (in red)
<?php if (!isset($_SESSION['country'])) { $_SESSION['country']='United States of America'; } include "vsadmin/inc/inccart.php" ?>
Of course, this assumes the store is using the default "United States of America" text and has not been changed. If the primary country is something else, just change "United States of America" to that country (make sure it's entered the same as the way it shows in the cart.
Hope that helps.
Thanks, David
|