Hi @yurbshop21
You can hide the “Create and add new” button from the product upload form by adding the following CSS snippet to your WP admin dashboard -> Appearance -> Customize -> Additional CSS area –
/* Hide the "create and add new" button from both the product upload pop-up form & page */
button[value="create_and_add_new"], #dokan-create-and-add-new-product-btn {
display: none !important;
}
Once a product is created using the “Create Product” button, the user is redirected to the product edit page. So, if you want to add a “Create Product” button there, it will require additional customization. To do this, you can override the product edit template file as per your needs. Here’s the product edit template file’s location – \wp-content\plugins\dokan-lite\templates\products\new-product-single.php
You can take a look at this third-party article – https://wpdoctor.press/overriding-dokan-plugin-template-easy/ to learn more about overriding template files in Dokan.
Cheers!
Thread Starter
Olufemi
(@yurbshop21)
Thanks for the recommendation, I’m not willing to add “add new product button” at edit page. I want it display at top right after vendor is already done with the editing part using “create product”.
For instance, the way it used to be with “create & add new button”. What I have noticed is that when a vendor have successfully created a product using “create & add new button”, a button to “add a new product” always come up at top right of the page. So, I want to replicate same using “create product” since am hiding “create & add new”.
Is this possible?