Quantcast
Channel: weDevs Plugin Documentation
Viewing all 197 articles
Browse latest View live

wpuf_add_post_after_insert

$
0
0

wpuf_add_post_after_insert

This hook runs after a new post is created, all the custom taxonomies and post meta are saved.

Parameters

Accepts 4 parameters:

  1. $post_id – integer
  2. $form_id – integer
  3. $form_settings – array
  4. $form_vars – array

You can run any code, may be save some custom fields or run some special events when a new post is created.

Example

function wpufe_update_post_price( $post_id ) {
    $price = get_post_meta( $post_id, '_price', true );

    update_post_meta( $post_id, '_regular_price', $price );
}

add_action( 'wpuf_add_post_after_insert', 'wpufe_update_post_price' );

When our new post is created, we are retrieving a custom field _price from the post and saving it again as _regular_price.

Tip

When updating a post, use wpuf_edit_post_after_update hook.

The post wpuf_add_post_after_insert appeared first on weDevs Documentation.


wpuf_edit_post_after_update

$
0
0

wpuf_edit_post_after_update

This hook runs after a post has been updated, all the custom taxonomies and post meta are saved.

Parameters

Accepts 4 parameters:

  1. $post_id – integer
  2. $form_id – integer
  3. $form_settings – array
  4. $form_vars – array

You can run any code, may be save some custom fields or run some special events when a new post is created.

Example

function wpufe_update_post_price( $post_id ) {
    $price = get_post_meta( $post_id, '_price', true );

    update_post_meta( $post_id, '_regular_price', $price );
}

add_action( 'wpuf_edit_post_after_update', 'wpufe_update_post_price' );

When our post has been updated, we are retrieving a custom field _price from the post and saving it again as _regular_price.

Tip

When updating a post, use wpuf_add_post_after_insert hook.

The post wpuf_edit_post_after_update appeared first on weDevs Documentation.

Managing Orders

$
0
0

Order Notification

Seller will get mail notification in every order of his product. He would get a no-reply message from dokan system instantly after a order.

Order Listing

Order page displays the order detail in list. This page shows order number, order total amount, order status, customer details, order date and order action. you could view order farther details manage order status and delete order from order action.

order-status

Order Status

Seller could view and process order status from the order listing. He could complete the order from the action.

order-status-view

Order Note

Seller could add note to an order and set the note for customer of private. For customer note, the customer will get e-mail notification for every note added. And for the private note only seller will get the e-mail notification.

order-note

Download Permissions

Seller could manage download permission if the product is downloadable. He could add or delete download file and control access to download the file.

variable-product-order

The post Managing Orders appeared first on weDevs Documentation.

Coupon or Discount Codes

$
0
0

Introduction

It could be a very good business policy to give some coupon to customer. Seller could give the coupon for special customers of in a special offer.

cupon-view

Creating Coupons

To create coupon navigate to Seller DashboardCoupon and click “add new coupon”. Insert name, type, product name that the coupon for, add any neccessery then click add coupon button.

cupon-add

Fixed Amount Discount

Fixed Amount Discount coupon mean when a customer use the coupon he will get a fixed amount discount that mentioned on the coupon. Whatever his total order amount is he will get the same amount discount.

cupon-fiexd

Product Percentage (%) Discount

Product Percentage Discount mean when a customer use the coupon in his order then he will get a discount depends on his order total amount. He will get a discount of percentage that mentioned on the coupon of his total order.

cupon-percent

The post Coupon or Discount Codes appeared first on weDevs Documentation.

Sales Reports

$
0
0

Overview

Sales Overview shows on report page. On the top of the report there has some option by which seller could view his sales report total over view, by day overview, top sale product reports and top earner product reports.

sales-overview

Sales by Day

Seller could view his one day order in this option. The report shows one day total sealing total, average, total number of order, total purchased product number, coupon details and one day seal graph.

seals-by-day

Top Selling Products

In the top seller option seller could view his top selling products and its total seal number with seal ratio graph line.

top-sealing-product

Top Earning Products

Seller could view his top selling products total selling amount in top earner option. The option could view manually by date.

top-earners

The post Sales Reports appeared first on weDevs Documentation.

Managing Product Reviews

$
0
0

Overview

Seller will see all review of customers on his products from Seller DashboardReview page . He could see the rating that customer give on the product and manage the reviews status or edit them.

review

Editing Reviews

Seller could edit review by quick edit option. He could edit Name, Email, URL and comments.

review-edit

Mark as Spam

If seller don’t want to show any review then he could mark those review as spam by check the review and select mark as spam from the select box.

review-spam

Trash Reviews

If seller want to delete or make trash any review then he could mark those review as Trash by check the review and select mark as Trash from the select box.

review-trash

Un-approve Reviews

If seller want to unapproved any review then he has to just click the unapproved button after hover that review.

review-unapprove

The post Managing Product Reviews appeared first on weDevs Documentation.

Withdrawing Your Earning

$
0
0

Total Earning

Seller could view his total earning from withdraw page.

withdraw-balance

Withdraw Methods

Seller could select his comfortable withdrawal method from drop-down box in withdraw page.

withdraw-method

Minimum Limit

Seller must have minimum limit to make a withdraw request. Dokan owner will set the minimum balance for seller to make a withdrawal request. seller will view the limit in dokan terms & condition and will get email notification.

Withdraw Approve Notification

Seller will get e-mail notification when his withdraw request approve.

withdraw-approved

The post Withdrawing Your Earning appeared first on weDevs Documentation.

Setting Up Your Store Page

$
0
0

What is a store?

Store is the place where seller will showcase all his products in a interactive design. By the store a customer will get seller’s product, contact information, store location, and all other information in one view. seller will see the page by navigating to Seller DashboardView My Store .

seller-shop

Store Banner

Store banner will represent seller products concept by one big image. Seller could use a good visual interactive image to grab the attention of customer. Seller will set the image from Seller DashboardSetting page.

shop-banner

Social Profiles

Seller could link every social network with his store by link up with them. Dokan theme has simple view and easy to link up format with store setting for the sellers.

shop-social

Payment Method

Seller well set his comfortable payment method for the store. Store setting has simple payment method setting option for sellers.

shop-payment-method

Contact Information

For better contact between seller and customer store settings has contact information insert form combined of phone number, email address, physical location information and location map.

shop-contact

The post Setting Up Your Store Page appeared first on weDevs Documentation.


Page Templates

$
0
0

Seller Dashboard

Dokan is very intelligent! Upon your dokan installation, it will create all Dashboard pages automatically and will set corresponding template automatically. If you want to create manually or want to change template, navigate to WP-AdminPagesAdd New

Then choose “Dashboard” template from list.  1.Dashboard

Coupon Page

If you want to set Coupon Page manually,  navigate to WP-AdminPagesAdd New
Then choose “Dashboard -coupon” template from list.

Order Page

If you want to set Order Page manually, navigate to WP-AdminPagesAdd New
Then choose “Dashboard -order” template from list.

Products Page

If you want to set Products Page manually,  navigate to WP-AdminPagesAdd New
Then choose “Dashboard -products” template from list.

Report Page

If you want to set Report Page manually,  navigate to WP-AdminPagesAdd New
Then choose “Dashboard -Reports” template from list.

Reviews Page

If you want to set Reviews Page manually,  navigate to WP-AdminPagesAdd New
Then choose “Dashboard -Reviews” template from list.

Settings Page

If you want to set Settings Page manually,  navigate to WP-AdminPagesAdd New
Then choose “Dashboard -Settings” template from list.

Withdraw Page

If you want to set Withdraw Page manually,  navigate to WP-AdminPagesAdd New
Then choose “Dashboard -Withdraw” template from list.

Seller List Page

If you want to set Seller List Page manually,  navigate to WP-AdminPagesAdd New
Then choose “Seller list” template from list.

New Product Page

If you want to set Add New Page manually,  navigate to WP-AdminPagesAdd New
Then choose “New Product” template from list.

My Orders Page

If you want to set My Orders  Page manually,  navigate to WP-AdminPagesAdd New
Then choose “My Orders” template from list.

Full Width Page

If you want to set Full Width Page, navigate to WP-AdminPagesAdd New
Then choose “Full Width” template from list.

The post Page Templates appeared first on weDevs Documentation.

Managing Sellers & Products

$
0
0

Selling Capability

You must need to activate seller before he/she selling the product in your System. To do this, you need to Navigate WP-Admin-→DokanAll Sellers  . You will find seller list then put your cursor to specific seller then you will find option “Activate Seller ” just click it.

activateSeller

Seller Percentage

You can define the percentage of seller, to do this you need to Nagivate WP-AdminDokanSettingsSelling Options Tab then “Seller Percentage

SellerPercentage

Product Publish Status

You can easily define whether the new product will publish directly or will go to Review first . To do this you need to Navigate

WP-AdminDokanSettingsSelling Options Tab   then “New Product Status

NewProductStatus

Trusted Sellers

You can give extra opportunity to your Trusted Sellers to add product directly without pending ! To do this, you need to Navigate WP-AdminDokanAll Sellers . Then go to any any seller’s profile by clicking the username or go to WP-AdminUsers then edit user profile.

Go to end of the profile,  you will find “Publish product directly” option, just enable this option!! Now your Trusted Seller is ready to Publish Product Directly..
trustedSeller

Seller Listing

To see the list of all registered Seller, you need to Navigate WP-AdminDokanAll Sellers

allsellers

The post Managing Sellers & Products appeared first on weDevs Documentation.

License Key

$
0
0

Inserting License Key

After buying the theme you will get a license key to activate your theme to get regular update and support. Navigate to WP-AdminDokanUpdates then put your email and License key then Save & Activate.

0.LicenseKey

How to Update?

Dokan have one click update system, to get this features Navigate to WP-AdminAppearance Themes . If update is available you will see their “Update Available“, if click there then you will find “update now” option according to following screenshot. *Make sure you inserted license key in WP-AdminDokanUpdates

dokan-update

dokan-update

Support ?

To get Support visit our Support Forum

The post License Key appeared first on weDevs Documentation.

Home Page Settings

$
0
0

home-page-setting

0. Start

For the home page setting navigate to WP-AdminDokanSettingsHome Page then choose the options to set it up.

1. Show Slider

To show slide on the home page check “show slider” check box from the options.

2. Select Slider

Select the slider you want to show on home page from the select box in the options.

3. Featured Products

To show featured products on the home page check “show featured products” check box from the options.

4. Latest Products

To show latest products on the home page check “show latest products” check box from the options.

5. Best Selling Products

To show best selling products on the home page check “show best selling products” check box from the options.

6. Top Rated Products

To show top rated products on the home page check “show top rated products” check box from the options.

7. On Sale Products

To show on sale products on the home page check “show on sale products” check box from the options.

The post Home Page Settings appeared first on weDevs Documentation.

BuddyPress activity with WP User Frontend

$
0
0

Lets say you want to post something via WPUF in your BuddyPress activity. How will you do that, here’s what we are going to do today-

What we’ll do

  • Add a new custom field in the form
  • Whatever you put in the custom field will be posted as an activity in your BuddyPress profile
  • Also will be posted in a group you want

Add a new custom field

Screen Shot 2014-03-06 at 1.23.12 PM

Add a new custom field with meta key bp_activity

Post an update

Screen Shot 2014-03-06 at 1.27.09 PM

Now it looks like this:
Screen Shot 2014-03-06 at 1.29.17 PM

Codes

Paste this codes in your themes functions.php.

function wpuf_bp_add_user_activity( $activity_content ) {
    global $bp;

    $user_id = get_current_user_id();
    $from_user_link   = bp_core_get_userlink( $user_id );
    $activity_action  = sprintf( __( '%s posted an update', 'buddypress' ), $from_user_link );
    $primary_link     = bp_core_get_userlink( $user_id, false, true );

    $activity_id = bp_activity_add( array(
        'user_id'      => $user_id,
        'action'       => $activity_action,
        'content'      => $activity_content,
        'primary_link' => $primary_link,
        'component'    => $bp->activity->id,
        'type'         => 'activity_update'
    ) );

    return $activity_id;
}

function wpuf_bp_add_group_activity( $group_id, $content ) {
    $user_id = get_current_user_id();

    $activity_id = groups_post_update( array(
        'user_id' => $user_id,
        'group_id' => $group_id,
        'content' => $content
    ) );

    return $activity_id;
}

function wpufe_add_bp_activities( $post_id ) {

    if ( isset( $_POST['bp_activity']) ) {
        $content = trim( $_POST['bp_activity'] );

        if ( !strlen( $content ) ) {
            return;
        }

        $group_id = 1;

        wpuf_bp_add_user_activity( $content );
        wpuf_bp_add_group_activity( $group_id, $content );
    }

}

add_action( 'wpuf_add_post_after_insert', 'wpufe_add_bp_activities' );

Note: Here in the code, the $group_id is static. Change the group ID to your desired group ID.

The post BuddyPress activity with WP User Frontend appeared first on weDevs Documentation.

Free to Pro Upgrade

$
0
0

It is very easy to upgrade from Free Version to Pro Version of WP Project Manager. Just Deactivate the previous free version of WP Project Manager and activate the Pro Version of WP Project Manager

Free2ProUpgrade of Project Manager

The post Free to Pro Upgrade appeared first on weDevs Documentation.

License Key

$
0
0

Inserting License Key

After buying the plugin you will get a license key to activate your plugin to get regular update and support. Navigate to WP-AdminProject ManagerUpdates then put your email address and license key then Save & ActivateLicense Key

 

Support?

To get Support visit our Support Forum
 

The post License Key appeared first on weDevs Documentation.


Frontend Shortcodes

$
0
0

To use forntend feature of the plugin, you must need to install Project Manager Frontend Addon. You will get free if you buy Pro Version of WP Project Manager.

Frontend Project Listing

Please use [cpm] for listing Projects in Frontend.

Frontend My task

Please use [cpm_my_task] for listing My task in Frontend.

Frontend Calendar

Please use [cpm_calendar] to show Calendar in Frontend.

Frontend styles broken?

Different themes displays the styles differently. We can’t guarantee it will show exactly the same
as the backend. If the styles are broken, you’ve to fix it yourself. Frontend style is tested with
Twenty Eleven and Twenty Twelve theme and it works fine.

The post Frontend Shortcodes appeared first on weDevs Documentation.

General Settings

$
0
0

File Upload Limit

To set the File Upload Limit, Navigate to WP-AdminProject ManagerSettings then General Tab According to image. Please put the limit in MB.
General Settings

Project Manage Capability

For Project Manage Capability of User, Navigate to WP-AdminProject ManagerSettings then General Tab according to previous image. In this section you can easily define who are able to manage projects (Administrator/Editor/Author/Contributor/Subscriber)

Project Create Capability

To define who are able to Create Project (Administrator/Editor/Author/Contributor/Subscriber), Navigate to WP-AdminProject ManagerSettings then General Tab according to previous image. Then select as your wish.

Task start date

You can add start date in every to dos, to do this Navigate to WP-AdminProject ManagerSettings then General Tab according to previous image.
Then just select Enable task start date field

The post General Settings appeared first on weDevs Documentation.

E-mail Settings

$
0
0

From E-mail Address

You can set From E-mail Address , to do this Navigate to WP-AdminProject ManagerSettings then E-mail Settings Tab according to image
4. Email Settings

E-mail Type

You can define the E-mail Type whether it will Plain Text or HTML Mail , to do this Navigate to WP-AdminProject ManagerSettings then E-mail Settings Tab according to previous image.

New Project Invitation E-mail

You can define what will be the New Project Invitation E-mail , to do this Navigate to WP-AdminProject ManagerSettings then E-mail Settings Tab according to previous image

Update Project Invitation E-mail

You can define what will be the Update Project Invitation E-mail , to do this Navigate to WP-AdminProject ManagerSettings then E-mail Settings Tab according to previous image

New Message E-mail

You can define what will be the New Message E-mail , to do this Navigate to WP-AdminProject ManagerSettings then E-mail Settings Tab according to previous image

New Comment E-mail

You can define what will be the New Comment E-mail , to do this Navigate to WP-AdminProject ManagerSettings then E-mail Settings Tab according to previous image

New Assigned Task E-mail

You can define what will be the New Assigned Task E-mail , to do this Navigate to WP-AdminProject ManagerSettings then E-mail Settings Tab according to previous image

Completed Task E-mail

You can define what will be the Completed Task E-mail , to do this Navigate to WP-AdminProject ManagerSettings then E-mail Settings Tab according to previous image

The post E-mail Settings appeared first on weDevs Documentation.

Frontend Page Settings

Project Permission Settings

$
0
0

You can define Co-worker/Client permission in every individual project. To do this Navigate to WP-AdminProject ManagerProjects then enter any project then Settings Tab according to image

6.Project Settings

The post Project Permission Settings appeared first on weDevs Documentation.

Viewing all 197 articles
Browse latest View live