*

Fabio Massaro

  • *****
  • 302 posts
Hi all, I'm lost a bit I have to put this on search.php
<?php if(function_exists('atr_show_attribute')) { echo atr_show_attribute( {attribute id} ); } ?>
I know I have to put id
But I need all the code because when I put it it gives me an error maybe we still need something together

*

MB Themes

No, just id, example:
Code: [Select]
<?php if(function_exists('atr_show_attribute')) { echo atr_show_attribute(12345); } ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Fabio Massaro

  • *****
  • 302 posts
<?php if(function_exists('atr_show_attribute')) { echo atr_show_attribute( {10} ); } ?>

<?php if(function_exists('atr_show_attribute')) { echo atr_show_attribute( {9} ); } ?>

<?php if(function_exists('atr_show_attribute')) { echo atr_show_attribute( {19} ); } ?>



Entering this code gives me an error
can you tell me exactly how to enter it please

*

MB Themes

Code: [Select]
<?php if(function_exists('atr_show_attribute')) { echo atr_show_attribute( {19} ); } ?>
why would you wrap that 19 into curly brackets?

Code: [Select]
<?php if(function_exists('atr_show_attribute')) { echo atr_show_attribute(osc_item_id()); } ?>
<?php if(function_exists('atr_show_attribute')) { echo atr_show_attribute(osc_premium_id()); } ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Fabio Massaro

  • *****
  • 302 posts
hello tried but with poor results I can not understand the problem done as you said to do

*

MB Themes

It's solution here already, not sure what are you talking about.

Code: [Select]
<?php if(function_exists('atr_show_attribute')) { echo atr_show_attribute(osc_item_id()); } ?>
<?php if(function_exists('atr_show_attribute')) { echo atr_show_attribute(osc_premium_id()); } ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots