Stores list shortcode does not work

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 16 reply threads
  • Author
    Posts
    • #40032
      mapmusic
      Participant

      Hello,

      Today I update WP, WooCommerce and all WCfM plugins.
      Aftre this update [wcfm_stores] shortcode does not work.
      There is 0 vendors found message as result. (screenshot attached)

      Any ideas ?

      Thanks

      Martin

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

      Hi,

      We have enabled GEO Locate for store list page in latest update.

      So, for now it will show default stores only with matching user’s location.

      Just check at “Location Filter”, it by default set your location.
      And I guess there in no stores for your location so list is empty.

      Now, just reset that filter and you will see all stores as before.

      Well, you may off course disable this feature by adding this line of code to child theme’s functions.php ->
      add_filter( 'wcfmmp_is_allow_store_list_by_user_location', '__return_false' );

      Thank You

    • #40129
      mapmusic
      Participant
      This reply has been marked as private.
    • #40133
      WCFM Forum
      Keymaster

      Hi,

      Just relax and don’t add any code.

      We will add a setting option for this in next update.

      Thank You

    • #40201
      mapmusic
      Participant

      Hi,

      I apply code and now I have store list.
      Additional questions:

      – There is new Inquiry buton on stores list … how to remove it without CSS tweak ?
      – Sort by rating doesn’t show vendors without rating
      – There is new “store list sidebar” how to remove it without CSS tweaking ?

      You are constantly adding popup lists with filters, which I am constantly removing these with CSS.
      Should be fine to have these options with shortcode switches.

      Thanks

    • #40221
      WCFM Forum
      Keymaster

      Hi,

      I apply code and now I have store list.
      – Great, so now you can add codes and I can give you few more coming queries 🙂

      Additional questions:

      – There is new Inquiry buton on stores list … how to remove it without CSS tweak ?
      ** No CSS required, add this PHP code ->

      add_filter( 'wcfm_is_allow_store_list_enquiry', '__return_false' );

      – Sort by rating doesn’t show vendors without rating
      ** Right

      – There is new “store list sidebar” how to remove it without CSS tweaking ?
      ** Again CSS not required, just add this PHP code ->

      add_filter( 'wcfmmp_is_store_lists_sidebar', '__return_false' );

      You are constantly adding popup lists with filters, which I am constantly removing these with CSS.
      – Which ones? Short code has this attributes. Which you want to remove?

      Thank You

    • #40236
      mapmusic
      Participant

      Hi,

      I found another issue….

      When stores list is active, there is removed WP Primary Sidebar for widgets.
      How to get it back ?

      Thanks

    • #40240
      WCFM Forum
      Keymaster

      Hi,

      WCFM Store list has a separate sidebar, only for this page. -> https://ibb.co/B2KxZg2

      Please use this for any purpose.

      Thank You

    • #40250
      mapmusic
      Participant

      There is no widget displayed also in store sidebar.

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

      Hi,

      Opps!

      You asked me this previously and I guided you to disable Store List sidebar ->

      – There is new “store list sidebar” how to remove it without CSS tweaking ?
      ** Again CSS not required, just add this PHP code ->
      
      add_filter( 'wcfmmp_is_store_lists_sidebar', '__return_false' );

      Now, you have to remove this code to get your store list sidebar back as before!

      Thank You

    • #40263
      mapmusic
      Participant

      Hi,

      I allready enable store list sidebar.
      Screenshot I sent is with store list sidebar enabled.
      You can see in picture there are 3 widgets in Store list sidebar, but no one is shpwn.

      Thanks

    • #40270
      WCFM Forum
      Keymaster

      Hi,

      Do you have removed this code -> add_filter( ‘wcfmmp_is_store_lists_sidebar’, ‘__return_false’ );

      Well, “Store List: Category Filter” only works for store page sidebar.

      What are other two widgets you have added?

      Thank You

    • #40293
      mapmusic
      Participant

      Hi,

      In screenshot you cans see Basket and Product Categories.

      Could you confirm you disbale WP sidebar when Store list shortcode is used ?

      Thanks

    • #40299
      mapmusic
      Participant

      I found something wrong with CSS editing.
      When I deactivate CSS tweaks there is STore List sidebar visible. (I will try to find cause)
      But WP sidebar still does not work.

      Thanks

    • #40303
      mapmusic
      Participant

      finally found hidden element….now store sidebar works…

      Attachments:
      You must be logged in to view attached files.
    • #40307
      mapmusic
      Participant

      Also another issue regarding this post.

      You sent me “add_filter” PHP commands to exclude some elements.
      Bad thing about editind PHP on theme is that after theme update all edits are gone and I need edit functions.php from scratch…

      I will welcome shortcode switches to do this in future …

      Thanks

    • #40363
      WCFM Forum
      Keymaster

      Hi,

      Don’t you have any child theme?

      If YES, then add PHP codes under child theme’s functions.php
      As it’s not right to edit parent theme.

      If NO, then use this plugin for adding custom codes -> https://wordpress.org/plugins/code-snippets/

      Thank You

Viewing 16 reply threads
  • The topic ‘Stores list shortcode does not work’ is closed to new replies.