My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hello,
I am unable to change and save an address on the checkout page being a full registered customer, guest checkout is off and I am logged in before checkout page.
I am using a Fresh install of zencart 1.55f with the responsive class template and opc 2.0.1. No changes have been made to either the zen install or opc mod. PHP 7.0.27 MySQL 5.5.5. Tested in Chrome and Firefox.
Changing the street address line, the Add to Address Book checkbox and the cancel and save changes buttons appear. Checking the add to address book and clicking save, the page reloads and the changes are not saved in either the address book or here on this checkout page.
Not saving it to the address book works and it reloads correctly with the change.
@getaped, I'm pretty sure that that issue was corrected in either v2.0.2 or v2.0.3 (now available from the plugins' download).
@getaped, I'm unable to reproduce your issue running OPC 2.0.3 on zc1.5.5f on PHP 7.1.4.
I logged in as a full-up registered user, changed the billing address, ticked "Save to Address Book" and the "Save" button. That address was recorded for the order and saved in the address-book.
I then changed the shipping address (in the same manner) and that updated shipping address was now associated with the order and saved in the address-book.
You should check to see that all the OPC classes (in /includes/classes, /includes/classes/ajax and /includes/classes/observers) are at the v2.0.3 version. Also verify that any template-override versions of the OPC's templates (they're distributed in the /includes/templates/template_default directory) have also been updated.
hahaha. Yeah it's been a LOOOOONG time no see for me. I miss hanging out here.. :) I got a job with an AMAZING org as a technical project manager for a mobile app project that SAVES LIVES. (Look up Guardian Connect - Android & iOS) That gig and the ones that followed required me to sorta step back on some of my side ventures. I've retained my long time clients, but had to stop accepting new work.. While I'd like to think I'm every woman, apparently I'm not!! **lol**
Anyway.. @rbarbour I did indeed edit that file, but the entire country field disappeared. So I'm sure my editing is off.. What I want to do is to move the country field just below the name fields. I want the country placed before entering the address as some of the state/regional fields are dependent on the country selection. Our usability testers are asking suggesting we make this change. HELP por favor?? :)
Last edited by DivaVocals; 1 Jul 2018 at 03:46 AM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Crystal,
I hope doing all that work for for Android & iOS apps hasn't blurred your memory that much., I'm glad you are doing well! I still have that $200 bottle of Vodka and visiting Vegas in Oct.
anywhoooooo, my lines may be off here and look different but here goes.
line 98, find:
copy and replace with:PHP Code:$field_name = "zone_country_id[$which]";
$field_id = "country-$which";
?>
<label class="inputLabel" for="country-bill"><?php echo ENTRY_COUNTRY; ?><?php if (zen_not_null(ENTRY_COUNTRY_TEXT)) echo '<span class="alert">' . ENTRY_COUNTRY_TEXT . '</span>';?></label>
<?php echo zen_get_country_list($field_name, $address['country'], "id=\"$field_id\""); ?>
<div class="p-2"></div>
paste the copied php on line 64, afterPHP Code:?>
then add:PHP Code:ENTRY_COMPANY_MIN_LENGTH, ENTRY_COMPANY_TEXT);
}
directly afer so the pasted code looks like:PHP Code:<?php
Hope that helps!!!PHP Code:$field_name = "zone_country_id[$which]";
$field_id = "country-$which";
?>
<label class="inputLabel" for="country-bill"><?php echo ENTRY_COUNTRY; ?><?php if (zen_not_null(ENTRY_COUNTRY_TEXT)) echo '<span class="alert">' . ENTRY_COUNTRY_TEXT . '</span>';?></label>
<?php echo zen_get_country_list($field_name, $address['country'], "id=\"$field_id\""); ?>
<div class="p-2"></div>
<?php
Hello Cindy - doing a total site rebuild on a new fresh install version 1.5.5f - OPC version 2.0.1 - site is https://www.treeoflifejewellery.com.au/testsite/ which has PayPal express checkout and PayPal Pro activated - Guest Checkout is enabled as 'true' -
as a Guest (not logged in) at checkout OPC worked fine when selecting method of payment as PayPal (did a transaction through to completion/confirm order and it went through OK) - however selecting credit card I am getting the following pop up dialogue box message;
the credit card is a Visa so has the required number of characters - seems to me that it is not recognizing that characters are being added to the respective lines even though they appear OK when typed in. I have tried a few times with the same result.(after cache cleared and system reboot)HTML Code:Please make the following corrections: * The credit card number must be at least 10 characters. * The 3 or 4 digit CVV number must be entered from the back of the credit card.
myDEBUG has about 4400+ lines and contains personal data so I won't post it in here - I didn't see any references to 'errors' in it though, but I'm not sure what I would be looking at anyway. I cannot confirm that it works on the original site as it is version 1.5.1 and I don't have OPC working on it.
I am not sure what other information I can offer at present - if you need more information please ask.
cheers,
Mike