Home Forums Theme Support Dokan Store Banner Repeats

This topic is: not resolved

This topic contains 40 replies, has 4 voices, and was last updated by  kenneth 3 years, 9 months ago.

Viewing 11 posts - 31 through 41 (of 41 total)
  • Author
    Posts
  • #66329

    towhid
    Participant
    Post count: 4505

    Can you check.

    #66335

    kenneth
    Member
    Post count: 170

    the address field and repeat issue is temporary fixed. thank you. Please let me know if this change will be over ride when the new update comes up ? And also, which file did you make the changes to?

    #66440

    towhid
    Participant
    Post count: 4505

    Hello Kenneth,

    When the new update comes it will affect the changes.

    For that reason please keep this solution in your documentation.

    Please open plugins/dokan/templates/store-header.php and find this line:

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

    Replace above lines of code with below:

    <?php if ( isset( $store_info['address'] ) && !empty( $store_info['address']['country'] ) ) { ?>
                        <li class="dokan-store-address"><i class="fa fa-map-marker"></i>
                            <?php $seller_address = dokan_get_seller_address( $store_user->ID, true); ?> 
                            <p class='seller_address_city'><?php echo $seller_address['city']. ', '. $seller_address['state'].', '.$seller_address['zip']; ?></p>                  
                        </li>
                    <?php } ?>

    Thanks

    #66441

    kenneth
    Member
    Post count: 170

    hi towhid, pls look at https://wedevs.com/support/topic/store-banner-repeats/page/2/#post-65827 there is another responsive problem not yet resolved. The related products are separated on single product page when viewed on ipad mini. Please advise

    #66692

    towhid
    Participant
    Post count: 4505

    Hello Kenneth,

    Can you please provide me the URL. I want to check for myself.

    Thanks

    #66701

    kenneth
    Member
    Post count: 170
    This reply has been marked as private.
    #66862

    towhid
    Participant
    Post count: 4505

    Hello Kenneth,

    Now check your site please and let me know the result.

    Thanks

    #66865

    kenneth
    Member
    Post count: 170

    Hi towhid, it's still the same

    #66866

    kenneth
    Member
    Post count: 170

    also, your changes has affected my homepage which has become 2 products per row instead of 4 originally.

    #66867

    kenneth
    Member
    Post count: 170

    hi towhid, i think just forget it if it can't be fixed, just change it back to my original. thank you

    #66927

    kenneth
    Member
    Post count: 170
    This reply has been marked as private.
Viewing 11 posts - 31 through 41 (of 41 total)

The topic ‘Store Banner Repeats’ is closed to new replies.