*

immobilier

  • **
  • 10 posts
Similar ads customization in item.php
« on: August 15, 2020, 03:40:00 PM »
Hello dear members, in item page, i have a section " similar ads" which shows 3 listings related to item post, i want to exceed this number and make a link as well like " see more ads" but related ads to the item post as well. how i can do that? related

Here is my similard ads code:

Code: [Select]
<?php related_listings(); ?>
<?php if( osc_count_items() > ) { ?>
<div class="similar_ads">
  <h2 class="title">
    <?php _e('Related listings'OSCLASSWIZARDS_THEME_FOLDER); ?>
  </h2>
  <?php
View::newInstance()->_exportVariableToView("listType"'items');
osc_current_web_theme_path($loop_template);
    
?>

</div>


*

MB Themes

Re: Similar ads customization in item.php
« Reply #1 on: August 17, 2020, 02:36:56 PM »
@immobilier
You will have to update related_listings function to return more items, if availabe.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots