*

sess01

  • ***
  • 39 posts
display of the transactions of ads
« on: October 18, 2021, 11:20:05 AM »
Hi!

How can I make the display of the transactions of ads (buy, sell or exchange) instead of the price.

I tried to overlay one DIV over another DIV, but it was unsuccessful.

« Last Edit: October 19, 2021, 07:00:55 PM by sess01 »

*

MB Themes

Re: display of the transactions of ads
« Reply #1 on: October 18, 2021, 04:13:09 PM »
Edit loop single and replace price with condition/transaction. Does not make sense to do overlay.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sess01

  • ***
  • 39 posts
Re: display of the transactions of ads
« Reply #2 on: October 18, 2021, 08:18:53 PM »
    <div class="data">
      <?php if(del_check_category_price(osc_item_category_id())) { ?>
        <div class="price isGrid"><span><?php echo osc_item_formated_price(); ?></span></div>
      <?php } ?>

<div class="action isList">
        <?php if(del_check_category_price(osc_item_category_id())) { ?>
          <div class="price<?php if(osc_item_price() <= 0) { ?> isstring<?php } ?>"><span><?php echo osc_item_formated_price(); ?></span></div>
        <?php } ?>

 Above I replaced "transaction_condition"(or "transaction") instead of the "price", but it doesn't work...
What have I missed?

« Last Edit: October 19, 2021, 01:17:46 AM by sess01 »

*

sess01

  • ***
  • 39 posts
Re: display of the transactions of ads
« Reply #3 on: October 19, 2021, 07:00:05 PM »
@MB Themes ???

*

MB Themes

Re: display of the transactions of ads
« Reply #4 on: October 19, 2021, 08:41:32 PM »
You take:
Code: [Select]
osc_item_formated_price()
Replace with:
Code: [Select]
$whatever_variable_that_is_defined_and_not_empty
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sess01

  • ***
  • 39 posts
Re: display of the transactions of ads
« Reply #5 on: October 19, 2021, 09:20:07 PM »
<div class="data">
      <?php if(del_check_category_price(osc_item_category_id())) { ?>
        <div class="price isGrid"><span><?php echo $whatever_variable_that_is_defined_and_not_empty; ?></span></div>
      <?php } ?>


<div class="action isList">
        <?php if(del_check_category_price(osc_item_category_id())) { ?>
          <div class="price<?php if(osc_item_price() <= 0) { ?> isstring<?php } ?>"><span><?php echo $whatever_variable_that_is_defined_and_not_empty; ?></span></div>
        <?php } ?>


I changed code, but it still doesn't show correctly. :-\ Maybe I should change "transaction" somewhere instead of the "price"?


« Last Edit: October 19, 2021, 10:38:50 PM by sess01 »

*

MB Themes

Re: display of the transactions of ads
« Reply #6 on: October 20, 2021, 09:52:09 AM »
Did you really put there $whatever_variable_that_is_defined_and_not_empty ?

Code: [Select]
<?php
  $my_var 
implode('<br/>'array_filter(array_map('trim', array(del_get_simple_name($item_extra['i_condition'], 'condition'false), del_get_simple_name($item_extra['i_transaction'], 'transaction'false)))));
?>


<div class="data">
  <div class="price isGrid"><span><?php echo $my_var?></span></div>
</div>

<div class="action isList">
    <div class="price<?php if(osc_item_price() <= 0) { ?> isstring<?php ?>"><span><?php echo $my_var?></span></div>
</div>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sess01

  • ***
  • 39 posts
Re: display of the transactions of ads
« Reply #7 on: October 20, 2021, 07:00:28 PM »
Yes :), I replaced in the loop-single.php the code $whatever_variable_that_is_defined_and_not_empty
as shown below

