*

Dan

  • **
  • 17 posts
how do I Hide last 4 digits of phone number
« on: February 20, 2022, 06:47:33 AM »
How do I hide the last 4 digits of phone number in Elena theme
« Last Edit: February 20, 2022, 01:37:21 PM by Dan Cano »

*

MB Themes

Re: how do I Hide last 4 digits of phone number
« Reply #1 on: February 23, 2022, 12:30:47 PM »
@Dan
I am not sure if I can write whole procedure here as well as if you are able to complete it into working solution by yourself.
Solution to this is:
- hide last 4 digits (i.e. substr($phone, 0, strlen($phone)-4) . 'xxxx')
- store number somewhere, i.e. under rel attribute of link (<a href="#" rel="<?php echo $phone; ?>")
- show phone on click via jquery ( $('a.phone').click(function() { $(this).text($(this).attr('rel')); } )
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

azedinmbr16

  • *
  • 3 posts
Re: how do I Hide last 4 digits of phone number
« Reply #2 on: April 26, 2022, 06:29:31 AM »
hello please help me , the phone number dont appear in my veronika theme its write " No phone number" , even i write it when i try to put an ad , please help me

*

MB Themes

Re: how do I Hide last 4 digits of phone number
« Reply #3 on: April 26, 2022, 07:36:55 AM »
Try to reacrivate theme, check if t_item_table is created, .... create own thread in correct category and/or create support ticket
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots