Quick Wordpress custom integration Woocommerce/Dokan

Closed Posted 3 years ago Paid on delivery
Closed Paid on delivery

We are setting up a multi vendor shop using Wordpress and the dokan shopsystem Plugin.

Dokan is based on woocommerce and makes it possible to let users create shops on our website, similar to amazon.

It is possible for vendors to create basic products in a "quick add product form" from their dashboard.

Currently they can not add the number of stock for the product they creating. To be able to manage stock, they currently have to:

1. create the product (name,category,price,...) and save it.

2. navigate from their dashboard to the products tab.

3. Click Edit on the product of choice

4. Scroll down, enable stock management and enter stock numbers. (So the function already exists)

What we want:

Instead of having to navigate through the products page, we want the stock management to be handled directly in step 1:

1. create the product (name,Stock,category,price,...) and save it.

done.

How its structured:

Dokan is using template files, located in:

1. wp-content/plugins/dokan-lite/templates/

2. wp-content/plugins/dokan-pro/templates/

To make everything update proof, I have set up a folder in our child theme to add modified files:

wp-content/themes/woodmart-child/dokan/products/

Obviously you would need to add new folders here, depending on which files you need to edit.

I’m not 100% certain but I think the relating code can be found at: wp-content/plugins/dokan-lite/templates/products/[login to view URL] In line 35-40

<div class="dokan-form-group show_if_stock">

<label class="dokan-w4 dokan-control-label" for="_stock_qty"><?php _e( 'Stock Qty', 'dokan' ); ?></label>

<div class="dokan-w4 dokan-text-left">

<input type="number" name="_stock" id="_stock" step="any" placeholder="10" value="<?php echo wc_stock_amount( get_post_meta( $post->ID, '_stock', true ) ); ?>">

</div>

</div>

Adding this code does show the field in the right place but inputs are not handed over to the woocommerce/Dokan stock management.

So guess we are missing a line to hand over the stock to the right position.

WordPress PHP WooCommerce CSS HTML

Project ID: #24803349

About the project

10 proposals Remote project Active 3 years ago

10 freelancers are bidding on average €37 for this job

taniasingh290997

Hello There, You project needs to build "Wordpress custom integration Woocommerce/Dokan" is very clear and I would like to share my skills for the project posted. I have 5+ years of hands-on experience efficiently cod More

€25 EUR in 5 days
(45 Reviews)
5.1
tarungehlot88

Hello, I read your job description and i can help you with your requirement with Dokan plugin. I used Dokan plugin for one of my client in past. I have extensive years of experience with Wordpress plugin development More

€70 EUR in 7 days
(9 Reviews)
3.4
melazab496

**** Jeder respektiert und schätzt. Ich freue mich, eine kurze Zusammenfassung über mich zu schreiben, einen Maschinenbauingenieur, der fließend Ukrainisch, Russisch, Englisch und Deutsch spricht, und ich habe mehr als More

€14 EUR in 1 day
(0 Reviews)
0.0
sammrafi

Hi, I'm Sammrafi. I'm a professional web developer and I've been working on for five years. I can help you as you want if you would like to working with me please send me a message

€15 EUR in 1 day
(1 Review)
0.0