Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Stores list shortcode does not work
- This topic has 16 replies, 2 voices, and was last updated 5 years, 11 months ago by WCFM Forum.
- AuthorPosts
- December 14, 2018 at 3:36 pm #40032
- December 15, 2018 at 6:06 am #40073WCFM ForumMember
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
- December 15, 2018 at 1:25 pm #40129mapmusicParticipantThis reply has been marked as private.
- December 15, 2018 at 2:11 pm #40133WCFM ForumMember
Hi,
Just relax and don’t add any code.
We will add a setting option for this in next update.
Thank You
- December 16, 2018 at 9:37 am #40201mapmusicParticipant
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
- December 16, 2018 at 2:57 pm #40221WCFM ForumMember
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
- December 17, 2018 at 8:15 am #40236mapmusicParticipant
Hi,
I found another issue….
When stores list is active, there is removed WP Primary Sidebar for widgets.
How to get it back ?Thanks
- December 17, 2018 at 8:36 am #40240WCFM ForumMember
Hi,
WCFM Store list has a separate sidebar, only for this page. -> https://ibb.co/B2KxZg2
Please use this for any purpose.
Thank You
- December 17, 2018 at 10:03 am #40250
- December 17, 2018 at 3:15 pm #40260WCFM ForumMember
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
- December 17, 2018 at 3:29 pm #40263mapmusicParticipant
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
- December 17, 2018 at 4:03 pm #40270WCFM ForumMember
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
- December 18, 2018 at 8:54 am #40293mapmusicParticipant
Hi,
In screenshot you cans see Basket and Product Categories.
Could you confirm you disbale WP sidebar when Store list shortcode is used ?
Thanks
- December 18, 2018 at 1:53 pm #40299mapmusicParticipant
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
- December 18, 2018 at 2:51 pm #40303
- December 18, 2018 at 3:31 pm #40307mapmusicParticipant
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
- December 19, 2018 at 8:14 am #40363WCFM ForumMember
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
- AuthorPosts
- The topic ‘Stores list shortcode does not work’ is closed to new replies.