ERROR:
DataTables warning: table id=wcfm-orders – Invalid JSON response. For more information about this error, please see https://datatables.net/tn/1
This issue prevents me from seeing products, vendors, and everything from the Frontend Manager. Apparently, this is only causing an issue for me, the Admin, but not for vendors. This issue is on Chrome, Firefox, and Edige. Customers and Vendors can still see their products, transactions, and messages. This seems to be only affecting the Admin Frontend. I am sure this is concerning for you because this seems to have happened after the latest WordPress update. I could be wrong but
You have Admin rights. If you recall, I made you an account. So, please do log in and see for yourself at the aforementioned URL.
]]>Is there a way to allow vendors to select membership levels during vendor store setup?
Or can code to allow them to select membership at the vendor-registration page
https://34.223.66.172/vendor-register/?
Lastly, the https://34.223.66.172/vendor-membership/ is broken.
Please help
Thanks
On my site, I have Stripe API & Webhooks. All are correct.
Subscriptions fire without issue, because there is no redirect needed. And it uses the API’s located in Membership>>Settings instead. Logged in & non-logged in users view the same page when setting up User Account.
The Settings>>Payments settings specifically are for setting up Payments for Vendors via Stripe Integration.
With the webhook that ends in /store-manager/settings – it will redirect Stripe (3rd party that IS NOT LOGGED IN) to /accounts/ and cause a 302 error Webhook regarding when Users link through Stripe CONNECT because Stripe does NOT like redirects at all!
This causes our webhook located in Stripe Dashboard>>Developer>>Webhook to fail 100% of the time. It is setup exactly like the WCFM documentation.
This article (linked below) suggests that perhaps a listener can be added to resolve the issue.
https://stackoverflow.com/questions/47004417/stripe-webhook-test-error-302
Any help is appreciated!
]]>I really like your plugin.
Is there a way, maybe with a code snippet, to change the prefilled “Insert your address..” in the search field below the map on the left? This prefill doesn’t really match to my requirements. As customers need to see shops near their destination it should rather be “Insert your destination here..”.
Thanks a lot.
]]>(One small suggestion: Kindly update wcfm dashboard look (UI). It just looks too boring & outdated. I really think you should come up with new cool dashboard design!)
Great work team WCFM (Wclovers) I’m really impressed!
]]>I am developing an online store that will deliver but also allow its customers to pick up their orders on site.
How to set a minimum order amount relative to the shipping method defined in Woocommerce ?
I want to set a minimum amount only for delivery. Not for the click & Collect.
Thanks a lot.
]]>Could you send a working code?
add_filter('wcfm_profile_fields_social',function($fields,$user_id){
$custom_social = get_user_meta( $user_id, '_custom_social', true );
$fields["custom_social"] = array('label' => __('Custom Social', 'wc-frontend-manager') , 'type' => 'text', 'class' => 'wcfm-text wcfm_ele', 'label_class' => 'wcfm_title wcfm_ele', 'value' => $custom_social );
return $fields;
},10,2);
add_action( 'wcfm_profile_update','wcfmu_vendor_custom_social_update', 20, 2 );
function wcfmu_vendor_custom_social_update( $user_id, $wcfm_profile_form ) {
global $WCFM, $WCFMu, $_POST;
update_user_meta( $user_id, '_custom_social', $wcfm_profile_form['custom_social'] );
}
add_action( 'wcfmmp_store_after_social', function( $vendor_id ) {
$custom_social = get_user_meta( $vendor_id, '_custom_social', true );
if( $custom_social ) {
?>
<li><a href="<?php echo wcfmmp_generate_social_url( $custom_social, 'custom_social' ); ?>" target="_blank"><i class="fab fa-whatsapp" aria-hidden="true" target="_blank"></i></a></li>
<?php
}
}, 50 );
add_action( 'wcfm_social_url', function( $social_handle, $social ) {
if( $social == 'custom_social' ) {
$social_handle = 'wa.me/' . $social_handle;
}
return $social_handle;
}, 50, 2 );
]]>