Customizing store page

If the store design is broken in your theme, or you want to tweak things according to your taste, then you can override that from your theme or child theme.

Steps to override the Dokan store template

  1. Install a child theme: A child theme is always the best choice and the best practice that every WordPress developer follows to customize things in a site. Because if you edit inside a theme or plugin folder, then all the changes will be lost upon update.
    So if you are not already using a child theme, you can make one. Here is the official WordPress documentation on how to make a child theme. If you have bought the theme from ThemeForest or any other marketplace, then you will get a blank child theme in the zipped folder in most cases.
  2. Copy the store template: The store template is located on wp-content/plugins/dokan/templates/ and the file name is store.php. You need to copy the entire file. You can copy the file by right clicking on it or open in a text editor and copy the source code.
  3. Make a folder and paste the file: If you have a folder named Dokan, inside your theme or child theme, then the system will pick the template from there and ignore the templates inside the plugin folder. So after creating the folder inside your child theme, the store template location would be wp-content/themes/YourThemeName/dokan/store.php
    If your theme name is Avada and you are using a child theme, then the store template location will look like wp-content/themes/avada-child/dokan/store.php
  4. Edit the file on your child theme: Now you can edit everything on that template. Upon saving the changes on the template will reflect on your vendors store page.