A Variety of Suggestions & Issues I Need Help With

This topic contains 7 reply and 3 voices, and was last updated by Nizam Uddin 9 years, 11 months ago
Viewing 7 Posts - 1 through 7 (of 7 total)
Author Posts
May 12, 2014 at 2:25 am 20296
Nizam Uddin Here's a fairly lengthy list of things I've run into while testing things on my site. I'll try to be as detailed as possible and provide login information (as an administrator and seller of my site) so that you man see for yourself. 1) Allow 'Sellers' to choose their username upon signup. Currently, whatever is used for the 'Email' field is what is used for the Seller's username. For example, testing@gmail.com is used as the email when signing up as a Seller and 'testing' becomes the Seller's username. 2) When registered as a seller, have the ability in Seller Dashboard > Settings to check a box that says hide phone number and hide map. When I type in an address for the map and click "Find Address" it adds the map. However, when you remove the address it keeps that address pin pointed on the map on the Seller's shop on the front-end. Backend Screenshot: http://screencast.com/t/9xtAYT56 Frontend Screenshot: http://screencast.com/t/k8TMOJJl 3) I'm logged in as a Seller and I added a product. The product was added, but the page that showed after clicking the 'Add Product' button was this: http://screencast.com/t/DpqtLPs6g Login > Seller Dashboard > Products > Add new product Try adding a product and you'll see the same thing shown in the screenshot. 4) When I'm logged in as a Seller and go to Seller Dashboard > Products I see my products, but when I click 'Edit' for an individual product it goes to a Page can't be found. Screenshot: http://screencast.com/t/DpqtLPs6g 5) Payment method in Seller Dashboard > Settings is set to PayPal and PayPal email provided. However, when a customer places an order it goes to PayPal page and says Purchase cannot be completed. Video: http://screencast.com/t/igqFEl5p 6) Is there a way to make it so that when a Seller logs into the site, the first page they see is the Dashboard page rather than the My Account page? What a Seller sees after logging in: http://screencast.com/t/2CZtAiAZAlv The Dashboard page I want a Seller to see after logging in: http://screencast.com/t/ksEVofmi
May 12, 2014 at 2:28 am 20297
grhawkins grhawkins This reply has been marked as private.
May 12, 2014 at 7:07 am 20306
grhawkins grhawkins

Please disregard #4 in my original post. #4 has been resolved via this thread: http://wedevs.com/support/topic/our-seller-cant-edit-their-products-404-error/

4) When I’m logged in as a Seller and go to Seller Dashboard > Products I see my products, but when I click ‘Edit‘ for an individual product it goes to a Page can’t be found.
Screenshot: http://screencast.com/t/DpqtLPs6g

May 12, 2014 at 12:41 pm 20311
Nizam Uddin Nizam Uddin

Hello
Thank you for your long list 🙂

1. It’s handling Woocommerce. If you want to allow seller’s to choose username upon signup then just follow the screenshot https://www.diigo.com/item/image/1hn1d/j7m5
2. Thanks for pointing it out. I will forward this issue to development team.
3. It was permalink problem and working fine now.
4. Working fine now
5. Please configure your paypal settings in Woocoomerce. Follow the screenshot.
https://www.diigo.com/item/image/1hn1d/nyku
If you want to pay your sellers instantly please use Paypal Adaptive payments addon for Dokan http://wedevs.com/plugin/dokan/paypal-adaptive-payments/
6. Yes you can , please use the following code.


/**
 * Redirect user after successful login.
 *
 * @param string $redirect URL to redirect to.
 * @param object $user Logged user's data.
 * @return string
 */
function dokan_login_redirect( $redirect, $user ) {
    //is user a seller ?
    if ( dokan_is_user_seller ( $user->ID ) ) {
        $redirect = dokan_get_page_url( 'dashboard', 'dokan' ); 
        return $redirect;
    } 
}
add_filter( 'woocommerce_login_redirect', 'dokan_login_redirect', 10, 2 );

Thank you..

May 12, 2014 at 11:42 pm 20357
grhawkins grhawkins

Thank you for your response and assistance!

One last question expanding on #5. Is it possible for Sellers to just accept payment into their PayPal account rather than having the funds go to mine (the site owner) then be transferred to theirs?

Also, for #6, where does that code need to be placed? .htaccess?

May 13, 2014 at 5:41 am 20366
Mahi Mahi

Currently, only possible way is Paypal Adaptive Payment. More details: http://wedevs.com/plugin/dokan/paypal-adaptive-payments/

May 13, 2014 at 7:22 pm 20391
grhawkins grhawkins

Thanks Mahi. I’ll read up more about the Adaptive payments add-on.

Never got a response about this. Was this code supposed to go into my .htaccess? Or somewhere else?

/**
 * Redirect user after successful login.
 *
 * @param string $redirect URL to redirect to.
 * @param object $user Logged user's data.
 * @return string
 */
function dokan_login_redirect( $redirect, $user ) {
    //is user a seller ?
    if ( dokan_is_user_seller ( $user->ID ) ) {
        $redirect = dokan_get_page_url( 'dashboard', 'dokan' ); 
        return $redirect;
    } 
}
add_filter( 'woocommerce_login_redirect', 'dokan_login_redirect', 10, 2 );
May 13, 2014 at 7:34 pm 20394
Nizam Uddin Nizam Uddin

Hello
Please put the code into functions.php file . Thank you

Viewing 7 Posts - 1 through 7 (of 7 total)