You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/release/whatsnext.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,17 @@ The improvements targeted for v2.2.0 include:
19
19
The improvements targeted for v2.1.0 include:
20
20
- New Feature: <ahref="https://github.com/zencart/zencart/discussions/6428">Child Templates</a> will be supported, so that storeowners can more easily determine what has been changed from the base release of a template.
21
21
- New Feature: The Zen Cart admin will be secured with <ahref="https://github.com/zencart/zencart/pull/6350">Multi Factor Authentication</a>.
22
-
- Admin: The <ahref="/dev/code/template_settings/">template settings file</a> may now be viewed from your admin page.
22
+
- Admin: FIXED - Searching for customers from the orders page would occasionally lead to a blank right hand infoBox.
23
+
- Admin: FIXED - Selecting coupons on pages other than the first page would occasionally fail.
24
+
- Admin: The <ahref="/dev/code/template_settings/">template settings file</a> may now be viewed from your admin page.
23
25
- Admin: The date of last password change is now shown on the Users page in admin.
24
26
- Admin: Product Price fields "Gross" and "Net" have been renamed to "Tax Included" and "Tax Excluded."
25
27
- Core: Retired Notifiers and Observers can be set to generate deprecated logs automatically.
26
-
- Core: The introduction of the `Product` class continues the modernization of Zen Cart.
28
+
- Core: The introduction of the `Product` class continues the modernization of Zen Cart.
27
29
- Core: Shipping modules now inherit from ZenShipping base class to reduce code duplication and ensure consistency.
28
30
- Core: Zones module now has exception rules notifier. See <ahref="/user/shipping/exceptions/">this page</a> for details on usage.</li>
31
+
- Storefront: Additional image matching rules now are enforced more strictly; see [this page](/user/images/additional_images/#additional-images-filename-matching-rules). This behavior can be disabled in the [site specific overrides file](/user/customizing/site_specific_overrides/).
32
+
- Extras: Improved the modernized utilities in the `/extras` folder.
29
33
30
34
## 2.0.1
31
35
Release 2.0.1 has been delivered; changes are now listed in [What's New in 2.0.x](/release/whatsnew_2.0.0.html).
Copy file name to clipboardExpand all lines: content/user/customizing/site_specific_overrides.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ Many behaviors can be enabled or disabled by this file, such as:
29
29
- set category counts to count only distinct products: if a product is in two different sub categories of a parent category it will only be counted once (```'COUNT_DISTINCT_PRODUCTS'```).
30
30
- for Checkout Shipping, when no shipping method is available, substitute the Continue button with a Contact Us button (```$show_contact_us_instead_of_continue```).
31
31
- for Product Listing: enable the legacy sorting by column heading (```$show_table_header_row```).
32
+
- Enable legacy additional filename matching logic (```$use_legacy_additional_image_matching```). See [this page](/user/images/additional_images/#additional-images-filename-matching-rules) for details.
Copy file name to clipboardExpand all lines: content/user/images/additional_images.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,15 @@ then clicking *Layout Settings*, and setting `Show Product Additional Images` to
13
13
Then add additional images for your products, following the naming
14
14
conventions set out in [Image Filename conventions](/user/images/image_filename_conventions/).
15
15
16
+
### Additional images filename matching rules
17
+
18
+
Using an underscore and more characters after the base filename is the best practice for ensuring your additional images work as expected. See [Image Filename Conventions](/user/images/image_filename_conventions/) for details.
19
+
20
+
Prior to Zen Cart 2.1.0, image matching did not enforce the check of a `_` suffix when looking for additional product images in the "images/" directory (but it DID require the `_` in any "images/whatever/" subdirectories). Since v2.1.0 the `_` is required in both locations.
21
+
22
+
Stores that are upgrading and wish to retain the old functionality can enable the legacy mode via the [site specific overrides file](/user/customizing/site_specific_overrides/) by setting $use_legacy_additional_image_matching to true.
23
+
24
+
16
25
17
26
### How do I disable the additional images feature?
Copy file name to clipboardExpand all lines: content/user/images/image_filename_conventions.md
+19-15Lines changed: 19 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,33 +19,37 @@ directory via the drop down.
19
19
20
20
Now you use your [FTP tool](/user/first_steps/useful_tools/#ftp-tools) to upload additional images to `/images/dvd`.
21
21
22
-
* a_bugs_life_01.gif
23
-
* a_bugs_life_02.gif
24
-
* a_bugs_life_03.gif
25
-
* a_bugs_life_04.gif
22
+
Name them with the original filename and a suffix starting with `_`.
26
23
27
-
I used the numbers so these would load in order, as the additional images are loaded alpha/numeric.
24
+
For example, since the original filename was `a_bugs_life.gif` we willl name our additional images as follows:
28
25
29
-
For the large image (used in popups) I use FTP and upload:
26
+
*`a_bugs_life_01.gif`
27
+
*`a_bugs_life_02.gif`
28
+
*`a_bugs_life_03.gif`
29
+
*`a_bugs_life_04.gif`
30
30
31
-
* /images/large/dvd/a_bugs_life_01_LRG.gif
32
-
* /images/large/dvd/a_bugs_life_02_LRG.gif
33
-
* /images/large/dvd/a_bugs_life_03_LRG.gif
34
-
* /images/large/dvd/a_bugs_life_04_LRG.gif
31
+
Using numbers means these would load in order, as the additional images are loaded by alphanumeric sort.
32
+
33
+
For the large image (used in popups) use FTP and upload:
34
+
35
+
*`/images/large/dvd/a_bugs_life_01_LRG.gif`
36
+
*`/images/large/dvd/a_bugs_life_02_LRG.gif`
37
+
*`/images/large/dvd/a_bugs_life_03_LRG.gif`
38
+
*`/images/large/dvd/a_bugs_life_04_LRG.gif`
35
39
36
40
For the medium image (used as the main image on the product_info page) I upload via FTP:
37
41
38
-
* /images/medium/dvd/a_bugs_life_MED.gif
42
+
*`/images/medium/dvd/a_bugs_life_MED.gif`
39
43
40
44
**NOTE:** There is <fontcolor="#ff0000">ONLY ONE Medium Image</font> used per Product on the Product Info page: (pages named product_info, product_music_info etc.) The naming is related directly to the original image.
41
45
42
46
Now you do not need to use subdirectories for loading your images.
43
47
44
48
All images can be loaded to:
45
49
46
-
* /images
47
-
* /images/large
48
-
* /images/medium
50
+
*`/images`
51
+
*`/images/large`
52
+
*`/images/medium`
49
53
50
54
## Suffixes
51
55
@@ -156,7 +160,7 @@ b. You can edit the `_MED` and `_LRG` defined suffixes in [Admin > Configuration
156
160
# TIPS
157
161
158
162
**NOTE:** Do no use the following symbols in your image filenames:
Also, in case it's not self-evident, the files have to actually exist on your server. So, if you're selecting the "Use an image on the server" instead of uploading a file directly, and things aren't showing up, then that probably means the image file you specified doesn't actually exist on the server.
Copy file name to clipboardExpand all lines: content/user/upgrading/release_specific_upgrade_considerations.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ This document lists things you may wish to take into account as you upgrade. Th
26
26
27
27
### Zen Cart 2.1.0 :stop_sign: <fontcolor="red">NOT RELEASED YET</font> :stop_sign:
28
28
29
-
-This release introduces a `Product` class to consolidate product-related operations and queries.
29
+
-Storefront: Additional image matching rules now are enforced more strictly; see [this page](/user/images/additional_images/#additional-images-filename-matching-rules). This behavior can be disabled in the [site specific overrides file](/user/customizing/site_specific_overrides/).
30
30
- The `NOTIFY_GET_PRODUCT_DETAILS` notifier has been deprecated in favor of `NOTIFY_GET_PRODUCT_OBJECT_DETAILS`, which uses different arguments. Any use of the former will product a deprecation debug log.
0 commit comments