Thanks, Mark. I'll look into that next.
Printable View
Thanks, Mark. I'll look into that next.
OK, the culprit here is /includes/templates/template_default/tpl_checkout_one_default.php, line 13:
Change that toCode:$shipping_module_available = (zen_count_shipping_modules () > 0);
Code:$shipping_module_available = ($free_shipping || $is_virtual_order || zen_count_shipping_modules () > 0);
Cindy,
Thank YOU for the FIX !!!!
Displayed as it should, Tested and worked perfect when I placed a dummy order ...
Have a Happy Thanksgiving !!!!!
Mark,
When PayPal is the only payment method available - the logo (inserted by PayPal) has no radio box since there are no other choices. The arrow on the image gives the impression that this is a clickable icon to make payment, which it is not. I tried adding a bit of text to clarify but was unable to format it.
What I did - in includes/languages/english/modules/payment/paypalwpp.php - I removed the link to paypal site generated image on line #103, just leaving empty:
Then in line #89 of same file I edited to this:Code:define('MODULE_PAYMENT_PAYPALEC_MARK_BUTTON_IMG', '');
Code:define('MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT', 'PayPal is the exclusive payment method used by this site.');
Problem is with the people that don't understand they can use a CC without having a PayPal acct. Even with our statements reminding folks that PayPal will take any CC, we get calls. "I don't have PayPal, how can I pay?"
I changed the PayPal button to this PayPal button and text to "Checkout with your Credit Card or PayPal via PayPal′s secure server. No PayPal account required.". We rarely get questions now.
https://www.paypalobjects.com/en_US/...n_PPeCheck.gif
Same, but worded slightly different. Still get the "I don't have PayPal." We've become an icon/emoji world. Few read text.:frusty:
That img is better IMO than the one with the arrow. Somehow the arrow implies 'click me'. Did you replace the resident text with what you note above? And if so which file was it in - I was unable to find it with the dev tool. I was able to add some text but it formatted all wonky.
I had a nasty gram from a customer this morning; "...I keep clicking the paypal and nothing happens..." which is why I was tending to this, but I'm surprised its the first time (that I know of) as I've always thought that img was unclear.
The problem here was that the firstdata_hco payment method (and possibly others?) is looking for the $order_totals variable to determine the deductions for the order and that variable was being set only if the confirmation page's display was being rendered.
It's been fixed (and validated by @faisalkn4) and the change is up on GitHub; I'll be creating a v1.0.9 release "real soon now".
I've just submitted v1.0.9 to the Zen Cart Plugins for review, correcting the following GitHub-recorded issues:
#60: Some payment methods require an instance of $order_totals
#59: Virtual order doesn't display shipping/confirmation blocks
#58: No payment modules displayed
#57: Note that "Sage Pay Form" is compatible in the readme
For those that celebrate ... Happy Thanksgiving!