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

One-Page Checkout [Support Thread]

Views: 629,378

Results 761 to 780 of 3,077
21 Apr 2018, 2:47 PM
#761
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

One-Page Checkout [Support Thread]

Cindy,

I am trying to use OPC in combination with the new boostrap theme, but get an error popup "Please contact the store owner; some required elements of this page are missing."
Opening the console I can see

Missing #otshipping
 setFormSubmitButton, payment-module: null
Showing "confirm"
 Setting orderConfirmed (0), submitter (null)

After clicking ok, I get a checkout screen, but layout is screwed

21 Apr 2018, 6:11 PM
#762
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Design75:

Cindy,

I am trying to use OPC in combination with the new boostrap theme, but get an error popup "Please contact the store owner; some required elements of this page are missing."
Opening the console I can see

Missing #otshipping
setFormSubmitButton, payment-module: null
Showing "confirm"
Setting orderConfirmed (0), submitter (null)

> After clicking ok, I get a checkout screen, but layout is screwed
Arggh, I was afraid of that ... but haven't had time to do the integration-testing myself.  I'll put that on my list, to see what's up and what can be changed to enable the integration.
24 Apr 2018, 2:19 PM
#763
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

lat9:

Arggh, I was afraid of that ... but haven't had time to do the integration-testing myself. I'll put that on my list, to see what's up and what can be changed to enable the integration.
Turns out that it's a combination of issues (see https://github.com/lat9/one_page_checkout/issues/118) that is preventing the interoperation. I'll report back here when updates are available.

27 Apr 2018, 12:21 PM
#764
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

I've just submitted v2.0.0 of One-Page Checkout to the Zen Cart Plugins for review, containing changes associated with the following GitHub issues:

#107: Add processing to enable "guest-checkout" and "registered-accounts" features.
#108: Align STOCK_CHECK clause in shipping checks with "checkout_shipping" current handling.
#109: Redirects to the "time_out" pages via SSL protocol.
#110: Correct integration with "Product Delivery by Postcode".
#111: Correct integration with the "PayPal Express Checkout" shortcut button.
#112: Correct message when no shipping is available.
#116: Correct misspelling in console log.
#118: Enable interoperation with the "ZCA Bootstrap Template".

This version introduces Guest Checkout and Account Registration features similar to those provided by the COWOA and COWAA plugins. I'll update this support thread when download is available.

27 Apr 2018, 2:57 PM
#765
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

I uploaded from git, as a guest I don't get any payment methods...

Sorry, we are not accepting payments from your region at this time.
Please contact us for alternate arrangements.

When I login as a customer all work as intended....

Any Ideas?

27 Apr 2018, 3:23 PM
#766
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

rbarbour:

I uploaded from git, as a guest I don't get any payment methods...

Sorry, we are not accepting payments from your region at this time.
Please contact us for alternate arrangements.

> 
> When I login as a customer all work as intended....
> 
> Any Ideas?
The default settings for the guest-checkout disallow the use of **cod **and **moneyorder **payment methods; you can change that in the Configuration->One-Page Checkout settings.
27 Apr 2018, 3:24 PM
#767
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

lat9:

I've just submitted v2.0.0 of One-Page Checkout to the Zen Cart Plugins for review, containing changes associated with the following GitHub issues:

#107: Add processing to enable "guest-checkout" and "registered-accounts" features.
#108: Align STOCK_CHECK clause in shipping checks with "checkout_shipping" current handling.
#109: Redirects to the "time_out" pages via SSL protocol.
#110: Correct integration with "Product Delivery by Postcode".
#111: Correct integration with the "PayPal Express Checkout" shortcut button.
#112: Correct message when no shipping is available.
#116: Correct misspelling in console log.
#118: Enable interoperation with the "ZCA Bootstrap Template".

This version introduces Guest Checkout and Account Registration features similar to those provided by the COWOA and COWAA plugins. I'll update this support thread when download is available.
My, that was fast! The update is now available for download from the plugins!

27 Apr 2018, 3:42 PM
#768
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

lat9:

The default settings for the guest-checkout disallow the use of **cod **and **moneyorder **payment methods; you can change that in the Configuration->One-Page Checkout settings.

Well, I feel stupid. :blush:

I can honestly say "I really like this plugin". :bigups::bigups:

After trying other "one-page" & "COWOA" plugins this one is by far structured much better....

I am almost tempted to break my own rule about adding 3rd party plugins to my free templates..

27 Apr 2018, 4:21 PM
#769
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

rbarbour:

Well, I feel stupid. :blush:

I can honestly say "I really like this plugin". :bigups::bigups:

After trying other "one-page" & "COWOA" plugins this one is by far structured much better....

I am almost tempted to break my own rule about adding 3rd party plugins to my free templates..
Thanks for the compliment, @rbarbour!

I'd suggest, however, distributing *only *template-overrides for the various pages' formatting since the guest-checkout/registered-accounts handling is fairly new and could wind up being fluid.

28 Apr 2018, 9:00 PM
#770
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

Maybe I should stick to templates :blush:

Fresh install from both GIT and ZC plugins. Can't confirm order, keep getting:

Your order's details have changed. Please review the current values and re-submit. 
29 Apr 2018, 10:49 AM
#771
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

rbarbour:

Maybe I should stick to templates :blush:

Fresh install from both GIT and ZC plugins. Can't confirm order, keep getting:

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

I'm guessing that you're using the ZCA Bootstrap Template:D ... did you create the (required) template-override file for the ***tpl_modules_opc_shopping_cart.php*** file?
29 Apr 2018, 12:46 PM
#772
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: One-Page Checkout [Support Thread]

Using the combination of OPC and the bootstrap template, I can not see the Terms and Conditions checkbox

29 Apr 2018, 1:37 PM
#773
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Design75:

Using the combination of OPC and the bootstrap template, I can not see the Terms and Conditions checkbox
Darn it; I thought that I'd added those Bootstrap classes to ***all ***the radio and checkbox inputs ... I apparently missed that one.

GitHub issue created: https://github.com/lat9/one_page_checkout/issues/122

29 Apr 2018, 4:03 PM
#774
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

lat9:

I'm guessing that you're using the ZCA Bootstrap Template:D ... did you create the (required) template-override file for the tpl_modules_opc_shopping_cart.php file?

Not funny Cindy :hug:

I was altering the layout of tpl_modules_order_totals.php to try something :blush: but seems reversing the order of output throws OPC for a loop......

29 Apr 2018, 4:12 PM
#775
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

rbarbour:

Not funny Cindy :hug:

I was altering the layout of tpl_modules_order_totals.php to try something :blush: but seems reversing the order of output throws OPC for a loop......
Tee-hee!

The interoperability change that I made to OPC for the Bootstrap (and other templates that re-format the order totals) checks to see what type of "container" each title/value pair is in (div or non-div). If in a div, then the OPC changes assume that the first-child of that contain will contain the total's value; otherwise, the assumption is that the totals' values are in the second-child (the presumed 2nd <td>) within the container.

29 Apr 2018, 4:18 PM
#776
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

lat9:

Tee-hee!

The interoperability change that I made to OPC for the Bootstrap (and other templates that re-format the order totals) checks to see what type of "container" each title/value pair is in (div or non-div). If in a div, then the OPC changes assume that the first-child of that contain will contain the total's value; otherwise, the assumption is that the totals' values are in the second-child (the presumed 2nd <td>) within the container.

Understood,

My issue is: adding the (required) template-override file for the tpl_modules_opc_shopping_cart.php file works at initial visit to the page, however changing "say" the shipping method, the ajax update doesn't inherit the table styles "width", so it appears to be floating left.

29 Apr 2018, 4:36 PM
#777
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

rbarbour:

Understood,

My issue is: adding the (required) template-override file for the tpl_modules_opc_shopping_cart.php file works at initial visit to the page, however changing "say" the shipping method, the ajax update doesn't inherit the table styles "width", so it appears to be floating left.
I'd noticed that, too. I think (but didn't go "deep" enough) that it's because the tpl_modules_order_totals.php update provided by the template uses a colspan="2" for the title, so the column-count (created by tpl_modules_opc_shopping_cart.php) gets out-of-sync.

29 Apr 2018, 4:51 PM
#778
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

lat9:

I'd noticed that, too. I think (but didn't go "deep" enough) that it's because the tpl_modules_order_totals.php update provided by the template uses a colspan="2" for the title, so the column-count (created by tpl_modules_opc_shopping_cart.php) gets out-of-sync.

I'm thinking that instead of the (required) template-override file for the tpl_modules_opc_shopping_cart.php file, adding a check to the template-override tpl_modules_order_totals.php file.

This will allow for OPC to inherit the stock 'div' layout for use with the ZCA Bootstrap Template, I am not done with the template-overrides for the various OPC pages' formatting but you can see outcome here.

http://www.zcadditions.com/bootstrap_pro2_tpl_demo

29 Apr 2018, 4:56 PM
#779
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: One-Page Checkout [Support Thread]

rbarbour:

I'm thinking that instead of the (required) template-override file for the tpl_modules_opc_shopping_cart.php file, adding a check to the template-override tpl_modules_order_totals.php file.

This will allow for OPC to inherit the stock 'div' layout for use with the ZCA Bootstrap Template, I am not done with the template-overrides for the various OPC pages' formatting but you can see outcome here.

http://www.zcadditions.com/bootstrap_pro2_tpl_demo

I see you talking about the template-override file for the tpl_modules_opc_shopping_cart.php multiple times, but I could not find it anywhere in the manual. Or am I missing a point here?

29 Apr 2018, 5:14 PM
#780
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Design75:

I see you talking about the template-override file for the tpl_modules_opc_shopping_cart.php multiple times, but I could not find it anywhere in the manual. Or am I missing a point here?
In the readme's Overview / Operation tab:

v2.0.0 of One-Page Checkout has been validated with the ZCA Bootstrap Template, v1.0.4. Since that template uses a table-based layout for the order-totals' formatting, you'll need to make a template-override change to includes/templates/template_default/templates/tpl_modules_opc_shopping_cart.php, wrapping the order-totals' output with table tags:

if (MODULE_ORDER_TOTAL_INSTALLED) {
    $row_class = ($last_row_class == 'rowEven') ? 'rowOdd' : 'rowEven';
//-bof-opc/bootstrap, added <table></table> since the order totals are displayed as table-rows.
?>     
        <tr class="<?php echo $row_class; ?>" id="cartOrderTotals">
            <td colspan="<?php echo (count($order->info['tax_groups']) > 1) ? 4 : 3; ?>" id="orderTotalDivs">[B]<table width="100%">[/B]<?php $order_total_modules->process (); $order_total_modules->output(); ?>[B]</table>[/B]</td>
        </tr>
<?php
//-eof-opc/bootstrap
}