Bump, Anyone?
Hello Everyone,
I've installed alac_2.2 and I thought everything was OK except...
for some reason when I log in to place an order as a customer their State/Province doesn't show up, which means their provincial sales tax isn't calculating correctly on the order.
Has anyone bumped into this?
Any help is appreciated.
Thank you!
Zen 139h
PHP Version: 5.2.16
MySQL 5.0.92
Installed this perfectly on ZC 1.3.7, but getting different results when logging in as customer when using IE8.
First time logging in as customer, I get sent to the cart homepage:
/index.php?main_page=index
If I close this that browser window/tab without logging out, and then attempt to login with the same customer, I'm instead sent to the account page:
/index.php?main_page=account
Obviously this is a session/cookie issue, but why does ALAC route to different pages? What is the default page it should route to? And is there a way to change it if I'd rather be brought so a different page on the site after logging in as a customer?
If you created these customers using the "Add Customers from Admin" add-on, the issue is not caused by this mod, but with out the "Add Customers from Admin" add-on stores customer data (in particular state/province data).. Somewhere there's a post on this forum where I outline exactly what happens..
In any case your issue is not this mod..
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.
I'm having the same issue and have been able to track it down to the 'address_book' mysql table. There is no entry in the 'entry_state' field; somewhere there is code that uses these value in the 'entry_zone_id' field to get the value as it works just fine when looking at the address book.
For instance, I attempt to log in as customer, there is no state showing, I click on the place order button, go to the address book and there is a state.
I know only enough to mess things up so I'll make no code modifications, maybe someone will take a look and make a suggestion of what to modify.
I was floating in a peaceful sea...rescued by a sinking ship.
How were the customer accounts created?? If you used the "Add Customers from Admin" module to create the customer account, the problem you are having with the Login as Customer module is with how customer province/state data is added to the database when using the "Add Customers from Admin" module..
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.
The customer account was added by the customer. I do have the Add Customers from Admin add-in installed, and this customer was added after that install so I'll look at those file.
This still doesn't explain why this add-in (log in as customer) doesn't look up the state via the entry_zone_id like the core zen cart does.
I was floating in a peaceful sea...rescued by a sinking ship.
Ok, well I found the following code in the core customer.php file, line 267
This tells me that the Login as Customer should be looking up the state based on the entry_zone_id, right?Code:if ($entry_zone_id > 0) $entry_state = '';
I was floating in a peaceful sea...rescued by a sinking ship.
Bookmarks