Totally Zenned
- Join Date:
- Apr 2007
- Location:
- Ontario, Canada
- Posts:
- 1,733
- Plugin Contributions:
- 14
Ceon Back In Stock Notifications 3.0.0
juneloweelyn, I took a look at the Ceon back in stock notifications module. You're going to need to add the 'additional reference' whatever URI mapping plugin you have used to this code:
**admin/includes/functions/back_in_stock_notifications_functions.php
**
function buildLinkToProductAdminPage($name, $id, $products_type)
{
global $zc_products;
$type_admin_handler = $zc_products->get_admin_handler($products_type);
$name_length = 55;
$new_name = '<a href="' . zen_href_link($type_admin_handler, 'pID=' . $id . '&product_type=' .
$products_type . '&action=new_product', 'NONSSL', true, true, false, false) . '" title="' .
htmlentities($name, ENT_COMPAT, CHARSET) . '" target="_blank">' .
htmlentities(substr($name, 0, $name_length), ENT_COMPAT, CHARSET) .
(strlen($name) > $name_length ? '...' : '') . '</a>';
return $new_name;
}
I'm assuming this is the global function that builds the product id and link.
You may need to add the same type of reference to handle the extra output on a number of other files related to what the customer can see in 'my account'.
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian