-
Notifications
You must be signed in to change notification settings - Fork 2
Notification Required for "Information" Sidebox Link
lat9 edited this page May 15, 2024
·
1 revision
v4.0.0 of PPL makes use of a notification introduced via this Zen Cart v2.0.1 PR. That notification is also included in v3.7.0 and later of the ZCA Bootstrap Template.
If your store is running on Zen Cart 1.5.8a or 2.0.0 or using a version of the ZCA Bootstrap Template less than 3.7.0, you will need to hand-edit your active template's version of /includes/modules/sideboxes{/active-template}/information.php. In that file, you'll see a code fragment similar to
if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') {
$information[] = '<a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a>';
}Add the required notification to the file:
if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') {
$information[] = '<a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a>';
}
$zco_notifier->notify('NOTIFY_INFORMATION_SIDEBOX_ADDITIONS', [], $information);Note: Without the above notification, the "Information" sidebox link to the Printable Price List page (pricelist) will not appear!