Totally Zenned
- Join Date:
- Feb 2009
- Location:
- UK
- Posts:
- 1,326
- Plugin Contributions:
- 0
One-Page Checkout [Support Thread]
Thank you, will do
Views: 629,552
Totally Zenned
Thank you, will do
Totally Zenned
simon1066:
I've activated Guest Checkout for the first time on my local dev copy and find that when clicking through to the \index.php?main_page=checkout_one page I get a partial blank screen. No doubt I've broken something ...
And the answer is, code was missing from my templates version of tpl_checkout_one_default.php, around line 9
echo $payment_modules->javascript_validation();
should have been
if ($payment_module_available) {
echo $payment_modules->javascript_validation();
}
Unsure as to why those lines were missing, my archives go back to 2017 and it seems those lines of code have been missing since, at least, then. Also thought I had checked my template copy against the original in an effort to debug - probably a case of too many files open in Notepad++ at the same time.
Anyway - all's good and thanks to @lat9 for her help and for pointing me in the right direction.
Administrator
Thanks, @simon1066, for the update. I'll note that the template file was updated about a year ago for OPC v2.1.0.
Totally Zenned
I installed version 2.3.0 of this module to a ZC1.5.5f site and have noticed that when guest checkout is enabled order confirmation emails are being sent as text emails not HTML. Regular account holders get their confirmation emails in HTML format.
Also noticed that the admin copy of the order confirmation email has the addresses formatted on a single line rather than in standard address format.
I did look through the module documnts but didn't see anything related to this.
Totally Zenned
Additional info. I checked the data that is written to the customers table when a guest order is placed and can confirm that email preference is stored as HTML
Administrator
strelitzia:
I installed version 2.3.0 of this module to a ZC1.5.5f site and have noticed that when guest checkout is enabled order confirmation emails are being sent as text emails not HTML. Regular account holders get their confirmation emails in HTML format.
Also noticed that the admin copy of the order confirmation email has the addresses formatted on a single line rather than in standard address format.I did look through the module documnts but didn't see anything related to this.
strelitzia:
Additional info. I checked the data that is written to the customers table when a guest order is placed and can confirm that email preference is stored as HTML
Thanks for the report; I'll check it out 'real-soon-now'. GitHub issue opened for tracking: https://github.com/lat9/one_page_checkout/issues/244
Zen Follower
Hi,
Just installed this and it works well just a few issues that I'm sure are easy to fix. First is the confirm order button has gone and just shows text. Ive changed the file names in button names folder and in checkout confirmation to match the file name but still no joy.
Other issue is paypal isn't showing on the checkout page as a form of payment, only worldpay.
Any ideas?
Thank you
Administrator
JakeLawless:
Hi,
Just installed this and it works well just a few issues that I'm sure are easy to fix. First is the confirm order button has gone and just shows text. Ive changed the file names in button names folder and in checkout confirmation to match the file name but still no joy.
Other issue is paypal isn't showing on the checkout page as a form of payment, only worldpay.
Any ideas?
Thank you
Is your store configured to use CSS Buttons (that's a normal setting now-a-days). See Configuration->Layout Settings towards the bottom. What template is in use?
Does this issue occur on the first, data-gathering page or on OPC's checkout-confirmation page (sorry, it wasn't clear to me from your posting)?
Which form of PayPal isn't showing? Is this when guests are going through checkout or signed-in customers?
Zen Follower
lat9:
Is your store configured to use CSS Buttons (that's a normal setting now-a-days). See Configuration->Layout Settings towards the bottom. What template is in use?
Does this issue occur on the first, data-gathering page or on OPC's checkout-confirmation page (sorry, it wasn't clear to me from your posting)?
Which form of PayPal isn't showing? Is this when guests are going through checkout or signed-in customers?
Template is one bought from TemplateMonster, its on the data gathering page when you can complete the order.
The paypal issue has been fixed it was something i had turned off in settings. Thanks.
Administrator
JakeLawless:
Template is one bought from TemplateMonster, its on the data gathering page when you can complete the order.
The paypal issue has been fixed it was something i had turned off in settings. Thanks.
You still haven't indicated whether or not CSS buttons are in use for the store. OPC's /tpl_modules_opc_submit_block.php (distributed in /template_default and possibly overridden by YOUR_TEMPLATE) uses the built-in zen_image_button function to create that button.
You might try comparing the use in that OPC template-file against others provided by your template.
Zen Follower
lat9:
You still haven't indicated whether or not CSS buttons are in use for the store. OPC's /tpl_modules_opc_submit_block.php (distributed in /template_default and possibly overridden by YOUR_TEMPLATE) uses the built-in zen_image_button function to create that button.
You might try comparing the use in that OPC template-file against others provided by your template.
No, CSS buttons aren't in use. I have had a look for a submit block file to compare but can only find the OPC one.
Zen Follower
JakeLawless:
No, CSS buttons aren't in use. I have had a look for a submit block file to compare but can only find the OPC one.
Sorry just had a look and CSS buttons are in use
Administrator
JakeLawless:
Sorry just had a look and CSS buttons are in use
You'll need to inspect the 'wrapper' (the additional HTML) that your template puts around buttons for styling and apply that styling to your template's copy of the tpl_modules_opc_submit_block.php file.
Zen Follower
lat9:
You'll need to inspect the 'wrapper' (the additional HTML) that your template puts around buttons for styling and apply that styling to your template's copy of the tpl_modules_opc_submit_block.php file.
How can i find this? Thanks
Administrator
JakeLawless:
How can i find this? Thanks
Probably the easiest page is for contact_us. That has both a link-button and a submit-button so that you can see what HTML wrapper is being applied to those buttons.
Zen Follower
In contact us this is the wrapper:
'<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT); ?></div>
I tried putting this into submit block but still no luck
Zen Follower
All sorted now, thanks for all your help
Totally Zenned
I may have missed it in the OPC docs,
Is there any way to prevent bots from generating a OPC one_page_checkout-na-xxxx-xx-xx.log file?
Seems as though bots navigate straight to the OPC page without any other site navigation and cause the OPC debug files to be generated as an annoyance.
I understand if the answer is that is just an annoyance that is not easily intercepted.
I am sorry if I missed the answer elsewhere.
Administrator
Not at this time, but the *Browser *class that ***OPC ***uses has an *isRobot *method, so I will update ***OPC ***to disallow guest checkout if the access is seen to be from a robot.
Totally Zenned
TNX Cindy,
In most cases, the only line in the server log for the IP address is a visit to OPC which is similar to those that only visit directly to ContactUs/send and CreateAcount/send so maybe my terminology for robot is not proper.
Fields marked required must be completed.
Tell staff why this post should be reviewed.