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

One-Page Checkout [Support Thread]

Views: 628,916

Results 21 to 40 of 3,073
04 Aug 2016, 22:24
#21
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

One-Page Checkout [Support Thread]

Just wanted to say Thank you for this excellent plugin. I installed it according to instructions without a hitch. Absolutely no problem with payment or shipping modules or anything else. Thank you again. Are you accepting donations? I think you should and I will be glad to contribute.

Thanks again,

Frank

05 Aug 2016, 12:37
#22
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Thanks, @fjbern1943, donations to the Zen Cart project are always welcomed.

What payment and shipping modules are you using? I'm trying to compile a list of those that people have used with the One Page Checkout.

05 Aug 2016, 13:58
#23
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: One-Page Checkout [Support Thread]

lat9:

......What payment and shipping modules are you using? I'm trying to compile a list of those that people have used with the One Page Checkout.

Direct Bank Deposit
eWay
PayPal

and all good :thumbsup:

05 Aug 2016, 15:14
#24
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

frank18:

Direct Bank Deposit
eWay
PayPal

and all good :thumbsup:
Thanks, Frank (was that PayPal Express Checkout?). Now, if I could only determine why the shipping-method is not pre-selected on some sites ...

05 Aug 2016, 16:28
#25
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

Thanks, Frank (was that PayPal Express Checkout?). Now, if I could only determine why the shipping-method is not pre-selected on some sites ...

Not sure if my example is your ref. I have CanadaPost mod. It is the only shipping I offer. In that respect, the method is pre-selected. Within CanadaPost there are several choices that I offer. These successfully show on the checkout screen, with none of those pre-selected. An attempt to checkout without selecting one choice will not proceed - basically the screen refreshes as is. Selecting any choice will adjust the total sale cost and changing the choice will follow through and change the total.

On the cart screen, before hitting the checkout, the shipping choices and respective costs are presented, with the least expensive estimate hi-lighted. The estimate doesn't become an actual cost until selected on checkout.

Here's a screen shot of checkout shipping section:

Attachment 16567

As is, my thought is to simply change the message in the language file to reinforce that the customer must select a choice.

I'm still on test store with this. I have also tested in the mobile/tablet simulators with no issues presenting.

05 Aug 2016, 16:31
#26
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

Thanks, @fjbern1943, donations to the Zen Cart project are always welcomed.

What payment and shipping modules are you using? I'm trying to compile a list of those that people have used with the One Page Checkout.

Shipping Methods - free shipping options, usps and fed ex

Payment Methods - Pay Pal express, check/money order, layaway plan, and Braintree

05 Aug 2016, 16:44
#27
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

soxophoneplayer:

Not sure if my example is your ref. I have CanadaPost mod. It is the only shipping I offer. In that respect, the method is pre-selected. Within CanadaPost there are several choices that I offer. These successfully show on the checkout screen, with none of those pre-selected. An attempt to checkout without selecting one choice will not proceed - basically the screen refreshes as is. Selecting any choice will adjust the total sale cost and changing the choice will follow through and change the total.

On the cart screen, before hitting the checkout, the shipping choices and respective costs are presented, with the least expensive estimate hi-lighted. The estimate doesn't become an actual cost until selected on checkout.

Here's a screen shot of checkout shipping section:

Attachment 16567

As is, my thought is to simply change the message in the language file to reinforce that the customer must select a choice.

I'm still on test store with this. I have also tested in the mobile/tablet simulators with no issues presenting.
That helps a lot! I think that the most recent change that I made to /includes/modules/pages/checkout_one/header_php.php will correct that issue.

If you click on that link, you'll be presented with the "raw" file data, just copy/paste that file's contents into the like-named file in your store's file-system.

05 Aug 2016, 17:14
#28
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

That helps a lot! I think that the most recent change that I made to /includes/modules/pages/checkout_one/header_php.php will correct that issue.

If you click on that link, you'll be presented with the "raw" file data, just copy/paste that file's contents into the like-named file in your store's file-system.

Yup. That's got it. I envy your geekerly skills.

Out of curiosity - is it coincidence that the buttons in your mod are the same colours as in my template (Sheffield Blue Responsive) or have you put in a magic code to sniff out and use colour scheme of the user?

05 Aug 2016, 18:10
#29
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

soxophoneplayer:

Yup. That's got it. I envy your geekerly skills.

Out of curiosity - is it coincidence that the buttons in your mod are the same colours as in my template (Sheffield Blue Responsive) or have you put in a magic code to sniff out and use colour scheme of the user?
OK, another one bites the dust ...:clap:

No magic code involved, the plugin simply uses the button-related HTML constructs and built-in Zen Cart functions to create those buttons.

