Display feature Store information

This topic contains 4 reply and 2 voices, and was last updated by Boris GAB 9 years, 3 months ago
Viewing 4 Posts - 1 through 4 (of 4 total)
Author Posts
January 6, 2015 at 11:44 pm 33506
Boris GAB Hello Nayem, I need a function like the one in the Feature store display widget witch can display on a page i will create the Feature store name, the Phone number, And the link to the shop of the store. Thanks for your assistance.
January 7, 2015 at 11:25 am 33532
Nayem Nayem

Hello Boris,

If you want to display this feature store widget in your page, you can drag this widget into your page. It is a default system to use widget in a page. But if you are looking for custom widget for your page then you have to do some customization. If you are good in code then you can customize your widget by your own hand other wise developer may required for this customization.

Thank you for understanding 🙂

January 7, 2015 at 1:50 pm 33545
Boris GAB Boris GAB

Hello, thanks for the support.

The widget display the Seller name of the feature seller, not the store name. I just want to display the store name with this widget please.

Thanks.

January 7, 2015 at 3:21 pm 33565
Nayem Nayem

Hello Boris,

Please open Dokan-plugin/includes/widgets/feature-seller.php and replace line number 47-58 with this code-

foreach ($sellers as $key => $seller) {
                    $store_info = dokan_get_store_info( $seller->ID );
                    $rating = dokan_get_seller_rating( $seller->ID );
                    $display_rating = $rating['rating'];

                    if ( ! $rating['count'] ) {
                        $display_rating = __( 'No ratings found yet!', 'dokan' );
                    }
                    ?>
                    <li>
                        <a href="<?php echo dokan_get_store_url( $seller->ID ); ?>">
                            <?php echo $store_info['store_name']; ?>

Please check and let me know. Thank you 🙂

January 7, 2015 at 5:53 pm 33586
Boris GAB Boris GAB

Good Nayem.
Thanks for the support.

Viewing 4 Posts - 1 through 4 (of 4 total)