Zen Cart Logo
Forums / All Other Contributions/Addons / One-Page Checkout [Support Thread]

One-Page Checkout [Support Thread]

Views: 629,552

Results 1,561 to 1,580 of 3,078
30 Mar 2020, 5:05 PM
#1561
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

One-Page Checkout [Support Thread]

Thank you, will do

31 Mar 2020, 10:32 AM
#1562
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

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.

31 Mar 2020, 10:45 AM
#1563
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,067
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

Thanks, @simon1066, for the update. I'll note that the template file was updated about a year ago for OPC v2.1.0.

2 Apr 2020, 11:40 AM
#1564
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

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.

2 Apr 2020, 1:38 PM
#1565
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

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

2 Apr 2020, 2:27 PM
#1566
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,067
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

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

6 Apr 2020, 9:47 AM
#1567
jakelawless avatar

jakelawless

Zen Follower

Join Date:
Jan 2018
Posts:
146
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

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.
Attachment 18925

Other issue is paypal isn't showing on the checkout page as a form of payment, only worldpay.

Any ideas?

Thank you

6 Apr 2020, 11:39 AM
#1568
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,067
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

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.
Attachment 18925

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?

7 Apr 2020, 12:41 PM
#1569
jakelawless avatar

jakelawless

Zen Follower

Join Date:
Jan 2018
Posts:
146
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

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.

7 Apr 2020, 2:48 PM
#1570
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,067
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

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.

8 Apr 2020, 9:41 AM
#1571
jakelawless avatar

jakelawless

Zen Follower

Join Date:
Jan 2018
Posts:
146
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

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.

8 Apr 2020, 10:30 AM
#1572
jakelawless avatar

jakelawless

Zen Follower

Join Date:
Jan 2018
Posts:
146
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

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

8 Apr 2020, 10:45 AM
#1573
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,067
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

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.

8 Apr 2020, 11:35 AM
#1574
jakelawless avatar

jakelawless

Zen Follower

Join Date:
Jan 2018
Posts:
146
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

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

8 Apr 2020, 12:19 PM
#1575
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,067
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

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.

13 Apr 2020, 10:45 AM
#1576
jakelawless avatar

jakelawless

Zen Follower

Join Date:
Jan 2018
Posts:
146
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

In contact us this is the wrapper:
'<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT); ?></div>

<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div> <?php'

I tried putting this into submit block but still no luck

13 Apr 2020, 11:04 AM
#1577
jakelawless avatar

jakelawless

Zen Follower

Join Date:
Jan 2018
Posts:
146
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

All sorted now, thanks for all your help

13 Apr 2020, 5:43 PM
#1578
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

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.

14 Apr 2020, 11:00 AM
#1579
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,067
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

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.

14 Apr 2020, 3:38 PM
#1580
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

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.