As such, it either pulls in the graphic buttons you've specified for your template or the CSS-styling for those buttons, depending on your store's "CSS Buttons" configuration setting (present in Configuration->My Store for Zen Cart versions prior to 1.5.5 or Configuration->Layout Settings otherwise.

05 Aug 2016, 21:40
#30
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Hello,

Just changed the /includes/modules/pages/checkout_one/header_php.php file, as shown in post#28 above. When I change the shipping method the subtotal or the total do not update. Changed the file back to the original plugin file and the behavior is the same.

Frank

05 Aug 2016, 23:47
#31
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: One-Page Checkout [Support Thread]

fjbern1943:

Hello,

Just changed the /includes/modules/pages/checkout_one/header_php.php file, as shown in post#28 above. When I change the shipping method the subtotal or the total do not update. Changed the file back to the original plugin file and the behavior is the same.

Frank

Does it update correctly if you change back to the conventional 3 page checkout?

05 Aug 2016, 23:57
#32
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: One-Page Checkout [Support Thread]

lat9:

Thanks, Frank (was that PayPal Express Checkout?)....

Yes it is Cindy.

06 Aug 2016, 01:37
#33
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

frank18:

Does it update correctly if you change back to the conventional 3 page checkout?

Yes when I switch back to the standard 3 page checkout the shipping charges change and the totals are updated when I goto step 2.

Frank

06 Aug 2016, 02:26
#34
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: One-Page Checkout [Support Thread]

fjbern1943:

Yes when I switch back to the standard 3 page checkout the shipping charges change and the totals are updated when I goto step 2.

Frank

Ok, if the conventional checkout works as expected then your basic configuration is ok. Now pls check that all files/folders contained in this package are uploaded to the correct locations.

Cheers / (another) Frank

06 Aug 2016, 11:20
#35
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

frank18:

Ok, if the conventional checkout works as expected then your basic configuration is ok. Now pls check that all files/folders contained in this package are uploaded to the correct locations.

Cheers / (another) Frank

yes, all files have been uploaded and are in their right place. Did notice however that not all template files in the template_default folder are in the responsive_sheffield_blue folder only the css folder is there.

Frank

Frank

06 Aug 2016, 11:31
#36
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

fjbern1943:

yes, all files have been uploaded and are in their right place. Did notice however that not all template files in the template_default folder are in the responsive_sheffield_blue folder only the css folder is there.

Frank

Frank

oK I lied found out the 1.54 only file jscript_framework.php file was missing from both the template_default and responsive_sheffield_blue folders. Uploaded them and guess what everything is working now.

Frank

06 Aug 2016, 11:44
#37
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

@fjbern1943, thanks for the update that applying the Zen Cart 1.5.5a corrections to the jscript_framework.php file corrected your issues (make sure that you also updated the /ajax.php file since you're running Zen Cart 1.5.4).

06 Aug 2016, 16:53
#38
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

I've just submitted v1.0.1 to the plugins area; it will be available for download once reviewed.

This version contains the following changes; the change numbers identify the issue numbers from the plugin's GitHub repository:

#1: Add check for customer's authorization level
#2: AJAX changes apply to Zen Cart 1.5.5, too.
#3: Add support for the terms&conditions block.
#4: Add instructions for updating ROBOTS_PAGES_TO_SKIP
#5: Correction for payment methods that insert form methods (like eWay) on the confirmation page
#6: Shipping not calculated/selected on initial entry to checkout on some stores
#7: Remove unwanted extra double-quote in checkout_one_confirmation page's template
#8: Set shipping/payment button edit-flags on confirmation page
#9: Correct progress indicator not showing on confirmation page.
#10: Update debug.
#11: Pre-integration with Products' Options' Stock Manager.

07 Aug 2016, 03:19
#39
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: One-Page Checkout [Support Thread]

Using One-Page Checkout with PDP (Product Delivery By Postcode) Shipping Module

If you are using my shipping module 'Product Delivery By Postcode (PDP)' https://www.zen-cart.com/showthread.php?209174-Product-Delivery-by-Postcode-%28PDP%29-Support ) you need to make 2 additions to the One-Page Checkout module.

  1. File includes/modules/pages/checkout_one/header_php.php

After line 203 insert

// bof postcode allowed (PDP)
  $check_delivery_postcode = $order->delivery['postcode'];
  
  // shorten UK / Canada postcodes to use first part only
  $check_delivery_postcode = zen_get_UKPostcodeFirstPart($check_delivery_postcode);

    // now check db for allowed postcodes and enable / disable relevant shipping modules
      
      if (in_array($check_delivery_postcode,explode(",", MODULE_SHIPPING_LOCALDELIVERY_POSTCODE))) {
        // continue as normal
      } else {
         $localdelivery = false;
      }
      
      if (in_array($check_delivery_postcode,explode(",", MODULE_SHIPPING_STOREPICKUP_POSTCODE))) {
        // continue as normal
      } else {
         $storepickup = false;
      }
// eof postcode allowed (PDP)
  1. File includes/templates/template_default/tpl_checkout_one_default.php

Find

    <h2 id="checkoutShippingHeadingMethod"><?php echo TITLE_NO_SHIPPING_AVAILABLE; ?></h2>
    <div id="checkoutShippingContentChoose" class="important"><?php echo TEXT_NO_SHIPPING_AVAILABLE; ?></div>

and change to

    <h2 id="checkoutShippingHeadingMethod"><?php echo TITLE_NO_SHIPPING_AVAILABLE; ?></h2>
    
<!--bof local delivery only alert -->
    <div id="cartLocalText">
<?php
    // check if product marked local delivery only is in cart
    global $cart ;
    $chk_local_delivery_only = $_SESSION['cart']->in_cart_check('product_is_local_delivery','1');
    if ($chk_local_delivery_only) {
      echo TEXT_PRODUCT_LOCAL_DELIVERY_ONLY;
    }
?>
    </div>
<!--eof local delivery only alert -->

    <div id="checkoutShippingContentChoose" class="important"><?php echo TEXT_NO_SHIPPING_AVAILABLE; ?></div>

Cheers / Frank

07 Aug 2016, 11:31
#40
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Thanks for that, Frank. I'll just note that any changes to the One-Page Checkout's default templates should be treated just like any other template-override, i.e. copy the file from /includes/templates/template_default/templates into /includes/templates/YOUR_TEMPLATE/templates before making those changes!

Otherwise, those changes (like the ones to the page's header_php.php) will be overwritten on a plugin update (unless you remember where you made those changes).