Skip to main content

Reply To: Sold out

View topic: Sold out
#1391 Reply


In case you want to display “Sold out” text for expired ads it is possible only for ad page. Because expired ads are not listed on website. But they are visible with expired warning message when expired ad accessed directly from old URL. This is done in order to display expired ad for visitors who bookmarked it before or indexed by google and accessed from search engine.

So you can add any custom text to expired ad which will be visible only when user visits expired ad. To do it edit /user-content/themes/THEME_NAME/views/index/ad.php file and add custom php code similar to this:

echo '<h3>Sold out</h3>';
  • Classifieds Business Newsletter

    Get discounts and tips about growing your classifieds website.