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

One-Page Checkout [Support Thread]

Views: 629,263

Results 381 to 400 of 3,073
23 Mar 2017, 12:21 PM
#381
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

One-Page Checkout [Support Thread]

Let me ask this and please confirm it this is how the checkout flow should be with One_Page Checkout.

Item in shopping cart, now pressing checkout
Step 1 - Login page - ether choose returning customer, guest checkout, or new customer, fill in info and now pressing continue
Step 2 - Checkout page - this is now the new one page checkout page. I choose shipping method and fill in my credit card info in payment box. At bottom of screen is my cart summary all correct. I press the Confirm Order button (just below button we have this text: Upon order-submittal, a confirmation email will be sent to dxxxxxss######################). Here I would expect by pressing button that my card is getting charged and I will see the order confirmation page. But let's see.
Step 3 - Review and Confirm - Didn't we just do this? Why this extra step? This page looks like an order confirmation and we could loose many orders right here. Unless I scroll to the bottom of the page and read: "Final Step - continue to submit your order. Thank you!" Then have to press button Confirm Order.
Step (or page) 4 - Order Confirmation page. Order complete.

Is this how it is supposed to work? Or did I merge code wrong and ended up with one more step to confirm order? Looks like I only consolidated shipping and payment info on one page. The rest is still all the steps from the original checkout process. So I am saving one step... can't be right.

23 Mar 2017, 12:54 PM
#382
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

@mydanilo, that's the way it (currently) works for those payment methods that "collect credit card data on-site", like PayPal Payments Pro.

I've got an active change-request open for the OPC to change the initial "wording" on that confirm-order button for payment methods like this, specifically to reduce customer confusion.

23 Mar 2017, 3:18 PM
#383
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I will make the changes in wording and button so I can go live with it. Thought something was wrong. Thanks for clarifying.

25 Mar 2017, 6:10 PM
#384
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I would like to try this plugin on a brand new site using zencart 155e. I am using a responsive template called westminster_new.
Would one page checkout work? Or is it still to new to know?

I tried to make the plugin called fast and easy checkout to work but it does not for some reason.

26 Mar 2017, 2:29 AM
#385
frank18 avatar

frank18

Deceased

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

Re: One-Page Checkout [Support Thread]

Maynards:

I would like to try this plugin on a brand new site using zencart 155e. I am using a responsive template called westminster_new.
Would one page checkout work? Or is it still to new to know?

I tried to make the plugin called fast and easy checkout to work but it does not for some reason.

Works a treat on Westminster New, have it running on several client sites with this template.

To install, simply follow the detailed instructions to a T and you are up and running.

Good Luck!

26 Mar 2017, 1:09 PM
#386
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

frank18:

Works a treat on Westminster New, have it running on several client sites with this template.

To install, simply follow the detailed instructions to a T and you are up and running.

Good Luck!

Thanks, I will give it a try

26 Mar 2017, 2:36 PM
#387
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

It did not work for me. I obviously did something wrong. What I did since I am working on a new site was merged all files to a local copy of my site on my computer then uploaded the whole site via FTP to my server. Was that wrong???

Since I am not very well versed on the process of adding plungins like this to a site. I struggled a bit when reading the instructions on the addon.
Was I suppose to FTP the files one at a time straight to a copy of my site that is on the server???

Thanks in advance for any help on the procedure of adding this plugin.

27 Mar 2017, 12:23 PM
#388
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Maynards:

It did not work for me. I obviously did something wrong. What I did since I am working on a new site was merged all files to a local copy of my site on my computer then uploaded the whole site via FTP to my server. Was that wrong???

Since I am not very well versed on the process of adding plungins like this to a site. I struggled a bit when reading the instructions on the addon.
Was I suppose to FTP the files one at a time straight to a copy of my site that is on the server???

Thanks in advance for any help on the procedure of adding this plugin.
In what way did it not work? What Zen Cart version and what template are you using? Did you enable the plugin after uploading the files (it defaults to disabled)?

For plugins that have a lot of files (like this one), I usually

  1. Unzip the plugin into a directory on my local machine, recognizing that there's usually an intermediate directory (e.g. one_page_checkout-1.1.0) that represents the "root" directory of that zip-file.
  2. Change the YOUR_ADMIN and YOUR_TEMPLATE directory names in that local copy.
  3. Merge any necessary files into that local copy.
  4. Use my FTP program (I use WinSCP) and copy the local copy, starting at its root, to the root directory of my hosted Zen Cart.
  5. Go to the site's admin to make sure that the plugin installed correctly and perform any configuration settings required.
31 Mar 2017, 1:36 AM
#389
frank18 avatar

frank18

Deceased

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

Re: One-Page Checkout [Support Thread]

Had a customer complaining that they could not change the selected shipping method after getting to index.php?main_page=checkout_one_confirmation.

In a round-about way it is possible to change the shipping method (I know that... ) but a first time customer may be looking for an 'Edit' button next to "Shipping Method:" which ofc does not exist.

Any chance to get that done in the next updated version please? An 'Edit' button just needs to redirect back to the index.php?main_page=checkout_one page.

Cheers / Frank

31 Mar 2017, 4:14 AM
#390
frank18 avatar

frank18

Deceased

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

Re: One-Page Checkout [Support Thread]

frank18:

Had a customer complaining that they could not change the selected shipping method after getting to index.php?main_page=checkout_one_confirmation.

In a round-about way it is possible to change the shipping method (I know that... ) but a first time customer may be looking for an 'Edit' button next to "Shipping Method:" which ofc does not exist.

Any chance to get that done in the next updated version please? An 'Edit' button just needs to redirect back to the index.php?main_page=checkout_one page.

Cheers / Frank

Meanwhile, in includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_one_confirmation_default.php I changed this part

<?php
        if ($order->info['shipping_method']) {
?>
        <h3 id="checkoutConfirmDefaultShipment"><?php echo HEADING_SHIPPING_METHOD; ?></h3>
        <h4 id="checkoutConfirmDefaultShipmentTitle"><?php echo $order->info['shipping_method']; ?></h4>
<?php
        }
?>

to this

<?php
        if ($order->info['shipping_method']) {
?>
        <h3 id="checkoutConfirmDefaultShipment"><?php echo HEADING_SHIPPING_METHOD; ?></h3>
        <div class="buttonRow forward"><?php echo  '<a href="' . zen_href_link (FILENAME_CHECKOUT_ONE, '', 'SSL') . '">' . zen_image_button (BUTTON_IMAGE_EDIT_SMALL, BUTTON_EDIT_SMALL_ALT) . '</a>'; ?></div>
        <h4 id="checkoutConfirmDefaultShipmentTitle"><?php echo $order->info['shipping_method']; ?></h4>
<?php
        }
?>

Cheers / Frank

31 Mar 2017, 12:00 PM
#391
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Thanks, @frank18, I'll look to get this into the next release ... with a caveat:

There are payment modules that replace the shipping-address link during the "normal" checkout_confirmation processing. I'll look to more mimic the full checkout_confirmation page on the OPC confirmation one.

5 Apr 2017, 1:51 PM
#392
diptimoy avatar

diptimoy

Zen Follower

Join Date:
Apr 2012
Location:
Bardhaman , Bharat
Posts:
214
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

zencart 155e

getting this

Your order's details have changed. Please review the current values and re-submit.

Kindly help

5 Apr 2017, 3:36 PM
#393
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

diptimoy:

zencart 155e

getting this

Your order's details have changed. Please review the current values and re-submit.

Kindly help
A teeny bit more information will help me help!

  1. What template are you using?
  2. Was this a fresh ZC 1.5.5e install or did you upgrade?
  3. What shipping, order_total and payment modules are you using?
9 Apr 2017, 3:54 PM
#394
tonyreynolds avatar

tonyreynolds

New Zenner

Join Date:
Dec 2012
Posts:
68
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I am working with Zen Cart 1.5.5d.
I have installed One-Page Checkout. Nice!
I have been working on a two modules. One charges a fee for shipping items that require special shipping fee (in this case it is a Hazardous Materials Fee or Hazmat), the second module charges a fee for shipping items that are different from the majority sold in the store (e.g the items doesn't fit into the standard shipping configuration) it is called Surcharge Fee.
Both of these are based on the priority_handling_1.2.1, which was based on a modification of the Insurance Shipping module, which is a modification of the low order fee module from Harald Ponce de Leon.
For some reason it is based on the $credit_selection component. Not sure why, but now is making itself apparent in One-Page Checkout.
The modules are picked up and display themselves, there is an "Apply" button that is also visible, that I can take of in regards to interfacing with my plugins.
Where I am needing a little guidance is with the order total. It is not picking up the additional fees in the order total amount, nor is it showing their presence in the "addition" display in order total calculation.
Any pointers to where I might look to get those into the total?
It works properly in the default checkout system.

Tony

9 Apr 2017, 4:15 PM
#395
tonyreynolds avatar

tonyreynolds

New Zenner

Join Date:
Dec 2012
Posts:
68
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

As a followup. There are no files that conflict (overwrite) from the Surcharge/HazMat plugin and the One-Page Checkout.

TR

9 Apr 2017, 4:43 PM
#396
tonyreynolds avatar

tonyreynolds

New Zenner

Join Date:
Dec 2012
Posts:
68
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I also am getting "cart message" outlined in thread message 393 - "Your order's details have changed. Please review the current values and re-submit." it is like loop and I cannot get past it. However if I do not have any items that require the hazmat shipping or surcharge fee it processes correctly.

TR

9 Apr 2017, 4:49 PM
#397
tonyreynolds avatar

tonyreynolds

New Zenner

Join Date:
Dec 2012
Posts:
68
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

The website is at http://bms.night.net it is underdevelopment.

To see the hazmat fee added this link will add it to the cart.
http://bms.night.net/index.php?main_page=product_info&cPath=11&products_id=2486

To see the surcharge fee added this link will add it to the cart.
http://bms.night.net/index.php?main_page=product_info&cPath=5&products_id=1589

TR

9 Apr 2017, 5:00 PM
#398
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Tony, there are a couple of things going on here.

First, you shouldn't be getting that "something's changed" message when updating a "credit-class" order total by clicking an "Apply" button. In /includes/modules/pages/checkout_one_confirmation/header_php.php, find:

if ($checkout_one->hashSession ($currencies->format ($order->info['total'])) != $session_start_hash) {
    $error = true;
    $messageStack->add_session ('checkout_payment', ERROR_NOJS_ORDER_CHANGED, 'error');
}

and change that to

if ([B]$order_confirmed && [/B]$checkout_one->hashSession ($currencies->format ($order->info['total'])) != $session_start_hash) {
    $error = true;
    $messageStack->add_session ('checkout_payment', ERROR_NOJS_ORDER_CHANGED, 'error');
}

I'll get that updated in the next OPC release.

Secondly, the processing performed by your Priority Handling order-total will require some re-alignment to interoperate with OPC. An OT module's collect_posts function is called on each entry to the OPC's initial page, just like on the normal checkout_payment page. Your order-total, for that method :

    function collect_posts()
    {
        global $db, $currencies;
        if ($_POST['opt_priority_handling']) {
            $_SESSION['priority_handling'] = $_POST['opt_priority_handling'];
        } else {
            $_SESSION['priority_handling'] = '0';
        }
    }

resets the session-based value if the associated $_POST variable isn't set ... which it isn't upon return to the OPC initial page after ticking and clicking the Apply button.

This processing is similar to the order-total's behavior in a normal checkout. If you tick the "Priority Handling" box on the payment page but choose to edit your order's comments from the confirmation page, the box is no longer ticked when the payment page is redisplayed.

I'll "chew" on this a bit, as it's not yet clear to me how to preserve the state of that checkbox input.

9 Apr 2017, 5:10 PM
#399
tonyreynolds avatar

tonyreynolds

New Zenner

Join Date:
Dec 2012
Posts:
68
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

In my case I changed the CheckBox/Radio button from the Priority Handling to a hidden field that is selected. So there no choice to the user. It should always be set.
While the Hazmat/Surcharge plugins are still being developed the code is available for review:
http://bms.night.net/Hazmat-Surcharge.zip

Tony

9 Apr 2017, 5:24 PM
#400
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

You're going to run into the same issue with that HazMat handling; the underlying issue is that there's no "good way" to preserve the state of that checkbox field across redirects.

My initial thought is that you could convert the checkbox to a yes/no radio button so that the variable is always present ...