Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter Thomymaster

    (@thomymaster)

    What am i doing wrong?

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Thomy,

    Can you post the function that you’re currently using?

    Thread Starter Thomymaster

    (@thomymaster)

    I want to use this what you posted earlier in this thread

    add_filter('upcp_price_div', 'Price_Filter', 10, 2);
    
    function Price_Filter($val, $params) {
      return "<div class='whatever'>Price €: " . $params['Item_Price'] . "</div>";
    }

    And like i said it is working but on the tabbed product page, the “details” and “contact us” tabs are not shown anymore.

    Plugin Author Rustaurius

    (@rustaurius)

    That’s really strange. Can you post a link to your site? It might just be an unclosed tag problem.

    Thread Starter Thomymaster

    (@thomymaster)

    Hi

    I wrote an email to [email protected] with the sites details.
    Please take a look and tell me how to solve the issue.

    Best,

    Thomas

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Thomy,

    The tabs seem to display correctly when visiting the link you sent. Is it still happening?

    Thread Starter Thomymaster

    (@thomymaster)

    Please try again, now the filter is active in the functions.php and the tabs are missing on the tabbed product page.

    Thread Starter Thomymaster

    (@thomymaster)

    Hi

    The problem was fixed (thanks a lot!). The filter needed to be modified, the following now works:

    function Price_Filter($val, $params) {
      return "<div class='whatever'>Price €: " . $params['Item_Price'] . "</div><div class="upcp-clear"></div>";
    }

    Best,

    Thomas

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘translation of price missing’ is closed to new replies.