Forum Replies Created

Viewing 12 Topics - 1 through 12 (of 12 total)
Author Posts
June 17, 2015 at 2:25 pm in reply to: Paging feature Issue in store 52260
Jintae Jintae

I am being used to Permalink. As follow
Common Settings is Post name
Product permalink base is Custom Base

I think there is a problem with your response.
I am extremely dissatisfied For two counts request ( this post & Posts related tab )
I wonder what you think about this.

If possible, I do not want to modify the Dokan Core Source.
Please answer me soon

June 17, 2015 at 2:16 pm in reply to: Paging feature Issue in store 52250
Jintae Jintae

Hi towhid
I found the cause of the problem.

URL When calling page 1 is : [server domain]/store/seller2/reviews
URL When calling page 2 is : [server domain]/store/seller2/reviews/page/2

and then
Call the following function in wp-content\themes\dokan\dokan\store-reviews.php
$comments = $dokan_template_reviews->comment_query( $id, $post_type, $limit, $status );

The code below is a problem

$page_number = isset( $_GET['pagenum'] ) ? $_GET['pagenum'] : 0 ;
$pagenum     = max( 1, $page_number );

In this case, the value of $ page_number is always 0

Make changes to the code as follows:
$pagenum = max( get_query_var( 'paged' ), 1 );

June 17, 2015 at 12:16 pm in reply to: Paging feature Issue in store 52230
Jintae Jintae

Hi towhid

Please wait
I am now debugging of this issue
and I will tell find what the problem is.

June 17, 2015 at 11:58 am in reply to: where is a tab in store's product page 52225
Jintae Jintae

Hi towhid

first i am using Dokan ver 2.2.2 (this is latest versoin…is it right?)
you told me “I have tried to reproduce this issue but failed”
so I opened directly related to the source code.
and then i made sure that it goes wrong.

piz check Source below.
1. wp-content\themes\dokan\dokan\store.php


<?php dokan_get_template_part( 'store-header' ); ?>

there is code relating tab in store-header.php

2. wp-content\themes\dokan\dokan\store-reviews.php


<div id="primary" class="content-area dokan-single-store col-md-9">
    <div id="content" class="site-content store-page-wrap woocommerce" role="main">

        <div class="profile-frame">

            <?php if ( isset( $store_info['banner'] ) && !empty( $store_info['banner'] ) ) { ?>
            <style type="text/css">
                .profile-frame {
                    background-image: url('<?php echo wp_get_attachment_url( $store_info['banner'] ); ?>');
                }
            </style>
            <?php } ?>

            <div class="col-md-4 profile-info-box">
                <div class="profile-img">
                    <?php echo get_avatar( $store_user->ID, 80 ); ?>
                </div>

                <div class="profile-info">
                    <ul class="list-unstyled">

                        <?php if ( isset( $store_info['store_name'] ) ) { ?>
                            <li class="store-name"><?php echo esc_html( $store_info['store_name'] ); ?></li>
                        <?php } ?>

                        <?php if ( isset( $store_info['address'] ) && !empty( $store_info['address'] ) ) { ?>
                            <li><i class="fa fa-map-marker"></i> <?php echo esc_html( $store_info['address'] ); ?></li>
                        <?php } ?>

                        <?php if ( isset( $store_info['phone'] ) && !empty( $store_info['phone'] ) ) { ?>
                            <li><i class="fa fa-mobile"></i>
                                <a href="tel:<?php echo esc_html( $store_info['phone'] ); ?>"><?php echo esc_html( $store_info['phone'] ); ?></a>
                            </li>
                        <?php } ?>

                        <?php if ( isset( $store_info['show_email'] ) && $store_info['show_email'] == 'yes' ) { ?>
                            <li><i class="fa fa-envelope-o"></i>
                                <a href="mailto:<?php echo antispambot( $store_user->user_email ); ?>"><?php echo antispambot( $store_user->user_email ); ?></a>
                            </li>
                        <?php } ?>

                        <li>
                            <i class="fa fa-star"></i>
                            <?php dokan_get_readable_seller_rating( $store_user->ID ); ?>
                        </li>
                    </ul>

                    <ul class="list-inline store-social">
                        <?php if ( isset( $store_info['social']['fb'] ) && !empty( $store_info['social']['fb'] ) ) { ?>
                            <li>
                                <a href="<?php echo esc_url( $store_info['social']['fb'] ); ?>" target="_blank"><i class="fa fa-facebook-square"></i></a>
                            </li>
                        <?php } ?>

                        <?php if ( isset( $store_info['social']['gplus'] ) && !empty( $store_info['social']['gplus'] ) ) { ?>
                            <li>
                                <a href="<?php echo esc_url( $store_info['social']['gplus'] ); ?>" target="_blank"><i class="fa fa-google-plus-square"></i></a>
                            </li>
                        <?php } ?>

                        <?php if ( isset( $store_info['social']['twitter'] ) && !empty( $store_info['social']['twitter'] ) ) { ?>
                            <li>
                                <a href="<?php echo esc_url( $store_info['social']['twitter'] ); ?>" target="_blank"><i class="fa fa-twitter-square"></i></a>
                            </li>
                        <?php } ?>

                        <?php if ( isset( $store_info['social']['linkedin'] ) && !empty( $store_info['social']['linkedin'] ) ) { ?>
                            <li>
                                <a href="<?php echo esc_url( $store_info['social']['linkedin'] ); ?>" target="_blank"><i class="fa fa-linkedin-square"></i></a>
                            </li>
                        <?php } ?>

                        <?php if ( isset( $store_info['social']['youtube'] ) && !empty( $store_info['social']['youtube'] ) ) { ?>
                            <li>
                                <a href="<?php echo esc_url( $store_info['social']['youtube'] ); ?>" target="_blank"><i class="fa fa-youtube-square"></i></a>
                            </li>
                        <?php } ?>

                        <?php if ( isset( $store_info['social']['flickr'] ) && !empty( $store_info['social']['flickr'] ) ) { ?>
                            <li>
                                <a href="<?php echo esc_url( $store_info['social']['flickr'] ); ?>" target="_blank"><i class="fa fa-flickr"></i></a>
                            </li>
                        <?php } ?>

                        <?php if ( isset( $store_info['social']['instagram'] ) && !empty( $store_info['social']['instagram'] ) ) { ?>
                            <li>
                                <a href="<?php echo esc_url( $store_info['social']['instagram'] ); ?>" target="_blank"><i class="fa fa-instagram"></i></a>
                            </li>
                        <?php } ?>

                    </ul>
                </div> <!-- .profile-info -->
            </div> <!-- .profile-info-box -->
        </div> <!-- .profile-frame -->

there is not code relating tab

Do you think I’m wrong about that?
Piz Look out once again
I can fix it myself. but I hope that you guys fix this.
because I Consider a version update to be released next
i expect a quick reply

June 10, 2015 at 8:39 am in reply to: Paging feature Issue in store 51642
Jintae Jintae

Link on the page that errors occur : https://www.dropbox.com/s/kwvg99cinip0agd/store%20review%20page%20link.png?dl=0
when I click page 1 : https://www.dropbox.com/s/b28zjtt9ew24b27/page1.png?dl=0
when I click page 2 : https://www.dropbox.com/s/gp8zf47e7ndnlzb/page2.png?dl=0

June 10, 2015 at 8:33 am in reply to: where is a tab in store's product page 51641
Jintae Jintae

in products page : https://www.dropbox.com/s/ttoqpzs0p87gbpe/product%20no%20tab.png?dl=0

in reviews page : https://www.dropbox.com/s/de2ra5w3d81vuue/review%20tab.png?dl=0

June 1, 2015 at 2:58 pm in reply to: seperate registration from login 45822
Jintae Jintae

..

May 28, 2015 at 10:58 am in reply to: Update product hook 45415
Jintae Jintae

Here you are

http://docs.wedevs.com/functional-action-hooks/

May 12, 2015 at 3:50 pm in reply to: Custom Seller Role 43744
Jintae Jintae

Oh, I see.

It’s going to be very useful 🙂
Thank you.

Last question, is there any way that I can sort sellers by custom sort orders such as name, registered date, high product listing..?

Thank you 🙂

May 12, 2015 at 10:45 am in reply to: Custom Seller Role 43664
Jintae Jintae

Thank you.

It might be good idea that Dokan has that feature in the future.

If I check “Make feature seller”, what happen? I can’t see the difference.
How can I use it? What is that? 🙂

May 12, 2015 at 8:45 am in reply to: Custom Seller Role 43643
Jintae Jintae

One more question

In Dokan admin menu, there is “All Sellers” page, and when I click one of sellers
at the bottom of the page, I can see a checkbox, “Make feature seller, This seller will be marked as a feature seller”.
What is this for?

May 7, 2015 at 3:43 pm in reply to: [Resolved] wpml support 43328
Jintae Jintae

Ok. That’s good.

Can you give me information about when to do it?

Thank you.

Viewing 12 Topics - 1 through 12 (of 12 total)