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

One-Page Checkout [Support Thread]

Views: 632,622

Results 2,881 to 2,900 of 3,088
8 Aug 2024, 9:26 AM
#2881
mikecnz avatar

mikecnz

New Zenner

Join Date:
Mar 2009
Location:
New Zealand
Posts:
76
Plugin Contributions:
0

One-Page Checkout [Support Thread]

ZC 2.0.1 Bootstrap template and OPC.

Is there a way to control the layout of the checkout page in the Admin, or is it CSS or template-based?

I currently have the checkout information displayed in 3 columns underneath the text Checkout, with each column being 1/3 of the width of the container.
I want each component of the checkout section to take up the fill width of the container.
I've achieved this result in a browser using development tools, but am unsure of the correct way to go about it.

8 Aug 2024, 12:54 PM
#2882
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

mikecnz:

ZC 2.0.1 Bootstrap template and OPC.

Is there a way to control the layout of the checkout page in the Admin, or is it CSS or template-based?

I currently have the checkout information displayed in 3 columns underneath the text Checkout, with each column being 1/3 of the width of the container.
I want each component of the checkout section to take up the fill width of the container.
I've achieved this result in a browser using development tools, but am unsure of the correct way to go about it.
That page's layout is template-based. Take a look at tpl_checkout_one_default.php and you'll see that each of the "blocks" on that page is its own element. You can re-arrange in your version of Bootstrap, changing the number of columns as well as the ordering of those "blocks".

10 Aug 2024, 6:36 PM
#2883
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

v2.5.3 of One-Page Checkout is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

This release contains changes associated with the following GitHub issues:

#417: Correct PHP Warning when $_SESSION['opc_saved_order_total'] isn't set and debug is enabled.
#418: Correct PHP Warning during AJAX processing when $_SESSION['shipping'] isn't set and debug is enabled.
#419: Ensure that guest-checkout customers/address_book entries actually exist.

12 Aug 2024, 12:58 AM
#2884
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

ZC 2.0.1
Php 8.3
Bootstrap template
OPC. 2.5.3

I am getting the following error while trying to checkout:

[12-Aug-2024 00:54:08 UTC] PHP Fatal error: Uncaught TypeError: CouponValidation::is_product_valid(): Argument #1 ($product_id) must be of type int, string given, called in /includes/functions/functions_gvcoupons.php on line 90 and defined in /includes/classes/CouponValidation.php:14
Stack trace:
#0 /includes/functions/functions_gvcoupons.php(90): CouponValidation::is_product_valid()
#1 /includes/modules/order_total/ot_coupon.php(635): is_product_valid()
#2 /includes/modules/order_total/ot_coupon.php(138): ot_coupon->get_order_total()
#3 /includes/classes/order_total.php(72): ot_coupon->process()
#4 /includes/modules/pages/checkout_one/header_php.php(347): order_total->process()
#5 /index.php(35): require('/home/zch1akhw6...')
#6 {main}
thrown in /includes/classes/CouponValidation.php on line 14

Any help please

Thank you in advance

12 Aug 2024, 1:43 AM
#2885
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

nicksab:

ZC 2.0.1
Php 8.3
Bootstrap template
OPC. 2.5.3

I am getting the following error while trying to checkout:

[12-Aug-2024 00:54:08 UTC] PHP Fatal error: Uncaught TypeError: CouponValidation::is_product_valid(): Argument #1 ($product_id) must be of type int, string given, called in /includes/functions/functions_gvcoupons.php on line 90 and defined in /includes/classes/CouponValidation.php:14
Stack trace:
#0 /includes/functions/functions_gvcoupons.php(90): CouponValidation::is_product_valid()
#1 /includes/modules/order_total/ot_coupon.php(635): is_product_valid()
#2 /includes/modules/order_total/ot_coupon.php(138): ot_coupon->get_order_total()
#3 /includes/classes/order_total.php(72): ot_coupon->process()
#4 /includes/modules/pages/checkout_one/header_php.php(347): order_total->process()
#5 /index.php(35): require('/home/zch1akhw6...')
#6 {main}
thrown in /includes/classes/CouponValidation.php on line 14

> 
> Any help please
> 
> Thank you in advance

Turning Discount Coupon module  off seems  to be fixing the issue as an alternative.
12 Aug 2024, 8:24 AM
#2886
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

nicksab:

Turning Discount Coupon module off seems to be fixing the issue as an alternative.
Right, that's a base Zen Cart bug. Please re-post in the Bug Reports thread.

21 Aug 2024, 2:46 PM
#2887
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Any idea why the 'Guest Checkout' section does not show up in Firefox?

Chrome
Attachment 20736

Firefox
Attachment 20735

21 Aug 2024, 3:15 PM
#2888
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

DML73:

Any idea why the 'Guest Checkout' section does not show up in Firefox?

Chrome
Attachment 20736

Firefox
Attachment 20735
What version of OPC and Zen Cart? You can shoot me a link to the site so I can take a peek.

21 Aug 2024, 3:21 PM
#2889
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

It's OPC 2.4.6 and Zen cart v1.5.7d

https://www.usconverters.com/

Thank you C.

21 Aug 2024, 3:41 PM
#2890
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

I'm seeing the Guest Checkout option when I place an item in the cart and then navigate to the login page. Note that the Guest Checkout option won't show up if there's nothing in the cart.

21 Aug 2024, 4:58 PM
#2891
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Oooh I see that now, I didn't have a product in the cart. Gosh I should have been able to think that was the problem :laugh:

21 Aug 2024, 8:21 PM
#2892
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Another question, would it be possible to disable/remove the need for entering a telephone number when the customer checkout using the one page checkout? Either remove the field completely or at least make it non-mandatory.

22 Aug 2024, 1:38 PM
#2893
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

DML73:

Another question, would it be possible to disable/remove the need for entering a telephone number when the customer checkout using the one page checkout? Either remove the field completely or at least make it non-mandatory.
Just like a regular customer creating their address record. Go to the admin's Configuration :: Minimum Values :: Telephone Number and set the value to 0. That removes the requirement for a telephone number entry; it doesn't remove the field from the customer's display.

24 Aug 2024, 5:58 PM
#2894
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

Just started happening: the AJAX response to a change in shipping method (or payment method) shows up as raw text on the screen:

{"status":"ok","errorMessage":"","orderTotalHtml":"\n Sub-Total:</td>\n $156.00</td> \n</tr>\n\n FedEx (Fedex 2 Day):</td>\n $37.82</td> \n</tr>\n\n 7 % FL Tax:</td>\n $10.92</td> \n</tr>\n\n Total:</td>\n $204.74</td> \n</tr>\n","shippingHtml":"","shippingMessage":"","paymentHtml":"\n
\n
Payment Method</h4>\n
\n
Please select a payment method for this order.</p>\n

\n
"paypalwpp"
"Click </span></label>\n </div>\n
\n
"paypaldp"
Credit Card</label>\n </div>\n\n
\n First Name:</label>\n
"Scott"

Console shows error:
error: status=parsererror, errorThrown = SyntaxError: Unexpected non-whitespace character after JSON at position 5043 (line 1 column 5044), override: [object Object]

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

24 Aug 2024, 7:32 PM
#2895
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

If it "just started happening", what changed?

24 Aug 2024, 7:58 PM
#2896
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

No code changes; might have been some hoster side changes but I'm not sure what.

Site is 1.5.8a running PHP 8.1 - also tested PHP 8.2. OPC is 2.4.6 (2023-08-19).

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

25 Aug 2024, 2:27 AM
#2897
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

swguy:

No code changes; might have been some hoster side changes but I'm not sure what.

Site is 1.5.8a running PHP 8.1 - also tested PHP 8.2. OPC is 2.4.6 (2023-08-19).
You know it's difficult to diagnose without knowing what changed, right?

25 Aug 2024, 8:53 AM
#2898
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

Agreed, just wondering if you had ever seen similar reports. This one has me completely stumped. Works fine on my hoster.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 Sep 2024, 5:23 PM
#2899
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: One-Page Checkout [Support Thread]

i have a insane problem. This site has the old COWOA installed. And there are thousands of duplicate email addresses! Does the one page checkout have any conversion scripts to change from COWOA to one page checkout?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

2 Sep 2024, 11:04 PM
#2900
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

delia:

i have a insane problem. This site has the old COWOA installed. And there are thousands of duplicate email addresses! Does the one page checkout have any conversion scripts to change from COWOA to one page checkout?
Nope, they're totally different ways of doing guest checkout. For sites that I've upgraded that included COWOA, I just left the COWOA orders/accounts alone. OPC guest orders will be placed (and identified) separately.