Update shortcode [wcfm_stores per_row="4" per_page="8" map="" search="" category

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!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Marketplace (WooCommerce Multivendor Marketplace) Update shortcode [wcfm_stores per_row="4" per_page="8" map="" search="" category

Viewing 7 reply threads
  • Author
    Posts
    • #127201
      Avatareritechdeveloper
      Participant

      I would like to remove the sort dropdown list option and borders and move the insert your address field to the far left.

    • #127367

      Hello,

      To remove “Sorting option” from store list page, you have to add below code in your theme’s functions.php
      add_filter( 'wcfm_is_allow_store_list_orderby', '__return_false' );

      Regarding border remove and move the insert your address field, it will be very helpful if you share the page url and explain with screenshot.

      Thanks.

    • #127430
      Avatareritechdeveloper
      Participant

      Thanks for your response, I added the code to functions PHP, but it did not work. See outcome in picture below, as well as you will see how there is a border that section and the address input is in the middle, it would be nice to have it to the far left.

      Capture1

    • #127437
      Avatareritechdeveloper
      Participant
      This reply has been marked as private.
    • #127529

      Hello,

      Try this css in your theme’s style.css

      #wcfmmp-stores-lists .wcfmmp-store-lists-sorting {
          display: none;
      }
      .wcfmmp-store-search-form {
          text-align: left;
          padding-left: 25px;
      }
      #wcfmmp-stores-lists {
          box-shadow: none;
      }
      

      Thanks.

    • #127564
      Avatareritechdeveloper
      Participant

      Thank you that worked like a dream.

      but when I type an address in the geolocation field I am getting this back

      Not Acceptable!
      An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

      Can I add a dropdown list for categories filter and membership filter?

      Plus how can I reduce the gap between the geolocation search field and the list.

      Thank you.

    • #127605

      Hello,

      Not Acceptable!
      An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

      >>The issue which is occurring in your site it should not happen. It seems like this is happening due to some plugin conflict or theme. Kindly check after activate WordPress default theme and disable all other plugins except WooCommerce and WCFM plugins. After that you can enable rest of the plugins one by one to find out the cause.
      Also you can try this js, in your theme’s js file –

      jQuery(document).ready(function ($) {
      
        jQuery('.wcfmmp-store-search-form').on('submit', function(e) {
            e.preventDefault();
            refreshStoreList();
          } );
         
      });

      Can I add a dropdown list for categories filter and membership filter?
      >>by “Category” filter do you mean product category filter? By-default “product category” filter display in store list page -https://docs.wclovers.com/store-list/
      But regarding “membership filter” – as of now we haven’t this feature

      how can I reduce the gap between the geolocation search field and the list.
      >> Try this css –

      .wcfmmp-store-search-form {
         padding-bottom: 0;
          margin-bottom: 0;
      }
      div#wcfmmp-stores-wrap-holder {
          padding-top: 0 !important;
      }

      Thanks!

    • #127960
      Avatareritechdeveloper
      Participant

      You guys have been so helpful. It works, I will check out the stores page when creating it.

Viewing 7 reply threads
  • You must be logged in to reply to this topic.