-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
printbutton is only shown in default shop, not in other shops #1
Comments
Hi Northdakota, First: I'm sorry for posting this issue in the wrong project. I continued testing in my shops and it turns out to work as following: Whenever a customer proceeds through checkout with a NEW e-mail address and without creating an account in the process, this customer is being considered a guest and the eltrino print-button is shown. But when a customer performs a guest-checkout (not registering or logging in) with an existing email address (an email address that belongs to an existing customer) the print button is NOT shown. I think it would be good to show the button for every order where the customer is NOT logged in. Even if this customer is already known in the shop (based on its email address). Cheers and thank you for this nice plugin. |
Another update: It turns out that the famous onestepcheckout (OSC) is handling guest-orders with a known email address differently than the default onepagecheckout (OPC). in the default OPC an order isn't linked to a known e-mail address if a customer isn't logged in. But in OSC the order does get linked to a customer-ID if the email address is known. And since the order is linked to a known customer the bolean getCustomerIsGuest() returns TRUE even if the customer isn't logged in. So to make PrintOrder work with OneStepCheckout the function _preparePrintOrderData() in PrintOrder.php needs some changes I think. |
Hi Brrrm, We checked our extension (v1.1) with default magento checkout, and all works fine.
At this time we don't have a license for OSC, so we can't check your report and fix it. Thanks! |
From @brrrm on April 20, 2015 10:7
Hi,
I installed your printorder 1.1 extension in Magento 1.9.0.1 and it's working fine in our default store. But not in any other store. The template is being loaded but the if-statement
getCanPrintOrder()) :?>in printorder.phtml is always false.
What could be the cause of this?
Copied from original issue: eltrino/Compatibility#1
The text was updated successfully, but these errors were encountered: