One more minor update. I've got a directory tree like this:
8 -+-> 9
|
+-> 10
where the categories 9 & 10 have special styling, so I need the path to the products to include something like ... &cPath=8_9&products_id=xx. Here's the change I made to /admin/includes/functions/back_in_stock_notifications_functions.php (line 123):
Original:
Code:
$plain_text_msg .= $products_result->fields['products_name'] . "\n\n" . 'Link: ' .
zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'products_id=' .
$products_result->fields['product_id']) . "\n\n\n";
$html_msg .= '<p class="BackInStockNotificationProduct">' . '<a href="' .
zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'products_id=' .
$products_result->fields['product_id']) . '">' .
htmlentities($products_result->fields['products_name']) . '</a></p>';
My changes:
Code:
$plain_text_msg .= $products_result->fields['products_name'] . "\n\n" . 'Link: ' .
zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . zen_get_product_path($products_result->fields['product_id']) . '&products_id=' .
$products_result->fields['product_id']) . "\n\n\n";
$html_msg .= '<p class="BackInStockNotificationProduct">' . '<a href="' .
zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . zen_get_product_path($products_result->fields['product_id']) . '&products_id=' .
$products_result->fields['product_id']) . '">' .
htmlentities($products_result->fields['products_name']) . '</a></p>';
Bookmarks