Author Archive

How To Use Store Site Admin Dashboard

Dokan admin dashboard is easy to understand where admins can get a quick overview of his/her store’s insights. So, you don’t need to check each and every vendor’s profile for investigating reviews, sales, updates, or other stuff.

However, for your convenience, we’ll focus on some parts of the Dokan admin dashboard so that you can get a quick overview.

First of all, navigate to the WordPress Admin Dashboard → Dokan→ Dashboard

Dokan Admin Dashboard

It includes four sections At a Glance, Overview, Dokan News Updates Stay up-to-date.


At a Glance Part

Here in this part, you’ll get an overview of net sales this month, the number of vendors signed up this month, the number of products created this month, ‘commission earned’, the number of vendors waiting for approval, and withdrawals awaiting for approval.

Dokan Dashboard at a glance

Overview Part

The Overview section consists of an overall graphical presentation chart of the total number of sales, the number of orders placed and commission.

Dokan Admin Dashboard Overview

How to enable multi-vendor marketplace feature?

Listeo supports multi-vendor marketplace with independent stores of each listing owner/vendor. Similar to Etsy each users can create own store with products. On listing pages vendor can display products from his store and an advertising widget that links to his shop.


Step 1

Install Dokan plugin:
https://wordpress.org/plugins/dokan-lite/


Step 2

Create 2 pages: Store Dashboard and Store Listings

Before adding shortcode enable code editor in Gutenberg

Store Dashboard requires setting template to “dashboard” and  following shortcode in content: [dokan-dashboard]

Store Listings requires: [dokan-stores]


Step 3

Once you created these two pages please go to Dokan → Settings → Page Settings and assign Dashboard and Store Listings pages.


Step 4

If you would like to have shopping cart in header you can enable it in Appearance → Customize → Header → Display Cart in header


Step 5

Enable selling capability for newly registered users in WP Admin → Dokan → Settings → Selling Options.

For already registered users you need to add selling capability for each user by editing user permissions in WP Admin → Users → User you want to edit → Selling

 

How to enable dark mode?

You can enable dark mode in Appearance → Colors

You will need to change manually background color of some sections on homepage in Elementor:

Important! Popup AJAX issue – 502 Bad Gateway

We’ve got several reports from users that they have problems with popup login form, all those issues happen on hosting that are using nginx server (this doesn’t happen or apache and other servers), we are not sure about the source of that problem, but in few cases the hosting providers have been able to fix it by either increasing  proxy-buffer size or by disabling/modifying ModSecurity to allow the ajax login call. If you are able to get help with your hosting provider, please contact them and describe that the ajax call ‘listeoajaxlogin’ is causing 502 Bad Gateway error.

If you are not able to resolve it, you’d need to temporary disable ajax login (Listeo Core -> Registration -> Login/Registration Form Type – set to Separate Page) until we figure out the proper fix for that.

If you have any feedback from your hosting provider about that please share with us as it might be helpful for us to came with a fix.

Sorry about any inconvenience caused by that.

iCal Synchronization

Listeo has an iCal synchronisation tool that allows you to import/export booking dates from your listing to exchange that data with 3rd party services.

You can add link to your listing ical file to for example airbnb and import your airbnb calendar to your listing in Listeo to avoid any risk of overbooking.  Reservations  dates of you your apartment in airbnb will be marked as booked in your listing in Listeo. This also works with any other calendar software that allows importing/exporting dates in ics/ical format.


How to set it up?

If you are using Listeo since version 1.3 it will be set for you by our Setup Wizard.

For users who upgraded from older versions, all you need to do is to create new page, name it iCal, set Page Template for that page (it’s in Page Attributes) to use Listeo iCal Output. Publish that page, and go to Listeo Core -> Pages, choose this page as your iCal page, it’s the last option on that screen.


How does it work?

Listeo runs w cron job that periodically (every 30 minutes) checks if your listing has any iCal feed imported, and if it does it imports all dates from those feeds to create a reservations in bookings table. This happens also immediately  if you add a feed, and if you delete the feed it removes all reservations added from that feed. Those reservations are not visible in your Bookings section, they are just stored in database to block available dates for your listing.

How to create Custom Field for listing and search by them.

In this tutorial I’ll show you how you can create a new field for you listing and how you can search by it.

First, create Custom Field.

Let’s got to your wp-admin -> Listeo Editor – Fields. Here are 6 tabs with grouped fields. Only fields from Service/Rental/Event tab are automatically displayed in listing above the content. For fields in other tabs you’d have to modify single listing templates to show that field using get_post_meta()
Single template is in wp-content/plugins/listeo-core/templates/single-listing.php , to display value of custom field use code

<?php echo get_post_meta($post->ID, '_custom_field_id',true); ?>

Ok, let’s add field to service type named “Color

and that should leave us with this options:

let’s say we want this field to be able to take multiple value, so change the Type to Multi Select.

In the Options table we’ll add the values for that select field.

please note the Name is what user will see, the Value is what will be saved in database, so try to not use any special characters for it.

With this new field defined, if we go to one of our listings in WordPress editor, we will see it as new field option:

Now let’s add it to Add Listing Form. Go to Listeo Editor -> Add Listing Form, scroll to section you want and click Add Field, and select the field we added

Click Save Changes at the bottom of the page, now edit that field again, if you want to make it multiple choice, make sure it’s set as this:

Now our Submit Listing form should present our new field:

The last step would be to make a filter from that field in the search forms. Let’s add it to sidebar search form. To do this, go to Listeo Editor -> Search Forms -> Sidebar Search tab, and from Available Searchable Elements in the right side, drag and drop the Colors field to the Main Elements. Save the changes, now edit the field again and make sure it’s set like on this screenshot

 

and here we go, working search form:

How to use mega menu?

Mega menu can be enabled by ticking “enable megamenu” option in menu item. Then you need to select how many columns your mega menu will contains – each column is basically a submenu.

What are recommended PHP configuration limits?

If you’re experiencing issues during theme installing or importing demo data via setup wizard and you see message like that: “Are you sure you want to do this? Please try again” please make sure that your PHP configuration is set at least as below:

max_input_time = 300
max_execution_time = 300
memory_limit = 258M
upload_max_filesize = 256M
post_max_size = 257M