I’ve tried your support channel without success…
I’m trying to use Dokan Lite to develop a marketplace, i’m running the latest XAMPP stack, locally, and using the latest versions of everything…
I’m not that well versed in PHP, but my problem is that the address isn’t showing correctly on the product vendor info tab.
I’ve found the culprit to be this line of code:
<?php if ( ! dokan_is_vendor_info_hidden( ‘address’ ) && ! empty( $store_info[‘address’] ) ) { ?>
If I remove this IF, the full address is shown correctly, but I need the FILTERED address. (Without street1/street2)…
Is there any other function besides this one?!
<?php echo wp_kses_post( dokan_get_seller_address( $author->ID ) ) ?>
Thanks in advance. =)
Hi @ibloodheuer
To achieve your requirements, as you are already aware, you need to perform customization.
You can have a look at the below function,
File Path:/dokan-lite/includes/functions.php
Function Name: dokan_get_seller_short_address
I would have assisted you further however, we are unable to provide custom solutions as per our support policy. I believe you can understand.
Have a nice day!
Hello @ibloodheuer
It’s been a while since we heard from you, so I’m marking this thread resolved. Hopefully, you’ve been able to resolve this, but if you haven’t, please open up a new topic and we’ll be happy to help out.
Regards,