diff --git a/content/dev/code/158_language_files.md b/content/dev/code/158_language_files.md index bb2a212b0..2f9d5304d 100644 --- a/content/dev/code/158_language_files.md +++ b/content/dev/code/158_language_files.md @@ -49,18 +49,18 @@ Using arrays allows for the following kinds of behavior: In the process of doing this work, the language files were reviewed for duplicates, and consolidation was done where appropriate to reduce the burden on translators. So some constant definitions have moved or been renamed - be sure to apply your changes and customizations with this in mind. -### Loading a language file +### Loading a language file from a Plugin -If you need to specifically include a **core** language file, logic that was used in Zen Cart 1.5.7 and before: +If you need to specifically include a **core** language file, logic that was used in Zen Cart 1.5.7 and before was: ``` $langfile = DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/' . 'ot_group_pricing.php'; include_once ($langfile); ``` -needs to be migrated for 1.5.8 and above, because both the filename and the structure of this core file have changed. The old file is simply not there any more, it has been migrated to `lang.ot_group_pricing.php`. +This needs to be updated for 1.5.8 and above, because both the filename and the structure of this core file have changed. The old file (`ot_group_pricing.php`) is simply not there any more, it has been migrated to `lang.ot_group_pricing.php`. -However, plugin authors may want to make their code compatible with both 1.5.7 and 1.5.8. Here's one approach for manually loading a language file in both old and new formats, which also allows for template overrides: +Plugin authors may want to make their code compatible with both 1.5.7 and 1.5.8. Here's one approach for manually loading a language file in both old and new formats, which also allows for template overrides: ``` $filename = 'ot_group_pricing.php'; diff --git a/content/user/admin_pages/catalog/product_types_edit_layout.md b/content/user/admin_pages/catalog/product_types_edit_layout.md index 899d36e8d..73c0afc42 100644 --- a/content/user/admin_pages/catalog/product_types_edit_layout.md +++ b/content/user/admin_pages/catalog/product_types_edit_layout.md @@ -20,19 +20,21 @@ There are also settings that control the meta data which is shown on the product - To turn off the inclusion of product price in the `` tag, click `Product page <title> tag - default: use Product Price`, click the dropdown and select `False`, and then press `Update`. -### Issue: I am turning off the display of fields in Layout Settings, but they are still displayed on my product info page. +## Issue: Field still shows on Product Info +<b>Q: I am turning off the display of fields in Layout Settings, but they are still displayed on my product info page. Why?</b> This can occur when template authors choose not to respect the flags that Zen Cart uses. To fix this, edit `includes/templates/YOURTEMPLATE/templates/tpl_product_info_display.php` and modify the code that handles the display of the field you wish to turn off. If you are a developer, see [technical information on product types](/dev/code/product_types/). -### Issue: I have suppressed the display fields on the Product Info page, but they are still showing on the listing pages. +## Issue: Field still shows on Listing Pages +<b>Q: I have suppressed the display fields on the Product Info page, but they are still showing on the listing pages. Why?</b> -#### Guidance for Zen Cart v2.x.x: +### Guidance for Zen Cart v2.x.x: The switches for New, All and Featured listing pages, as well as the switches for the [Product Listing pages](/user/storefront_pages/product_listing/) are provided on the [product listing configuration page](/user/admin_pages/configuration/configuration_productlisting/) in Admin > Configuration > Product Listing. -#### Guidance for Zen Cart v1.x.x: +### Guidance for Zen Cart v1.x.x: There are separate switches for the New, All and Featured listing pages, which are shown in [new/featured/all products listing page configuration](/user/template/new_featured_all_listing_page_configuration/). The switches for the [Product Listing pages](/user/storefront_pages/product_listing/) are provided on the [product listing configuration page](/user/admin_pages/configuration/configuration_productlisting/) in Admin > Configuration > Product Listing. diff --git a/content/user/payment/square.md b/content/user/payment/square.md index ebf716099..8bac0b057 100644 --- a/content/user/payment/square.md +++ b/content/user/payment/square.md @@ -6,8 +6,8 @@ weight: 10 --- There are two Square modules for Zen Cart: -- A newer one, based on the Square Web Payments API, which is currently available as the [Square Web Payments API plugin](https://www.zen-cart.com/downloads.php?do=file&id=2345). -- An older one, based on the Square Payments Form library. This was built in to Zen Cart from 1.5.5 to 1.5.7. Please note this library has been deprecated by Square, and the older module ceased to work in late 2022. The [Square Payments Form documentation](/user/payment/square_payments_form/) is maintained for historical purposes. +- A newer module, based on the Square Web Payments API, which is currently available as the [Square Web Payments API plugin](https://www.zen-cart.com/downloads.php?do=file&id=2345). +- An older module, based on the Square Payments Form library. This module was built in to Zen Cart from 1.5.5 to 1.5.8. However, Square has deprecated this library, so the older module no longer works. The [Square Payments Form documentation](/user/payment/square_payments_form/) is maintained for historical purposes. This page is about the newer module, Square Web Pay. @@ -16,7 +16,7 @@ The newer Square module is available in the Plugins library as [Square Web Payme ![Square Modules](/images/square_payment_modules.png) -- The top one ("Square") is the old Square module. +- The top one ("Square") is the old deprecated Square module. - The bottom ("Square WebPay") one is the new Square module. ## Requirements diff --git a/content/user/template/product_listing_page_configuration.md b/content/user/template/product_listing_page_configuration.md index 5f3d912bd..7a4889fe0 100644 --- a/content/user/template/product_listing_page_configuration.md +++ b/content/user/template/product_listing_page_configuration.md @@ -40,5 +40,7 @@ The "Display" controls described above indicate whether a particular field is sh This behavior may be modified by changing the template file `includes/modules/YOURTEMPLATE/product_listing.php`. -Note that since Zen Cart 2.0.0, the New Products, Featured Products, All Products and Specials pages have been configured the same as product listing pages. +In Zen Cart 1.x.x, the New Products, Featured Products, All Products and Specials pages are configured differently - see [New Listing - Featured Listing - All Listing configuration settings for Zen Cart v1.x.x](/user/template/new_featured_all_listing_page_configuration_v1/). + +Note that since Zen Cart 2.0.0, the New Products, Featured Products, All Products and Specials pages have been configured the same as product listing pages. See [Listing Configuration Settings](/user/template/new_featured_all_listing_page_configuration/).