Support Forums - Classified Ads Script Osclass
Osclass plugin support => Osclass Pay Plugin => Topic started by: webcity on March 19, 2024, 10:43:05 AM
-
Hi,
I would like to show a tag on the category and item page for when a customer pays to use the Osclass pay Auto-Republish option.
At the moment when a customer pays for a Premium listing it shows a Premium tag in the category and item page. It would encourage more customers to purchase the Auto-Republish option if they could see others using it.
Could someone recommend the code to show the tag on the Epsilon theme?
Many thanks
-
This could work:
<?php if(osp_fee_is_paid(OSP_TYPE_REPUBLISH, osc_item_id())) { ?>
<span>custom label</span>
<?php } ?>
Note that it's possible just in case republish is active (not yet finished).