Forum Replies Created
- AuthorPosts
- eguareoneParticipant
Hello,
Please I need urgent help with this.
eguareoneParticipantHi,
I prefer the alternate measure. Please send me an email to abaaexpress@gmail.com so that I can forward the FTP and Vendor Login Access. Thanks
eguareoneParticipantHello Sushobhan
Thanks for the heads up and all your help so far. I finally tried the code, The logout redirection worked but not as you expected it to. When the vendor logs out from Store Manager, It gives them a prompt, something like “Do You really want to logout from “Website Url”? On confirmation, it redirects to the wordpress admin Login Url instead of the abaaexpress.com.ng/seller-login/Please I really need help with this as i’m not good with codes. Thanks again
eguareoneParticipantThank you for this! I’m afraid that this new code did not work. It gave the following error
Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.
Please is there an alternative? I don’t want to use FTP
Thank you
eguareoneParticipantNever Mind, It worked but when it logs out it shows an incomplete site and changes the url to https://abaaexpress.com.ng/seller-login/?_wpnonce=fcd103599e instead of https://abaaexpress.com.ng/seller-login/
Is this normal?
eguareoneParticipantHi thanks so much for your reply.
I’m not to clear on where to place the custom url on the code
Below is how i understand it. Custom url is https://abaaexpress.com.ng/seller-login
add_filter( 'wcfm_logout_url', function( $logout_url ) { if( wcfm_is_vendor() ) { return 'https://abaaexpress.com.ng/seller-login'; // set your url here } return $logout_url; }); add_filter('woocommerce_get_endpoint_url', function($url, $endpoint, $value, $permalink) { if($permalink === 'https://abaaexpress.com.ng/seller-login') { // repeat the same url return $permalink; } return $url; }, 10, 4);
Did I do it right?
Thanks again for your help.
eguareoneParticipantHello is there anyone who can help me solve this please?
eguareoneParticipantNever mind… was able to fix it. it was a plugin issue. Thanks Molay
eguareoneParticipantHi,
Thanks for the reply… I have checked my browser console and this is what i got…(see Below). I have no clue what plugin might be the causeJQMIGRATE: Migrate is installed, version 1.4.1
/wp-content/plugins/woocommerce-login-and-registration/assets/js/custom2.js?ver=5.4:1 Failed to load resource: the server responded with a status of 404 ()
DevTools failed to load SourceMap: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/iframe_handler.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load SourceMap: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/content.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
jquery.dataTables.min.js?ver=6.4.8:39 Uncaught TypeError: Cannot read property ‘length’ of undefined
at ub (jquery.dataTables.min.js?ver=6.4.8:39)
at jquery.dataTables.min.js?ver=6.4.8:37
at i (jquery.dataTables.min.js?ver=6.4.8:35)
at Object.success (jquery.dataTables.min.js?ver=6.4.8:35)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at x (jquery.js?ver=1.12.4-wp:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)
ub @ jquery.dataTables.min.js?ver=6.4.8:39
(anonymous) @ jquery.dataTables.min.js?ver=6.4.8:37
i @ jquery.dataTables.min.js?ver=6.4.8:35
success @ jquery.dataTables.min.js?ver=6.4.8:35
i @ jquery.js?ver=1.12.4-wp:2 - AuthorPosts