Code: [Select]
<div class="data">
      <?php if(del_check_category_price(osc_item_category_id())) { ?>
        <div class="price isGrid"><span><?php echo $whatever_variable_that_is_defined_and_not_empty?></span></div>
      <?php ?>


<div class="action isList">
        <?php if(del_check_category_price(osc_item_category_id())) { ?>
          <div class="price<?php if(osc_item_price() <= 0) { ?> isstring<?php ?>"><span><?php echo $whatever_variable_that_is_defined_and_not_empty?></span></div>
        <?php ?>
------------------------------------------------------------------------------------------

this code
Code: [Select]
<div class="data">
      <?php if(del_check_category_price(osc_item_category_id())) { ?>
        <div class="price isGrid"><span><?php echo osc_item_formated_price(); ?></span></div>

replaced with
Code: [Select]
<div class="data">
  <div class="price isGrid"><span><?php echo $my_var?></span></div>
</div>
------------------------------------------------------------------------------------------

this code
Code: [Select]
<div class="action isList">
        <?php if(del_check_category_price(osc_item_category_id())) { ?>
          <div class="price<?php if(osc_item_price() <= 0) { ?> isstring<?php ?>"><span><?php echo osc_item_formated_price(); ?></span></div>

replaced with
Code: [Select]
<div class="action isList">
    <div class="price<?php if(osc_item_price() <= 0) { ?> isstring<?php ?>"><span><?php echo $my_var?></span></div>
</div>
------------------------------------------------------------------------------------------

And just put the code
Code: [Select]
<?php
  $my_var 
implode('<br/>'array_filter(array_map('trim', array(del_get_simple_name($item_extra['i_condition'], 'condition'false), del_get_simple_name($item_extra['i_transaction'], 'transaction'false)))));
?>


But it still shows inappropriate. Another suggestions?
« Last Edit: October 20, 2021, 07:14:32 PM by sess01 »

*

MB Themes

Re: display of the transactions of ads
« Reply #8 on: October 20, 2021, 07:17:52 PM »
@sess01
Old code related to price like this should be removed:
Code: [Select]
<?php if(osc_item_price() <= 0) { ?> isstring<?php ?>
This one should be placed above (before you use it anywhere)
Code: [Select]
<?php
  $my_var 
implode('<br/>'array_filter(array_map('trim', array(del_get_simple_name($item_extra['i_condition'], 'condition'false), del_get_simple_name($item_extra['i_transaction'], 'transaction'false)))));
?>

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sess01

  • ***
  • 39 posts
Re: display of the transactions of ads
« Reply #9 on: October 20, 2021, 08:15:39 PM »
These original codes

Code: [Select]
<?php $item_extra del_item_extra(osc_item_id()); ?>

<div class="simple-prod <?php echo isset($c) ? 'o'$c ''?><?php if(osc_item_is_premium()) { ?> is-premium<?php ?><?php if(@$class <> '') { echo ' ' $class; } ?><?php if(@$item_extra['i_sold'] == 1) { echo ' st-sold'; } else if(@$item_extra['i_sold'] == 2) { echo ' st-reserved'; } ?> <?php osc_run_hook("highlight_class"); ?>">
  <div class="simple-wrap">
    <?php if(@$item_extra['i_sold'] == 1) { ?>
      <a class="label lab-sold" href="<?php echo osc_item_url(); ?>"><?php _e('Sold''delta'); ?></a>
    <?php } else if(@$item_extra['i_sold'] == 2) { ?>
      <a class="label lab-res" href="<?php echo osc_item_url(); ?>"><?php _e('Reserved''delta'); ?></a>
    <?php } else if(osc_item_is_premium()) { ?>
      <a class="label lab-prem mbBg3" href="<?php echo osc_item_url(); ?>"><?php _e('Premium''delta'); ?></a>
    <?php ?>       

    <div class="img-wrap<?php if(osc_count_item_resources() == 0) { ?> no-image<?php ?>">
      <?php if(osc_count_item_resources() > 0) { ?>
        <?php 
          $bar_count 
min(osc_count_item_resources(), 5); 
          
$bar_width floor((100/$bar_count)*100)/100;
        
?>

       
        <a class="switch-bars" href="<?php echo osc_item_url(); ?>" data-count=<?php echo $bar_count?>>
          <?php for($i 1;$i <= $bar_count$i++) { ?>
            <div class="bar" data-id="<?php echo $i?>" style="width:<?php echo $bar_width?>%;left:<?php echo ($i-1)*$bar_width?>%;"></div>
          <?php ?>
        </a>
       
        <?php for($i 1;osc_has_item_resources(); $i++) { ?>
          <?php if($i <= 5) { ?>
            <div class="img" data-id="<?php echo $i?>" <?php if($i 1) { ?>style="display:none;"<?php ?>>
              <img class="<?php echo (del_is_lazy() ? 'lazy' ''); ?>" src="<?php echo (del_is_lazy() ? del_get_noimage() : osc_resource_thumbnail_url()); ?>" data-src="<?php echo osc_resource_thumbnail_url(); ?>" alt="<?php echo osc_esc_html(osc_item_title()); ?>" />
             
              <?php if($i == && osc_count_item_resources() > 5) { ?>
                <div class="more-img">
                  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"> <g> <g> <path d="M437.333,117.333h-64c-4.587,0-8.661-2.923-10.112-7.296l-6.741-20.224c-7.275-21.824-27.605-36.48-50.603-36.48h-99.755 c-22.997,0-43.328,14.656-50.581,36.459l-6.741,20.245c-1.472,4.373-5.547,7.296-10.133,7.296h-64C33.493,117.333,0,150.827,0,192 v192c0,41.173,33.493,74.667,74.667,74.667h362.667C478.507,458.667,512,425.173,512,384V192 C512,150.827,478.507,117.333,437.333,117.333z M490.667,384c0,29.397-23.936,53.333-53.333,53.333H74.667 c-29.397,0-53.333-23.936-53.333-53.333V192c0-29.397,23.936-53.333,53.333-53.333h64c13.781,0,25.984-8.789,30.357-21.867 l6.763-20.267c4.352-13.077,16.555-21.867,30.336-21.867h99.755c13.781,0,25.984,8.789,30.357,21.888l6.741,20.245 c4.373,13.077,16.576,21.867,30.357,21.867h64c29.397,0,53.333,23.936,53.333,53.333V384z"/> </g> </g> <g> <g> <path d="M256,160c-70.592,0-128,57.408-128,128s57.408,128,128,128s128-57.408,128-128S326.592,160,256,160z M256,394.667 c-58.816,0-106.667-47.851-106.667-106.667c0-58.816,47.851-106.667,106.667-106.667S362.667,229.184,362.667,288 C362.667,346.816,314.816,394.667,256,394.667z"/> </g> </g> <g> <g> <path d="M256,202.667c-47.061,0-85.333,38.272-85.333,85.333c0,5.888,4.779,10.667,10.667,10.667S192,293.888,192,288 c0-35.285,28.715-64,64-64c5.888,0,10.667-4.779,10.667-10.667S261.888,202.667,256,202.667z"/> </g> </g> </svg>
                  <span>
                    <?php
                      
if(osc_count_item_resources() - 1) { 
                        echo 
sprintf(__('%s more pictures''delta'), osc_count_item_resources() - 5);
                      } else {
                        echo 
_e('1 more picture''delta');
                      }
                    
?>

                  </span>
                </div>
              <?php ?>
            </div>
          <?php ?>
        <?php ?>
      <?php } else { ?>
        <a class="img" href="<?php echo osc_item_url(); ?>"><img class="<?php echo (del_is_lazy() ? 'lazy' ''); ?>" src="<?php echo del_get_noimage(); ?>" data-src="<?php echo del_get_noimage(); ?>" alt="<?php echo osc_esc_html(osc_item_title()); ?>" /></a>
      <?php ?>

      <div class="publish isGrid"><?php echo del_smart_date(osc_item_pub_date()); ?></div>

      <div class="favorite"><?php if(function_exists('fi_save_favorite')) { echo fi_save_favorite(); } ?></div>
    </div>

    <div class="data">
      <?php if(del_check_category_price(osc_item_category_id())) { ?>
        <div class="price isGrid"><span><?php echo osc_item_formated_price(); ?></span></div>
      <?php ?>

      <a class="title" href="<?php echo osc_item_url(); ?>"><?php echo osc_highlight(osc_item_title(), 100); ?></a>

      <div class="details isGrid">
        <?php $transaction_condition ''?>
        <?php if(!in_array(osc_item_category_id(), del_extra_fields_hide()) && 1==2) { ?>
          <?php
            $transaction_condition 
array_filter(array_map('trim', array(del_get_simple_name($item_extra['i_condition'], 'condition'false), del_get_simple_name($item_extra['i_transaction'], 'transaction'false))));
            
$transaction_condition implode('<br/>'$transaction_condition);
          
?>

         
          <?php if($transaction_condition <> '') { ?>
            <div class="cd"><span><?php echo $transaction_condition?></span></div>
          <?php ?>
        <?php ?>
       
        <?php if($transaction_condition == '') { ?>
          <?php
            $category_location 
array_filter(array_map('trim', array(del_item_location(), osc_item_category())));
            
$category_location implode('<br/>'$category_location);
          
?>


          <?php if($category_location <> '') { ?>
            <div class="lc"><span><?php echo $category_location?></span></div>
          <?php ?>
        <?php ?>
       
        <div class="dt"><span><?php echo del_smart_date(osc_item_pub_date()); ?></span></div>
       
        <div class="bt">
          <a class="btn mbBg" href="<?php echo osc_item_url(); ?>#contact"><?php _e('Contact''delta'); ?></a>
        </div>
      </div>
     
      <div class="description isList"><?php echo osc_highlight(strip_tags(osc_item_description()), 320); ?></div>

      <div class="extra isList">
        <?php if(del_item_location(falsetrue) <> '') { ?>
          <span class="location"><i class="fas fa-map-marked-alt"></i> <?php echo __('Located:''delta'); ?> <strong><?php echo del_item_location(falsetrue); ?></strong></span>
        <?php ?>
       
        <?php if(!in_array(osc_item_category_id(), del_extra_fields_hide())) { ?>
          <?php if(del_get_simple_name($item_extra['i_condition'], 'condition'false) <> '') { ?>
            <span class="condition"><i class="fas fa-battery-half"></i> <?php echo __('Condition:''delta'); ?> <strong><?php echo del_get_simple_name($item_extra['i_condition'], 'condition'false); ?></strong></span>
          <?php ?>

          <?php if(del_get_simple_name($item_extra['i_transaction'], 'transaction'false) <> '') { ?>
            <span class="transaction"><i class="fas fa-exchange-alt"></i> <?php echo __('Transaction:''delta'); ?> <strong><?php echo del_get_simple_name($item_extra['i_transaction'], 'transaction'false); ?></strong></span>
          <?php ?>         
         
        <?php ?>
      </div>
     
      <div class="action isList">
        <?php if(del_check_category_price(osc_item_category_id())) { ?>
          <div class="price<?php if(osc_item_price() <= 0) { ?> isstring<?php ?>"><span><?php echo osc_item_formated_price(); ?></span></div>
        <?php ?>
       
        <div class="bt">
          <a class="btn mbBg" href="<?php echo osc_item_url(); ?>#contact"><i class="fas fa-envelope"></i> <?php _e('Contact''delta'); ?></a>
        </div>
       
        <div class="hit"><?php echo sprintf(__('%s people viewed''delta'), osc_item_views()); ?></div>
        <div class="time"><?php echo sprintf(__('Added %s''delta'), del_smart_date(osc_item_pub_date())); ?></div>
      </div>
    </div>
   
  </div>
</div>


I replaced with the codes

Code: [Select]
<?php $item_extra del_item_extra(osc_item_id()); ?>

<div class="simple-prod <?php echo isset($c) ? 'o'$c ''?><?php if(osc_item_is_premium()) { ?> is-premium<?php ?><?php if(@$class <> '') { echo ' ' $class; } ?><?php if(@$item_extra['i_sold'] == 1) { echo ' st-sold'; } else if(@$item_extra['i_sold'] == 2) { echo ' st-reserved'; } ?> <?php osc_run_hook("highlight_class"); ?>">
  <div class="simple-wrap">
    <?php if(@$item_extra['i_sold'] == 1) { ?>
      <a class="label lab-sold" href="<?php echo osc_item_url(); ?>"><?php _e('Sold''delta'); ?></a>
    <?php } else if(@$item_extra['i_sold'] == 2) { ?>
      <a class="label lab-res" href="<?php echo osc_item_url(); ?>"><?php _e('Reserved''delta'); ?></a>
    <?php } else if(osc_item_is_premium()) { ?>
      <a class="label lab-prem mbBg3" href="<?php echo osc_item_url(); ?>"><?php _e('Premium''delta'); ?></a>
    <?php ?>       

    <div class="img-wrap<?php if(osc_count_item_resources() == 0) { ?> no-image<?php ?>">
      <?php if(osc_count_item_resources() > 0) { ?>
        <?php 
          $bar_count 
min(osc_count_item_resources(), 5); 
          
$bar_width floor((100/$bar_count)*100)/100;
        
?>

       
        <a class="switch-bars" href="<?php echo osc_item_url(); ?>" data-count=<?php echo $bar_count?>>
          <?php for($i 1;$i <= $bar_count$i++) { ?>
            <div class="bar" data-id="<?php echo $i?>" style="width:<?php echo $bar_width?>%;left:<?php echo ($i-1)*$bar_width?>%;"></div>
          <?php ?>
        </a>
       
        <?php for($i 1;osc_has_item_resources(); $i++) { ?>
          <?php if($i <= 5) { ?>
            <div class="img" data-id="<?php echo $i?>" <?php if($i 1) { ?>style="display:none;"<?php ?>>
              <img class="<?php echo (del_is_lazy() ? 'lazy' ''); ?>" src="<?php echo (del_is_lazy() ? del_get_noimage() : osc_resource_thumbnail_url()); ?>" data-src="<?php echo osc_resource_thumbnail_url(); ?>" alt="<?php echo osc_esc_html(osc_item_title()); ?>" />
             
              <?php if($i == && osc_count_item_resources() > 5) { ?>
                <div class="more-img">
                  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"> <g> <g> <path d="M437.333,117.333h-64c-4.587,0-8.661-2.923-10.112-7.296l-6.741-20.224c-7.275-21.824-27.605-36.48-50.603-36.48h-99.755 c-22.997,0-43.328,14.656-50.581,36.459l-6.741,20.245c-1.472,4.373-5.547,7.296-10.133,7.296h-64C33.493,117.333,0,150.827,0,192 v192c0,41.173,33.493,74.667,74.667,74.667h362.667C478.507,458.667,512,425.173,512,384V192 C512,150.827,478.507,117.333,437.333,117.333z M490.667,384c0,29.397-23.936,53.333-53.333,53.333H74.667 c-29.397,0-53.333-23.936-53.333-53.333V192c0-29.397,23.936-53.333,53.333-53.333h64c13.781,0,25.984-8.789,30.357-21.867 l6.763-20.267c4.352-13.077,16.555-21.867,30.336-21.867h99.755c13.781,0,25.984,8.789,30.357,21.888l6.741,20.245 c4.373,13.077,16.576,21.867,30.357,21.867h64c29.397,0,53.333,23.936,53.333,53.333V384z"/> </g> </g> <g> <g> <path d="M256,160c-70.592,0-128,57.408-128,128s57.408,128,128,128s128-57.408,128-128S326.592,160,256,160z M256,394.667 c-58.816,0-106.667-47.851-106.667-106.667c0-58.816,47.851-106.667,106.667-106.667S362.667,229.184,362.667,288 C362.667,346.816,314.816,394.667,256,394.667z"/> </g> </g> <g> <g> <path d="M256,202.667c-47.061,0-85.333,38.272-85.333,85.333c0,5.888,4.779,10.667,10.667,10.667S192,293.888,192,288 c0-35.285,28.715-64,64-64c5.888,0,10.667-4.779,10.667-10.667S261.888,202.667,256,202.667z"/> </g> </g> </svg>
                  <span>
                    <?php
                      
if(osc_count_item_resources() - 1) { 
                        echo 
sprintf(__('%s more pictures''delta'), osc_count_item_resources() - 5);
                      } else {
                        echo 
_e('1 more picture''delta');
                      }
                    
?>

                  </span>
                </div>
              <?php ?>
            </div>
          <?php ?>
        <?php ?>
      <?php } else { ?>
        <a class="img" href="<?php echo osc_item_url(); ?>"><img class="<?php echo (del_is_lazy() ? 'lazy' ''); ?>" src="<?php echo del_get_noimage(); ?>" data-src="<?php echo del_get_noimage(); ?>" alt="<?php echo osc_esc_html(osc_item_title()); ?>" /></a>
      <?php ?>

      <div class="publish isGrid"><?php echo del_smart_date(osc_item_pub_date()); ?></div>

      <div class="favorite"><?php if(function_exists('fi_save_favorite')) { echo fi_save_favorite(); } ?></div>
    </div>

<?php
  $my_var 
implode('<br/>'array_filter(array_map('trim', array(del_get_simple_name($item_extra['i_condition'], 'condition'false), del_get_simple_name($item_extra['i_transaction'], 'transaction'false)))));
?>


    <div class="data">
  <div class="price isGrid"><span><?php echo $my_var?></span></div>
</div>
      <?php ?>

      <a class="title" href="<?php echo osc_item_url(); ?>"><?php echo osc_highlight(osc_item_title(), 100); ?></a>

      <div class="details isGrid">
        <?php $transaction_condition ''?>
        <?php if(!in_array(osc_item_category_id(), del_extra_fields_hide()) && 1==2) { ?>
          <?php
            $transaction_condition 
array_filter(array_map('trim', array(del_get_simple_name($item_extra['i_condition'], 'condition'false), del_get_simple_name($item_extra['i_transaction'], 'transaction'false))));
            
$transaction_condition implode('<br/>'$transaction_condition);
          
?>

         
          <?php if($transaction_condition <> '') { ?>
            <div class="cd"><span><?php echo $transaction_condition?></span></div>
          <?php ?>
        <?php ?>
       
        <?php if($transaction_condition == '') { ?>
          <?php
            $category_location 
array_filter(array_map('trim', array(del_item_location(), osc_item_category())));
            
$category_location implode('<br/>'$category_location);
          
?>


          <?php if($category_location <> '') { ?>
            <div class="lc"><span><?php echo $category_location?></span></div>
          <?php ?>
        <?php ?>
       
        <div class="dt"><span><?php echo del_smart_date(osc_item_pub_date()); ?></span></div>
       
        <div class="bt">
          <a class="btn mbBg" href="<?php echo osc_item_url(); ?>#contact"><?php _e('Contact''delta'); ?></a>
        </div>
      </div>
     
      <div class="description isList"><?php echo osc_highlight(strip_tags(osc_item_description()), 320); ?></div>

      <div class="extra isList">
        <?php if(del_item_location(falsetrue) <> '') { ?>
          <span class="location"><i class="fas fa-map-marked-alt"></i> <?php echo __('Located:''delta'); ?> <strong><?php echo del_item_location(falsetrue); ?></strong></span>
        <?php ?>
       
        <?php if(!in_array(osc_item_category_id(), del_extra_fields_hide())) { ?>
          <?php if(del_get_simple_name($item_extra['i_condition'], 'condition'false) <> '') { ?>
            <span class="condition"><i class="fas fa-battery-half"></i> <?php echo __('Condition:''delta'); ?> <strong><?php echo del_get_simple_name($item_extra['i_condition'], 'condition'false); ?></strong></span>
          <?php ?>

          <?php if(del_get_simple_name($item_extra['i_transaction'], 'transaction'false) <> '') { ?>
            <span class="transaction"><i class="fas fa-exchange-alt"></i> <?php echo __('Transaction:''delta'); ?> <strong><?php echo del_get_simple_name($item_extra['i_transaction'], 'transaction'false); ?></strong></span>
          <?php ?>         
         
        <?php ?>
      </div>
     
<div class="action isList">
    <div class="price<?php if(osc_item_price() <= 0) { ?> isstring<?php ?>"><span><?php echo $my_var?></span></div>
</div>
        <?php ?>
       
        <div class="bt">
          <a class="btn mbBg" href="<?php echo osc_item_url(); ?>#contact"><i class="fas fa-envelope"></i> <?php _e('Contact''delta'); ?></a>
        </div>
       
        <div class="hit"><?php echo sprintf(__('%s people viewed''delta'), osc_item_views()); ?></div>
        <div class="time"><?php echo sprintf(__('Added %s''delta'), del_smart_date(osc_item_pub_date())); ?></div>
      </div>
    </div>
   
  </div>
</div>


it still doesn't show correct. Could u please tell me, what's wrong?
« Last Edit: October 20, 2021, 08:18:19 PM by sess01 »

*

MB Themes

Re: display of the transactions of ads
« Reply #10 on: October 21, 2021, 08:06:51 PM »
@sess01
Old code related to price like this should be removed:
Code: [Select]
<?php if(osc_item_price() <= 0) { ?> isstring<?php ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sess01

  • ***
  • 39 posts
Re: display of the transactions of ads
« Reply #11 on: October 21, 2021, 08:28:31 PM »
I deleted and did different combinations with codes. But that doesn't help. You can try it.

I want to disable the price and that current transactions(buy, sell or exchange) are displayed instead of the price.

*

MB Themes

Re: display of the transactions of ads
« Reply #12 on: October 22, 2021, 09:16:54 AM »
@sess01
Try to define $my_var at top of file right after $item_extra is defined.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots