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

One-Page Checkout [Support Thread]

Views: 633,121

Results 2,541 to 2,560 of 3,107
3 Dec 2022, 4:58 PM
#2541
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

One-Page Checkout [Support Thread]

dbltoe:

I think the issue may be in the sequence in which you loaded the mods.
We (myzencarthost.com) have found that OPC needs to be loaded prior to the Bootstrap files as bootstrap needs to modify OPC silightly in order for the two to properly operate together.

Also, don't forget

Thanks for your reply .. Order Total is as you suggested.

3 Dec 2022, 5:01 PM
#2542
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: One-Page Checkout [Support Thread]

dbltoe:

I think the issue may be in the sequence in which you loaded the mods.
We (myzencarthost.com) have found that OPC needs to be loaded prior to the Bootstrap files as bootstrap needs to modify OPC silightly in order for the two to properly operate together.
Thank you I can not remember in which order the mods were added, is there a way to check and see if the OPC have been modified for Bootstrap to work?

4 Dec 2022, 11:54 AM
#2543
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

ianhg:

Thank you I can not remember in which order the mods were added, is there a way to check and see if the OPC have been modified for Bootstrap to work?
If you actually read the installation instructions in either readme.html, both OPC and Bootstrap indicate that you should *merge *(not simply overwrite) changes for the template-override files.

That said, the information-sidebox code that comes with the template should take precedence over that shipped with OPC. There are no modifications to OPC required for Bootstrap to interoperate, only that the current version of both be used.

4 Dec 2022, 3:37 PM
#2544
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: One-Page Checkout [Support Thread]

lat9:

If you actually read the installation instructions in either readme.html, both OPC and Bootstrap indicate that you should *merge *(not simply overwrite) changes for the template-override files.

That said, the information-sidebox code that comes with the template should take precedence over that shipped with OPC. There are no modifications to OPC required for Bootstrap to interoperate, only that the current version of both be used.

Thank you, yes I am aware about the information sidebox.. I have added the plugin successfully in the post.

5 Dec 2022, 10:02 PM
#2545
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,864
Plugin Contributions:
18

Re: One-Page Checkout [Support Thread]

This was found in troubleshooting today. OPC installed in Zen Cart 1.5.8 and then added the new Square WebPay version 1.0.3. We were getting stopped at Confirm Checkout with a token error.

For those wondering about 1.5.8, WebPay works exactly as expected in Zen Cart 1.5.8 WITHOUT One Page Checkout.

If you are going to use both One Page Checkout AND Square WebPay with Zen Cart, you will need to get the OLD square javascript file from includes/modules/pages/checkout_payment/ called jscript_square.php.

Copy or FTP that file to includes/modules/pages/checkout_one/.

The includes/modules/pages/checkout_payment/jscript_square.php is still part of the 1.5.8 distribution zip file. It may not be part of further distros.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

6 Dec 2022, 11:16 PM
#2546
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: One-Page Checkout [Support Thread]

ianhg:

I have updated to version one-page-checkout V 2.4.4 (2022-11-30)
I am getting a problem if I allow Guest Checkout and try and purchase I am still getting Session has Expired.
Would this be an issue with Bootstrap?
Appreciate some guidance please , Thank you
Found the problem when uploading from the old database the customer id and address didn't match. fixed by adding the correct Customer_ID and Address_ID for Guest Customer .

7 Dec 2022, 7:58 AM
#2547
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,864
Plugin Contributions:
18

Re: One-Page Checkout [Support Thread]

Thanks for letting the thread know. You may help others in the future.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Dec 2022, 7:32 PM
#2548
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
376
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I think I found an issue. I noticed this issue under 2.4.4 beta2 and 2.4.4 release version.

Open a fresh browser tab. Add a product to the shopping cart. Click "My Account" link on the bottom (/index.php?main_page=account), it will display the login page (/index.php?main_page=login), which is correct.

Then go back to the shopping cart, click "Go to checkout", then click "Go to checkout" button under the Guest Checkout section. You don't need to fill anything. Go to the bottom of the page then click "My Account" ((/index.php?main_page=account)). You will see error "ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED" on the top of the page. A log file will be generated as the following:

[08-Dec-2022 14:25:27 America/New_York] Request URI: /index.php?main_page=account
#1 checkout_one_observer->messageCheck() called at [/includes/autoload_func.php:61]
#2 require(/includes/autoload_func.php) called at [/includes/application_top.php:222]
#3 require(/includes/application_top.php) called at [/index.php:25]
--> PHP Warning: Use of undefined constant ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED - assumed 'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED' (this will throw an Error in a future version of PHP) in /includes/classes/observers/class.checkout_one_observer.php on line 258.

9 Dec 2022, 2:12 PM
#2549
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

njcyx:

I think I found an issue. I noticed this issue under 2.4.4 beta2 and 2.4.4 release version.

Open a fresh browser tab. Add a product to the shopping cart. Click "My Account" link on the bottom (/index.php?main_page=account), it will display the login page (/index.php?main_page=login), which is correct.

Then go back to the shopping cart, click "Go to checkout", then click "Go to checkout" button under the Guest Checkout section. You don't need to fill anything. Go to the bottom of the page then click "My Account" ((/index.php?main_page=account)). You will see error "ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED" on the top of the page. A log file will be generated as the following:

[08-Dec-2022 14:25:27 America/New_York] Request URI: /index.php?main_page=account
#1 checkout_one_observer->messageCheck() called at [/includes/autoload_func.php:61]
#2 require(/includes/autoload_func.php) called at [/includes/application_top.php:222]
#3 require(/includes/application_top.php) called at [/index.php:25]
--> PHP Warning: Use of undefined constant ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED - assumed 'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED' (this will throw an Error in a future version of PHP) in /includes/classes/observers/class.checkout_one_observer.php on line 258.
Hmm, that constant is defined in /includes/languages/english/extra_definitions/lang.checkout_one_extra_definitions.php. Did you, perhaps, forget to copy that file when you installed?

9 Dec 2022, 5:48 PM
#2550
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
376
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

Hmm, that constant is defined in /includes/languages/english/extra_definitions/lang.checkout_one_extra_definitions.php. Did you, perhaps, forget to copy that file when you installed?

Hi @lat9, thanks for your always help.

I just checked my testing site directory, and I did find that file lang.checkout_one_extra_definitions.php under the directory /includes/languages/english/extra_definitions/.

To avoid any mistake, I got a fresh copy from the 2.4.4 zip file and uploaded it again to my directory to overwrite the previous file. Unfortunately, the issue remains...

Also, I used the developer took kit function from zen cart to search keyword "ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED". I can find two files have this keyword:

/includes/classes/observers/class.checkout_one_observer.php

and

/includes/languages/english/extra_definitions/lang.checkout_one_extra_definitions.php

9 Dec 2022, 6:22 PM
#2551
simon1066 avatar

simon1066

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

Hmm, that constant is defined in /includes/languages/english/extra_definitions/lang.checkout_one_extra_definitions.php. Did you, perhaps, forget to copy that file when you installed?

In the above file, it appears that

'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED', 'Access to that page ............

should be

'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED' [B]=>[/B] 'Access to that page ............

Simon

9 Dec 2022, 6:32 PM
#2552
simon1066 avatar

simon1066

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

simon1066:

In the above file, it appears that

'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED', 'Access to that page ............

> should be
> 
> ```
'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED' [B]=>[/B] 'Access to that page ............

Raised as an issue on Github.

Simon

9 Dec 2022, 6:40 PM
#2553
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
376
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

simon1066:

In the above file, it appears that

'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED', 'Access to that page ............

> should be
> 
> ```
'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED' [B]=>[/B] 'Access to that page ............

Hi @Simon, I just tried your suggestion and it fixed! Thanks!

9 Dec 2022, 7:18 PM
#2554
swguy avatar

swguy

Administrator

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

Re: One-Page Checkout [Support Thread]

PR created. Thanks Simon.

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.

27 Dec 2022, 1:31 PM
#2555
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

v2.4.5 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:

#364: Correct missing language-constant ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED.
#367: HTML5, remove type="text/javascript" from <script> tags.
#368: order_status page, correct PHP fatal error on initial installation on zc157.
#369: Ensure that $_SESSION['customers_email_address'] is set for registered-account creation and guest-checkout.

27 Dec 2022, 8:35 PM
#2556
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,864
Plugin Contributions:
18

Re: One-Page Checkout [Support Thread]

1.5.8 with PHP 8
BootStrap 3.5.0 -- IMPORTANT
Updating OPC to 2.4.7

Part of the OPC distro includes/modules/sideboxes/YOUR_TEMPLATE/information.php. It is said to not be a core file replacement. This seems to be false if the store is using bootstrap or a bootstrap clone.

If you clone bootstrap to, say, boot_dbltoe it then essentially becomes the "YOUR_TEMPLATE" folder for 1.5.8 running bootstrap.

The directions state to rename the OPC YOUR_TEMPLATE files to whatever your current template is called which would result in the provided OPC file to be renamed to includes/modules/sideboxes/boot_dbltoe/information.php.

When that file is loaded to the store, the original bootstrap information.php is overwritten by the OPC and the following log file occurs along with a partial blank page.

[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1#1 require(/includes/templates/boot_dbltoe/sideboxes/tpl_information.php) called at [/includes/modules/sideboxes/boot_dbltoe/information.php:56]
#2 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#3 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#4 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#5 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $box_id in /includes/templates/boot_dbltoe/sideboxes/tpl_information.php on line 12.


[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
#1 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#2 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#3 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#4 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $column_box_default in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.


[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
#1 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#2 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#3 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#4 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $column_box_default in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.


[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
#1 require() called at [/includes/modules/sideboxes/boot_dbltoe/information.php:61]
#2 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#3 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#4 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#5 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: require(/includes/templates/boot_dbltoe/common): Failed to open stream: No such file or directory in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.


[27-Dec-2022 13:08:33 America/Denver] PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/boot_dbltoe/common/' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /includes/modules/sideboxes/boot_dbltoe/information.php:61
Stack trace:
#0 /includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php(97): require()
#1 /includes/templates/boot_dbltoe/common/tpl_header.php(77): require('/home/hornkati/...')
#2 /includes/templates/boot_dbltoe/common/tpl_main_page.php(125): require('/home/hornkati/...')
#3 /index.php(94): require('/home/hornkati/...')
#4 {main}
thrown in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61


[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/boot_dbltoe/common/' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /includes/modules/sideboxes/boot_dbltoe/information.php:61
Stack trace:
#0 /includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php(97): require()
#1 /includes/templates/boot_dbltoe/common/tpl_header.php(77): require('/home/hornkati/...')
#2 /includes/templates/boot_dbltoe/common/tpl_main_page.php(125): require('/home/hornkati/...')
#3 /index.php(94): require('/home/hornkati/...')
#4 {main}
thrown in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.

Replacing the OPC information.php file with the original from bootstrap 3.5.0 restores operation to the store.

Had this same problem before but was not able to replicate cause and effect till this time.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

27 Dec 2022, 9:36 PM
#2557
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

dbltoe:

1.5.8 with PHP 8
BootStrap 3.5.0 -- IMPORTANT
Updating OPC to 2.4.7

Part of the OPC distro includes/modules/sideboxes/YOUR_TEMPLATE/information.php. It is said to not be a core file replacement. This seems to be false if the store is using bootstrap or a bootstrap clone.

If you clone bootstrap to, say, boot_dbltoe it then essentially becomes the "YOUR_TEMPLATE" folder for 1.5.8 running bootstrap.

The directions state to rename the OPC YOUR_TEMPLATE files to whatever your current template is called which would result in the provided OPC file to be renamed to includes/modules/sideboxes/boot_dbltoe/information.php.

When that file is loaded to the store, the original bootstrap information.php is overwritten by the OPC and the following log file occurs along with a partial blank page.

[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1#1 require(/includes/templates/boot_dbltoe/sideboxes/tpl_information.php) called at [/includes/modules/sideboxes/boot_dbltoe/information.php:56]
#2 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#3 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#4 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#5 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $box_id in /includes/templates/boot_dbltoe/sideboxes/tpl_information.php on line 12.

[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
#1 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#2 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#3 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#4 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $column_box_default in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.

[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
#1 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#2 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#3 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#4 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Undefined variable $column_box_default in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.

[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
#1 require() called at [/includes/modules/sideboxes/boot_dbltoe/information.php:61]
#2 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
#3 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
#4 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
#5 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: require(/includes/templates/boot_dbltoe/common): Failed to open stream: No such file or directory in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.

[27-Dec-2022 13:08:33 America/Denver] PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/boot_dbltoe/common/' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /includes/modules/sideboxes/boot_dbltoe/information.php:61
Stack trace:
#0 /includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php(97): require()
#1 /includes/templates/boot_dbltoe/common/tpl_header.php(77): require('/home/hornkati/...')
#2 /includes/templates/boot_dbltoe/common/tpl_main_page.php(125): require('/home/hornkati/...')
#3 /index.php(94): require('/home/hornkati/...')
#4 {main}
thrown in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61

[27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255
--> PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/boot_dbltoe/common/' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /includes/modules/sideboxes/boot_dbltoe/information.php:61
Stack trace:
#0 /includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php(97): require()
#1 /includes/templates/boot_dbltoe/common/tpl_header.php(77): require('/home/hornkati/...')
#2 /includes/templates/boot_dbltoe/common/tpl_main_page.php(125): require('/home/hornkati/...')
#3 /index.php(94): require('/home/hornkati/...')
#4 {main}
thrown in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.

> 
> Replacing the OPC information.php file with the original from bootstrap 3.5.0 restores operation to the store.
> 
> Had this same problem before but was not able to replicate cause and effect till this time.
Thanks, @dbltoe.  I'll get the OPC installation instructions updated to note that the Bootstrap template (v2.4.0 and later) already has the required template files for that sidebox.
9 Jan 2023, 1:48 PM
#2558
simon1066 avatar

simon1066

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

On ZC v1.5.8 is it necessary to have both 'lang.' and 'non-lang.' versions of

/includes/languages/english/modules/order_total/YOUR_TEMPLATE/ot_coupon.php
/includes/languages/english/modules/order_total/YOUR_TEMPLATE/ot_gv.php

could I merge both files into a 'lang.' version only?

Simon

11 Jan 2023, 1:31 AM
#2559
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

simon1066:

On ZC v1.5.8 is it necessary to have both 'lang.' and 'non-lang.' versions of

/includes/languages/english/modules/order_total/YOUR_TEMPLATE/ot_coupon.php
/includes/languages/english/modules/order_total/YOUR_TEMPLATE/ot_gv.php

could I merge both files into a 'lang.' version only?
For zc158, you can simply rename the ot_coupon.php and ot_gv.php to be .php~ files; the changes for zc158 are present in the lang. format.

11 Jan 2023, 9:03 AM
#2560
simon1066 avatar

simon1066

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Excellent, thank you.

Simon