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
- This topic has 7 replies, 2 voices, and was last updated 4 years, 6 months ago by eritechdeveloper.
- AuthorPosts
- May 6, 2020 at 5:06 am #127201eritechdeveloperParticipant
I would like to remove the sort dropdown list option and borders and move the insert your address field to the far left.
- May 6, 2020 at 2:44 pm #127367Sarmistha ChakrabortyMember
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.
- May 6, 2020 at 4:22 pm #127430eritechdeveloperParticipant
- May 6, 2020 at 4:46 pm #127437eritechdeveloperParticipantThis reply has been marked as private.
- May 6, 2020 at 7:23 pm #127529Sarmistha ChakrabortyMember
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.
- May 6, 2020 at 8:23 pm #127564eritechdeveloperParticipant
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.
- May 6, 2020 at 9:40 pm #127605Sarmistha ChakrabortyMember
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 featurehow 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!
- May 7, 2020 at 3:37 pm #127960eritechdeveloperParticipant
You guys have been so helpful. It works, I will check out the stores page when creating it.
- AuthorPosts
- You must be logged in to reply to this topic.