wcfm-santa

We've turned 4! Celebrate with us and take away upto 30% off on WCFM Addons.

Claim Offer
03Day 19Hr 00Min 19Sec
wcfm-santa

Two problems!

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!

Viewing 14 reply threads
  • Author
    Posts
    • #47080
      vraugul1
      Participant

      Hello, I bought a license “Ultimate” and “Group & Staff”
      I have two problems.
      Tell me how to solve them.
      1. When registering a Vendor Store, in the line “Store Name” when I write the name in Russian letters, it gives this…”%d1%80%d1%83%d1%81%d1%81″
      The screenshot shows.
      And when I click “VISIT” in [wcfm_store], the store page doesn’t open.
      How to fix?
      2. How to remove “header” and “page-footer” on a particular store page?

      Thank you!

      Attachments:
      You must be logged in to view attached files.
    • #47152
      vraugul1
      Participant

      During registration, no “user_nicename” is created in the database, and the store page is not created on the vendor.
      If you write manually for example “5”, then the link will appear “https://naenote.ru/vendor-stores/5/”
      How to fix it?

      Thank!

      Attachments:
      You must be logged in to view attached files.
    • #47167
      WCFM Forum
      Keymaster

      Hi,

      All problems comes due to “Non English” store name.

      Thank You

    • #47168
      vraugul1
      Participant

      How to fix this?
      The site is in Russia, and the names of the shops are Russian.
      Please help me.

      Thanks for the quick response!

    • #47185
      WCFM Forum
      Keymaster

      Hi,

      Understand, only solution will be – Store name can be in Russian, but not store slugs.

      Please add this code to your child theme’s functions.php –

      add_filter( 'wcfm_generated_store_slug', function( $store_slug ) {
      	global $WCFM, $WCFMvm, $wpdb, $wcfm_membership_registration_form_data;
      		
      	if( isset( $_POST['wcfm_membership_registration_form'] ) ) {
      		$wcfm_membership_registration_form_data = array();
      		parse_str($_POST['wcfm_membership_registration_form'], $wcfm_membership_registration_form_data);
      			
      		$wcfmvm_registration_static_fields = get_option( 'wcfmvm_registration_static_fields', array() );
      		$is_user_name = isset( $wcfmvm_registration_static_fields['user_name'] ) ? 'yes' : '';
      		if( !$is_user_name ) {
      			$user_email = sanitize_email( $wcfm_membership_registration_form_data['user_email'] );
      			
      			$username   = sanitize_user( current( explode( '@', $user_email ) ), true );
      			
      			$append     = 1;
      			$o_username = $username;
      	
      			while ( username_exists( $username ) ) {
      				$username = $o_username . $append;
      				$append++;
      			}
      			$wcfm_membership_registration_form_data['user_name'] = $username;
      		}
      		
      		$store_slug = $wcfm_membership_registration_form_data['user_name'];
      	}
      	
      	return $store_slug;
      });
      add_filter( 'wcfm_is_allow_store_slug', '__return_false' );

      Thank You

    • #47186
      vraugul1
      Participant

      This code helped, Super!
      You are the best!

      Thank you for your plugin and technical support!

    • #47187
      vraugul1
      Participant

      How to remove “header” and “page-footer” on a particular store page?

      Attachments:
      You must be logged in to view attached files.
    • #47193
      WCFM Forum
      Keymaster

      Hi,

      You are welcome 🙂

      How to remove “header” and “page-footer” on a particular store page?
      – Well, CSS will be best for this purpose.

      Thank You

    • #47198
      vraugul1
      Participant

      Where can I find the css of this page?
      What is the principle (template) to create a store page?
      Why in” header ” written blog?

      Thank you!

    • #47199
      vraugul1
      Participant
      This reply has been marked as private.
    • #47211
      WCFM Forum
      Keymaster

      Hi,

      Please add this CSS to your site –

      .wcfmmp-store-page .page-title, .wcfmmp-store-page .woodmart-prefooter { display: none !important; }

      Thank You

    • #47212
      vraugul1
      Participant

      You really are the coolest!
      Thank you for the best technical support!

    • #47213
      vraugul1
      Participant

      Can you tell?
      Can me in another subject write?

      https://wclovers.com/forums/topic/filter-by-groups/

    • #47214
      WCFM Forum
      Keymaster

      We are checking that.

      Thank You

    • #47219
      vraugul1
      Participant

      Good
      Thank you!

Viewing 14 reply threads
  • The topic ‘Two problems!’ is closed to new replies.