mahfelwp
Forum Replies Created
-
Thanks a lot for your reply
I added new field to add product and edit product page in dokan dashboard by override templates inside of my theme, is this a true method? or should be add new field with dokan action hook?
and another question is:
Save new field data with below action:
add_action( ‘dokan_process_product_meta’, ‘dokan_add_fields_save’ );
add_action( ‘dokan_product_updated’, ‘dokan_add_fields_save’ );
add_action( ‘dokan_new_product_added’, ‘dokan_add_fields_save’ );which one is true or which one is wrong?
Thanks for quick reply,can you give me an example code?
i solved this problem with edit class-order-manager.php file in dokan-lite/icludes/class-order-manager.php at line 273:
orginal code: $product_item->set_quantity( $item->get_quantity());
after edited: $product_item->set_quantity( $item->get_quantity() – 1 );
support team please check again and approve this reply if trust