Forum Replies Created

Viewing 15 Topics - 1 through 15 (of 22 total)
Author Posts
April 24, 2015 at 11:37 am in reply to: Dokan Product Edit Allows Blank Values – Including Title 42180
RevolvedMedia RevolvedMedia

Since the dokan product edit form is a front-end public form; I think it is important for Dokan to include verification of the fields during editing.

Woocommerce management is done from a single store owner point of view. It is highly unlikely that a store manager would intentionally submit empty fields, and would quickly realize the mistake.

Where as Dokan is branching off of woocommerce to allow a multi-vendor store front. This becomes a public usage system; we can not assume that every member/user will be diligent in doing things perfect (and not require notification) or to not intentionally attempt to deface a site or perform malicious acts.

From a usability stand point as well; if the title is not submitted and saved, the product list will show products without titles (seller dashboard). Therefore in the event the member has direct publish privilege: the site could end up with multiple items without titles. This would lead to confusion for both seller and consumers. A hundred blank products would not only be a nuisance but a potential public embarrassment for the site in general.

Dokan has taken the time to create validation for new product submit. Here is a little snippet:

dokan/classes/template-shortcodes.php

function handle_all_submit()

$post_title = trim( $_POST[‘post_title’] );
if ( empty( $post_title ) ) {
$errors[] = __( ‘Please enter product title’, ‘dokan’ );
}

Although missing verification or feedback for most of the fields – you can see here that the title is being checked within Dokan.

I would think it should be a priority to extend this function to verify the edit $_POST data as well, or a variation of this function. (along with the default fields for new products, title, content, price etc).

I would hate to have to put the time into this, as I expected form validation. I think form verification is extremely important and should not be taken lightly. I’m not trying to be too critical here or offend but I do want to stress that this is something I would assume all purchasers of dokan would expect.

I’ll write my own form verification cause we need it.

I do see that the new product form does not verify most fields either – and includes no notification or feedback to the user. (And loses the data on a failed submit –> the main content <-- should I open a new bug report for this?). This could easily lead to member confusion and frustration, leading to the loss of a potential seller and loss of revenue for the site. Anyway this is just my two cents on the topic and thought you should be aware; as well as notes to help improve the dokan product for us all. (and maybe save some time coding all this myself) Dokan is a very important product for me, I had planned to write a multi-vendor system for wordpress for a very long time. The blunt of the work is done in Dokan, so I have sort of a personal commitment and expectations that other may or may not share. Please know that I am very happy with the product and am just pointing out features or processes that I would expect to find in my own code.

April 16, 2015 at 1:15 pm in reply to: Dokan plugin child theme 41522
RevolvedMedia RevolvedMedia

@Craig – Yeah that did the trick thanks again.

April 11, 2015 at 3:29 am in reply to: Dokan plugin child theme 41068
RevolvedMedia RevolvedMedia

@Craig – Thanks man, I will give this a shot when I’m working it again. 🙂

April 9, 2015 at 3:34 pm in reply to: Adding New Products with ALL Options 40994
RevolvedMedia RevolvedMedia

This is important to our project as well. We have a completion date of 15 days, this would save me a ton of time.

Thanks guys.

April 9, 2015 at 8:49 am in reply to: Sidebars are not showing 40958
RevolvedMedia RevolvedMedia

Sorry for the delayed response. We added it directly to our child theme style.css

Essentially: /wp-content/themes/[theme-name]/style.css

Please note if you are not using a child theme any changes made directly to your themes style.css file will be over written during an update. Consider using child themes 🙂

If that does not solve the issue, I’m sure I can help you further anyway. Good luck and let me know.

April 9, 2015 at 12:37 am in reply to: Adding New Products with ALL Options 40953
RevolvedMedia RevolvedMedia

I absolutely agree and require this function as well.

April 8, 2015 at 10:26 pm in reply to: Sidebars are not showing 40943
RevolvedMedia RevolvedMedia

You might be experiencing the same issue we noticed. Give this a shot and let me know if it helps

https://wedevs.com/support/topic/no-map-or-contact-form-showing/page/2/

April 7, 2015 at 10:27 am in reply to: Dokan plugin child theme 40770
RevolvedMedia RevolvedMedia

@Nayem – sorry I will provide logins as soon as I’m working on this project again.


@Craig
– I’ve had to work on a few other projects for clients so I have nothing new to add yet. (I see your post here as well: https://wedevs.com/support/topic/child-theme-some-templates-are-not-overwritten/)

I will take a copy of the files/folders before support makes the changes – then I can do a compare and post the results, this way everyone will have the answer and a “how-to” guide to follow. I will write detailed instructions as best I can.

I like to help 🙂

March 31, 2015 at 7:25 am in reply to: Dokan plugin child theme 40323
RevolvedMedia RevolvedMedia

Anything recommendations – I must be missing something simple here?

March 28, 2015 at 1:27 pm in reply to: Dokan plugin child theme 40152
RevolvedMedia RevolvedMedia

I am adding changes to the HTML within the files:

see https://wedevs.com/support/topic/dokan-charge-for-featured-sticky-product-placement/#post-39973

For example: adding an additional column to the product list.

Consider these files changes as all being HTML changes.

===============================================================
I have created a custom plugin for all my functions (I know where to put custom functions – and they are working), I am a WordPress developer and do know my way around wp.
===============================================================

Can you let me know where the Dokan core code is that hooks to use the Dokan child templates – (save me searching for it, maybe I can resolve this issue myself).

Thanks again

March 26, 2015 at 9:59 pm in reply to: Dokan plugin child theme 40075
RevolvedMedia RevolvedMedia

The original files locations I am trying to override are located in:

/plugins/dokan/templates/new-product.php
/plugins/dokan/templates/product-edit.php
/plugins/dokan/templates/products-listing.php

I have placed my modified files in:

/wp-content/themes/child-theme/dokan/new-product.php
/wp-content/themes/child-theme/dokan/product-edit.php
/wp-content/themes/child-theme/dokan/products-listing.php

They are not being overridden, I am having to modify the cod=re files to see the changes.

Any ideas?
Thanks

March 26, 2015 at 12:48 pm in reply to: Dokan plugin child theme 40041
RevolvedMedia RevolvedMedia

We have a parent theme (not dokan theme – yes we’re using the plugin) and a child theme we are modding.

I am noticing this same issue with the following files:

/wp-content/themes/child-theme/dokan/new-product.php
/wp-content/themes/child-theme/dokan/product-edit.php
/wp-content/themes/child-theme/dokan/products-listing.php

I have

/wp-content/themes/child-theme/dokan/store.php and it is in fact over riding correctly

Any ideas? – I hate changing core code for obvious reasons.

Thanks

March 22, 2015 at 1:46 pm in reply to: No Map or Contact Form Showing 39736
RevolvedMedia RevolvedMedia

Not sure if this was answered or not but here is the solution:

/* ————DOKAN MAP FIX—————– */
div#dokan-store-location {
height:200px !important;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.gm-style {
height: 230px !important;
}

Add this to your styles.

Sincerely, revolvedmedia.

January 12, 2015 at 1:11 pm in reply to: Seller Page "Store" Missing Side Bar 33921
RevolvedMedia RevolvedMedia

The store location is not loading the map either.

January 12, 2015 at 12:21 pm in reply to: Seller Page "Store" Missing Side Bar 33916
RevolvedMedia RevolvedMedia

Although the store category menu widget seems to be missing the style. The other widgets styles are working. I’m using the dynamic side bar method.

Rob

Viewing 15 Topics - 1 through 15 (of 22 total)