Skip to content

Commit

Permalink
Use zen_get_products_name on listings
Browse files Browse the repository at this point in the history
  • Loading branch information
lat9 committed Apr 2, 2024
1 parent c1b6aba commit de79cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/modules/product_listing.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
$lc_text = '';

$href = zen_href_link(zen_get_info_page($record['products_id']), 'cPath=' . zen_get_generated_category_path_rev($linkCpath) . '&products_id=' . $record['products_id']);
$listing_product_name = $record['products_name'] ?? '';
$listing_product_name = zen_get_products_name((int)$record['products_id']);
$listing_description = '';
if ((int)PRODUCT_LIST_DESCRIPTION > 0) {
$listing_description = zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($record['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION);
Expand Down

0 comments on commit de79cc2

Please sign in to comment.