Archives

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Best Multi Vendor Marketplace Plugin for WordPress › Forums › Search › Search Results for 'update'

Viewing 25 results - 376 through 400 (of 4,410 total)
  • Author
    Search Results
  • trawler-captain
    Participant

    sorry my mistake it is the wrong thread. i have problems with the update settings button or save settings button in the backend. it is nowehere. i will open a new topic. in the correct area.

    developer-9661
    Participant

    Hi,

    I have the same issue with checkbox, I’ve added this code with plugin code-snippets:

    function add_allow_invoice( $settings_fields_general, $vendor_id ) {
    	if( isset( $settings_fields_general['store_name'] ) ) {
    		$allow_invoice = get_user_meta( $vendor_id, 'allow_invoice', true );
    		$settings_fields_general['allow_invoice'] = array(
    			'label' => __( 'Rechnung erlauben', 'ddwoo' ),
    			'type' => 'checkbox',
    			'priority' => 50,
    			'class' => 'wcfm-checkbox wcfm_ele',
    			'label_class' => 'wcfm_title wcfm_ele',
    			'value' => 'yes',
    			'dfvalue' => $allow_invoice
    		);
    	}
    	return $settings_fields_general;
    }
    add_filter('wcfm_marketplace_settings_fields_general', 'add_allow_invoice', 20, 2 );
    
    function save_custom_vendor_settings($vendor_id, $wcfm_settings_form) {
    	global $WCFM, $WCFMmp;
    	if( isset( $wcfm_settings_form['allow_invoice'] ) ) {
    		update_user_meta( $vendor_id, 'allow_invoice',  'yes' );
    	} else {
    		update_user_meta( $vendor_id, 'allow_invoice',  'no' );
    	}
    }
    add_action('wcfm_vendor_settings_update',  'save_custom_vendor_settings', 16, 2);

    But just like Jannis said, even if I unchecked the checkbox, the value of isset( $wcfm_settings_form[‘allow_invoice’] always return ‘yes’.
    And when I changed it to type = ‘text’, everything works fine. Please help.

    domains
    Participant

    Hi WC Lover Team!

    I’ve a question about interaction between PayPal Payments and Order Status Change.

    Using your precious suggestions, I configured my Multivendor marketplace for use a Single Vendor Checkout.
    This way each Vendor can receive direct payments from Customers (using your Direct PayPal Plugin).

    Everithing works really fine:
    – a customer pay for products from a single Store using Paypal
    – payments are directly received to the Vendor

    But order is not updateted automatically. Order status is still “Processing”

    Looking at Woocommerce Logs (Woocommerce -> status -> Logs) I can see a really good flow except for the last line:

    2020-04-23T15:25:39+00:00 INFO Checking IPN response is valid
    2020-04-23T15:25:42+00:00 INFO Received valid response from PayPal IPN
    2020-04-23T15:25:42+00:00 INFO Marketplace Direct PayPal IPN Check
    2020-04-23T15:25:42+00:00 INFO Found order #4874
    2020-04-23T15:25:42+00:00 INFO Payment status: completed
    2020-04-23T15:26:23+00:00 INFO Checking IPN response is valid
    2020-04-23T15:26:26+00:00 INFO Received valid response from PayPal IPN
    2020-04-23T15:26:26+00:00 INFO Marketplace Direct PayPal IPN Check
    2020-04-23T15:26:26+00:00 INFO Found order #4874
    2020-04-23T15:26:26+00:00 INFO Payment status: completed
    2020-04-23T15:26:26+00:00 INFO Aborting, Order #4874 is already complete.

    I can’t understand why it sais this because order is still on “Processing”

    If this can help you giving a response:
    – I checked “Order Sync” in “WCFM Settings -> Marketplace”
    – I checked “Request Auto Approve” in “WCFM Settings -> Withdrawal”
    – “Withdrawal Mode” drop down is set to “By order status”
    – “Order status” dropdown is set to “Processing”

    Thank you in advice for the reply and for you hard and good work on this software (i’m a software developer too, so I can understand)

    Hi,

    It’s need some custom development. You have to create a Country-Custom taxonomy mapping array, or settings panel where you can map. Example –

    /*****To save custom taxonomy in vendor meta***************/
    add_action('wcfm_membership_registration','save_custom_location_wcfm_membership_registration',10,2);
    function save_custom_location_wcfm_membership_registration($member_id, $wcfm_membership_registration_form_data) {
      print_r($wcfm_membership_registration_form_data);
      $country_taxonomy_mapping_arr = array("AX" => "location1","AF" => "location2");
      foreach ($country_taxonomy_mapping_arr as $country_taxonomy_mapping_key => $country_taxonomy_mapping_val) {
      	if($wcfm_membership_registration_form_data['wcfmvm_static_infos']['address']['country'] == $country_taxonomy_mapping_key) {
      		//save your Custom Taxonomy 
      		update_user_meta($member_id,'vendor_custom_taxonomy',$country_taxonomy_mapping_val);
      	}
      }  
    }
    /*******************save vendor custom taxonomy to product category********************************/
    add_action( 'after_wcfm_products_manage_meta_save', 'fn_custom_product_tag_save',10,2 );
    function fn_custom_product_tag_save($new_product_id, $wcfm_products_manage_form_data) {
    	$member_id = get_current_user_id();
    	$tag_name = get_user_meta($member_id,'vendor_custom_taxonomy',$country_taxonomy_mapping_val);
    	wp_set_object_terms( $new_product_id, $tag_name, 'product_cat', true );	
    }

    Hope it will help you.

    Thanks.

    #122262
    This reply has been marked as private.
    Henriette
    Participant

    Hi,

    I can’t thank you enough for the new option vendor has now to enable Local Pickup options.
    I tried it immediately after update and it works like a charm!

    My only problem is that I can’t find where to translate it in my language.
    I can not find it in the Language files.
    Would you please be so kind to point me in the right direction?

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #122067
    Sushobhan
    Keymaster

    Let me know if there’s anything else we can help you with!

    Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

    #122062
    Wesley Cox
    Participant

    Well I saved another setting and it updated it properly. Any idea about why the CSS style settings are jumpy?

    Sheila
    Participant

    Hi, I hope you’re safe and sound. Since the last update, in my administrator panel menu “settings” no link in this sub-menu works. The others work fine.

    A few days ago you helped me with a similar problem where no link worked and it was because of the configuration of the wpml plugin, this time it’s only the sub-menu “settings” that doesn’t work, it will be for the same reason?

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #122013
    alexdezi
    Participant

    Update the plugin, it should now be by default that the requests are not made…

    #121954

    Hello,

    Remove the custom field(VAT Number) which you have created from WCFM-settings.
    Try this code in your theme’s functions.php

    add_filter('wcfm_membership_registration_fields_address', 'wcfmu_settings_fields_vendor_store_invoice2204', 50);
    function wcfmu_settings_fields_vendor_store_invoice2204($general_fields) { 
        
      if(WC()->session->get('wcfm_membership') != 153)  {
        $general_fields['wcfm_vendor_invoice_storevat']= array('label' => __('Vat Number', 'wc-frontend-manager') , 'type' => 'text', 'class' => 'wcfm-text wcfm_ele', 'label_class' => 'wcfm_title wcfm_ele','custom_attributes' => array( 'required' => 1 ), 'value' => '' );
      }
      return $general_fields;
    }
    add_action('wcfm_membership_registration','save_custom_vat_wcfm_membership_registration',10,2);
    add_action('wcfm_profile_update','save_custom_vat_wcfm_membership_registration',10,2);
    function save_custom_vat_wcfm_membership_registration($member_id, $wcfm_membership_registration_form_data) {
      //print_r($wcfm_membership_registration_form_data);
      if( isset($wcfm_membership_registration_form_data['wcfm_vendor_invoice_storevat']) ) {
       
        update_user_meta($member_id,'wcfm_vendor_invoice_storevat',$wcfm_membership_registration_form_data['wcfm_vendor_invoice_storevat']);
      } 
    }
    
    add_filter('wcfm_profile_fields_general','custom_field_wcfm_profile_fields_general',10,2);
    function custom_field_wcfm_profile_fields_general($general_fields,$member_id){
      $wcfm_vendor_invoice_storevat = !empty( get_user_meta($member_id,'wcfm_vendor_invoice_storevat',true) ) ? get_user_meta($member_id,'wcfm_vendor_invoice_storevat',true) : '';
      $current_plan = wcfm_get_membership();  
      if(isset($current_plan) && ($current_plan != 153) ) {
        $general_fields['wcfm_vendor_invoice_storevat']= array('label' => __('Vat Number', 'wc-frontend-manager') , 'type' => 'text', 'class' => 'wcfm-text wcfm_ele', 'label_class' => 'wcfm_title wcfm_ele','custom_attributes' => array( 'required' => 1 ), 'value' => $wcfm_vendor_invoice_storevat );
      }
      return $general_fields;
    }

    Thanks.

    #121935
    SebastianFloKa
    Participant

    I tried a detour: Deactivate notification emails at WooCommerce / Settings / email – this means significantly less emails but no possibility to “leave a note to the customer”. OK for the moment.

    BUT if vendor adds the tracking code even by “update all items tracking info:”, still one email per item is sent (many many emails in total). And in case vendor would like to enter the tracking number only for a specific item, also not possible because only first item is visible (see attached picture).

    Anybody out there running WCFM without bombing customers with emails and can help?

    Attachments:
    You must be logged in to view attached files.
    #121901
    Sushobhan
    Keymaster

    Hi,
    Thanks for reporting this. We will fix that in our next update.

    Stream
    Participant

    Hi again,
    Our Marketplace is located in Europe. Today Stripe ask me to update our integration for SCA.
    In WCFM settings you say “3D Secure and SCA ready transaction is only supported when both your platform and the connected account (Vendor) are in the same region: both in Europe or both in the U.S.”. It is a problem because we sell products all over the world and our vendors are located in different regions. And if we check this option the stripe split payment options are disabled.
    So, it is possible for us to still use stripe connect with direct charge in our case please?

    #121880

    Hello,

    You can use this action,

    add_action( 'after_wcfm_products_manage_meta_save', 'fn_custom_product_data_save',10,2 );
    function fn_custom_product_data_save($new_product_id, $wcfm_products_manage_form_data) {
    	/* you can find your custom field value $wcfm_products_manage_form_data*/
          update_post_meta( $new_product_id, '_the_field_to_update', $wcfm_products_manage_form_data['product_custom_field'] );
    
      }
    }

    Thanks.

    #121863
    garliclover23
    Participant

    I’m trying to programatically update custom fields when products are modified.

    I’m using ACF but I don’t need to.

    I want to be sure to update them every time a product is modified – import, bulk, vendor, frontend, wp dashboard, etc.

    I’ve got it to work on the WP dashboard but not wcfm.

    Is there a hook I should use?

    Very grateful for all assistance.

    I’ve got:

    add_action('save_post', 'my_acf_save_post',100,1);
    function my_acf_save_post( $post_id ) {
    	update_field('_the_field_to_update', 'the text to put in');
    
    
    #121836
    Sushobhan
    Keymaster

    Hi,

    You are always welcome ๐Ÿ™‚

    Let me know if there’s anything else we can help you with.

    Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

    #121833
    Sushobhan
    Keymaster

    You are always welcome ๐Ÿ™‚

    Let me know if there’s anything else we can help you with.

    Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

    #121791
    SebastianFloKa
    Participant

    Hi,

    same here. I thought this issue was solved some time ago, see here:
    https://wclovers.com/forums/topic/several-order-completed-mail-per-order/

    I have following code in my functions.php:
    add_filter( 'wcfm_is_allow_itemize_notification', '__return_false' );

    But from EACH vendor updating his status it sends
    – ONE notification email for the whole order with a not correct translated text “#1962 order status updated to In Bearbeitung” (I could translate directly in the php-tempale myself –> no issue) –> this email is activated by above code snippet and not sent if above code snippet is deactivated –> fine.
    – ONE notification email for EACH item –> these should not be sent anymore but they are sent. –> ISSUE!

    So 10 products from 3 vendors end up in 13 notification emails for EACH order update.

    Actual completed-email in WooCommerce / Settings / E-Mail already deactivated otherwise there would be 14 emails. Did you do any modification in context with the provided code snippet?

    Order Sync is deactivated.

    I run current versions of WCFM Marcetplace, Ultimate, Membership, Groups & Staff,

    I already tested deactivating different plugins such as Germanized but this doesn’t influence the issue.

    #121728
    Sushobhan
    Keymaster

    Hello Marcus,
    That post is quite old. Some time ago, Instagram updates their API which broke our earlier solution. Currently this feature is disabled.
    Thank You!

    craigpinto97
    Participant

    Hey! I get a message telling me that the product has been updated successfully but in reality it hasn’t. I however managed to fix this issue with a sort of work-around. For a variable product, I need to move each of the variations out of stock, only then would the item as a whole be marked as out of stock.

    #121680
    Sushobhan
    Keymaster

    You are always welcome ๐Ÿ™‚

    Let me know if there’s anything else we can help you with.
    Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

    Sushobhan
    Keymaster

    You are always welcome ๐Ÿ™‚

    Let me know if there’s anything else we can help you with.
    Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

    #121666

    Hello,

    Add this code in your theme’s functions.php

    add_filter('wcfmu_settings_fields_vendor_store_invoice', 'wcfmu_settings_fields_vendor_store_invoice2204', 50, 2 );
    function wcfmu_settings_fields_vendor_store_invoice2204($general_fields,$vendor_id) {
    	$wcfm_vendor_invoice_data = (array) wcfm_get_user_meta( $vendor_id, 'wcfm_vendor_invoice_options', true );
    	$wcfm_vendor_invoice_storevat = isset( $wcfm_vendor_invoice_data['wcfm_vendor_invoice_storevat'] ) ? $wcfm_vendor_invoice_data['wcfm_vendor_invoice_storevat'] : '';
    	$current_plan = wcfm_get_membership();	
    	if(isset($current_plan) &&  ($current_plan != 153) ) { //replace 153 with "โ€œparticular ones" membership plan id
    		$general_fields['wcfm_vendor_invoice_storevat']= array('label' => __('Vat Number', 'wc-frontend-manager') , 'type' => 'text', 'class' => 'wcfm-text wcfm_ele', 'label_class' => 'wcfm_title wcfm_ele','custom_attributes' => array( 'required' => 1 ), 'value' => $wcfm_vendor_invoice_storevat );
    	}
    	return $general_fields;
    }
    add_action( 'wcfm_wcfmmp_settings_update','fn_wcfm_vendor_settings_storetype_update2204', 50, 2);
    add_action( 'wcfm_vendor_settings_update','fn_wcfm_vendor_settings_storetype_update2204', 50, 2);
    function fn_wcfm_vendor_settings_storetype_update2204($user_id, $wcfm_settings_form ){	
    	$wcfm_settings_form_data_new = array();
    	$wcfm_vendor_invoice_data = (array) wcfm_get_user_meta( $user_id, 'wcfm_vendor_invoice_options', true );
    	parse_str($_POST['wcfm_settings_form'], $wcfm_settings_form_data_new);	
    	
    	if( isset( $wcfm_settings_form_data_new['wcfm_vendor_invoice_storevat'] ) ) {
    		$wcfm_vendor_invoice_data['wcfm_vendor_invoice_storevat'] = $wcfm_settings_form_data_new['wcfm_vendor_invoice_storevat'];
    		wcfm_update_user_meta( $user_id, 'wcfm_vendor_invoice_options',  $wcfm_vendor_invoice_data );
    	}
    
    }

    Thanks

    #121642
    Sushobhan
    Keymaster

    Hello,
    Thanks for getting in touch with us.
    Please use the following snippet for your requirement-

    add_action( 'after_wcfm_messages', function() {
        ?>
        <script>
            jQuery( document ).ready( function ( $ ) {
                $( document.body ).on( 'updated_wcfm-messages', function () {
                  $( '#wcfm_messages_listing_expander' ).find( '#wcfm-messages_wrapper a.wcfm_dashboard_item_title' ).removeAttr( 'target' );
                } );
            } );
        </script>    
        <?php
    } );

    Add this code to your child theme’s functions.php
    In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
    Let me know how it goes.
    Thanks!

Viewing 25 results - 376 through 400 (of 4,410 total)