• Resolved turabali

    (@turabali)


    Hello Sir,

    How to assign or sync vendor location to his products…

    Please help me out of this sir.
    Regards
    Turabali.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @turabali,

    Thanks for your ticket. If you need to sync location with the product and store then you may need to add an extra field to get location during the product upload. But by default, we do not have such kind of functionality.

    Thread Starter turabali

    (@turabali)

    Hello Sir,

    Please suggest me how to proceed or get this thing done.
    Am an intermediate developer.

    If there is a way to contribute to your hard work, I’ll be glad to do it.
    And thanks for replying and caring.

    Please help me out of this.

    Regards
    Turabali.

    Hello @turabali,

    You have to add the field on new-product-single.php file by overriding the file via a child theme. After adding the input filed you have to save the value of the field. On that place you have to use do_action( 'dokan_new_product_added', $product_id, $post_data ); this hook to save the field data.

    When you will edit the product that time you have to use do_action( 'dokan_product_updated', $post_id ); to re-save. As it is a custom development-related support for that reason, I am not authorized to provide more instruction.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Synchronization of store location to product’ is closed to new replies.