Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcwilson committed Nov 13, 2022
1 parent 4a4eb49 commit dfdbf4a
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion content/dev/contributing/notices.md
Expand Up @@ -6,7 +6,7 @@ weight: 6

PHP notices are sometimes also called [debug log files](/user/troubleshooting/debug_logs/).

It is recommended to test code changes against the lowest and highest versions of PHP supported for the version you are changing. For Zen Cart 1.5.8, this means testing under PHP 7.4 and PHP 8.1.
It is recommended to test code changes against the lowest and highest versions of PHP supported for the version you are changing. For Zen Cart 1.5.8, this means testing under PHP 7.4 and PHP 8.2.

Tests should be done with Admin > Configuration > Logging > Report All Errors settings of "Yes."

Expand Down
3 changes: 1 addition & 2 deletions content/dev/plugins/encapsulated_plugins/_index.md
Expand Up @@ -15,6 +15,5 @@ but rather exist in directories below a `zc_plugins` directory.

A new plugin manager page allows for the plugin to be installed/un-installed and enabled/disabled.

**NOTE:** At the moment plugins only work for admin side code. Plugins for catalog will be introduced
in Zen Cart v1.5.8
**NOTE:** At the moment, encapsulated plugins only work for admin side code. Support for catalog side plugins will be added in a future Zen Cart release.

2 changes: 1 addition & 1 deletion content/dev/plugins/encapsulated_plugins/converting.md
Expand Up @@ -6,7 +6,7 @@ layout: docs
type: codepage
---

**Note:** In Zen Cart 1.5.7, only *admin* side plugins may be encapsulated. The intention is to support catalog side plugin encapsulation in Zen Cart 1.5.8.
**Note:** At the current time, only *admin* side plugins may be encapsulated. The intention is to support catalog side plugin encapsulation in a future release.

**Note** For simplicity, files like `license.txt`, `README.txt` and `docs` are omitted; no changes are made to those files, which are not deployed.

Expand Down
5 changes: 4 additions & 1 deletion content/user/analytics/sales_analytics_affiliate_tools.md
Expand Up @@ -86,11 +86,14 @@ if ($current_page_base == 'checkout_success') {

### JROX JAM

**Note: As late 2022, it appears that JROX JAM is no longer actively supported. Migrating to an alternative is recommended.**

No need to edit any core Zen Cart files.
Simply create a new file: `/includes/modules/pages/checkout_success/jscript_jam.php` and be sure to set the correct URL for your JAM system:

```
echo '<script type="text/javascript" src="http://www.yourdomain.com/affiliates/sale.php?amount=' . $order_summary['commissionable_order'] . '&trans_id=' . $order_summary['order_number'] . '"></script>';
<?php
echo '<script type="text/javascript" src="https://www.YOURDOMAIN.com/affiliates/sale.php?amount=' . $order_summary['commissionable_order'] . '&trans_id=' . $order_summary['order_number'] . '"></script>';
```

**Adding product IDs or Model Numbers on older versions:**
Expand Down
2 changes: 1 addition & 1 deletion content/user/payment/square.md
@@ -1,5 +1,5 @@
---
title: Square Web Payments API
title: Square WebPay
description: How to collect payments with Square
category: payment
weight: 10
Expand Down
2 changes: 1 addition & 1 deletion content/user/payment/square_avoiding_token_expiry.md
@@ -1,5 +1,5 @@
---
title: Square - Avoiding Token Expiry
title: Square WebPay - Avoiding Token Expiry
description: Preventing "OAuth access token has expired"
category: payment
weight: 10
Expand Down
4 changes: 2 additions & 2 deletions content/user/payment/square_errors.md
@@ -1,11 +1,11 @@
---
title: Square Errors and Issues
title: Square WebPay Errors and Issues
description: Handling problems with Square WebPay
category: payment
weight: 10
---

Here are some common Square issues and the steps required to fix them.
Here are some common Square WebPay issues and the steps required to fix them.

---

Expand Down
2 changes: 1 addition & 1 deletion content/user/upgrading/php_warnings.md
Expand Up @@ -15,7 +15,7 @@ Please take these as examples, not exact matches for every log you might come ac

## Logs related to PHP8

PHP8 is a *major change*. Zen Cart 1.5.8 is designed to work with PHP 8 well, but older versions and older plugins will give you problems. Here are some notes on [updating plugins to work with PHP8](/dev/plugins/upgrading_to_158/).
PHP8 is a *major change*. Zen Cart 1.5.8 is designed to work with PHP 8, but older versions and older plugins will give you problems. Here are some notes on [updating plugins to work with PHP8](/dev/plugins/upgrading_to_158/).

If you are using PHP 8.0 with v1.5.7, be sure to [suppress logging duplicate-language definitions](/user/troubleshooting/constant_already_defined/).

Expand Down

0 comments on commit dfdbf4a

Please sign in to comment.