Forum Replies Created
- AuthorPosts
- Ramamurthy KrishnanKeymaster
Hi,
Please go by the following steps:
1) First create a js file named “custom-script.js” and put it inside the “js” folder (if you don’t have a “js” folder then create it) of your child theme.
2) Add the below code to your newly created “custom-script.js” file.jQuery( document ).ready( function( $ ) { $( ".wcfm_add_attribute" ).click(function() { $(".wcfm_input_attributes .variable-subscription").last().prop("checked", false); }); });
3) Add the below code to your child theme’s functions.php file.
add_action( 'wp_enqueue_scripts', 'custo_scripts_enqueue_styles', 99999 ); function custo_scripts_enqueue_styles() { wp_enqueue_script( 'custom-script', get_stylesheet_directory_uri() . '/js/custom-script.js', array( 'jquery' ), '1.0', true ); }
Thanks,
Ramamurthy KrishnanKeymasterHi,
Can you please share us your website admin login details?
Please send it as private reply here.Thanks,
Ramamurthy KrishnanKeymasterYes we’re looking into it, will let you know asap.
Ramamurthy KrishnanKeymasterHi,
Can you please tell us which theme are you using?
Thanks,
Ramamurthy KrishnanKeymasterHi @carlosespanad,
The first question is answered above.
Regarding the second question can you please check in your browser console that whether there is any javascript error or not?Thanks,
Ramamurthy KrishnanKeymasterHi,
Please go by the following steps:
1) First create a js file named “custom-script.js” and put it inside the “js” folder (if you don’t have a “js” folder then create it) of your child theme.
2) Add the below code to your newly created “custom-script.js” file.jQuery( document ).ready( function( $ ) { setTimeout(function(){ $(".wcfmmp-author-meta").each(function() { var content = $(this).html(); $(this).html(content.substr(0,content.indexOf('<br>'))); }); }, 900); });
3) Add the below code to your child theme’s functions.php file.
add_action( 'wp_enqueue_scripts', 'custo_scripts_enqueue_styles', 99999 ); function custo_scripts_enqueue_styles() { wp_enqueue_script( 'custom-script', get_stylesheet_directory_uri() . '/js/custom-script.js', array( 'jquery' ), '1.0', true ); }
It will remove the customer email from review list.
Thanks,
Ramamurthy KrishnanKeymasterHi,
Replace the previous code with the below given code.
add_shortcode( 'wcfm_vendor_orders', 'get_wcfm_vendor_orders' ); function get_wcfm_vendor_orders() { ob_start(); global $wpdb; $store_id = 0; if ( wcfm_is_store_page() ) { $wcfm_store_url = get_option( 'wcfm_store_url', 'store' ); $store_name = get_query_var( $wcfm_store_url ); if ( !empty( $store_name ) ) { $store = get_user_by( 'slug', $store_name ); } $store_id = $store->ID; } elseif( is_product() ) { $store_id = get_post_field( 'post_author', get_the_ID() ); } $sql = 'SELECT * FROM ' . 'wp_wcfm_marketplace_orders WHERE vendor_id=' . $store_id; $order_data = $wpdb->get_results( $sql ); echo '<p><strong>Total Sales/Orders: ' . count( $order_data ) . '</strong></p>'; return ob_get_clean(); }
And use the following shortcode in “Vendor Store Sidebar” widget: [wcfm_vendor_orders]
It will display the total number of sales/orders for each vendors.
Thanks,
Ramamurthy KrishnanKeymasterYou’re most welcome. Glad to hear it worked for your.
Ramamurthy KrishnanKeymasterHi,
Are you talking about the SEO tab that appears while store setup?
If yes then add the below code to your child theme’s functions.php file or if you don’t have child theme then use Code Snippet plugin (https://wordpress.org/plugins/code-snippets/) to add the below code.function remove_seo_tab($steps) { unset($steps['seo']); return $steps; } add_filter('wcfmmp_store_setup_steps', 'remove_seo_tab');
Thanks,
April 16, 2020 at 12:19 am in reply to: The Arabic front page manager is not loading information #119529Ramamurthy KrishnanKeymasterHi,
Please check your browser console whether there is any javascript error or not. Also go to wp-admin->WooCommerce->Status->Logs and check whether there is any fatal error or not.
Thanks,
Ramamurthy KrishnanKeymasterHi,
This seems to be a css issue. Can you please share us your website login details as private reply here? We’ll fix it.
Thanks,
Ramamurthy KrishnanKeymasterHi,
Add the below code to your child theme’s functions.php file.
add_shortcode( 'wcfm_vendor_orders', 'get_wcfm_vendor_orders' ); function get_wcfm_vendor_orders( $atts, $vendor_id ) { ob_start(); global $wpdb; $att = shortcode_atts( array( 'vendor_id' => '' ), $atts ); $sql = 'SELECT * FROM ' . 'wp_wcfm_marketplace_orders'; if ( $att['vendor_id'] ) { $sql .= ' WHERE vendor_id=' . $att['vendor_id']; } $order_data = $wpdb->get_results( $sql ); echo '<p><strong>Total Sales/Orders: ' . count( $order_data ) . '</strong></p>'; return ob_get_clean(); }
Then use the following shortcode in text widget : “[wcfm_vendor_orders vendor_id=”2″]”
Just pass the correct vendor id in “vendor_id” attribute and it will display the number of orders placed against that particular vendor.Thanks,
Ramamurthy KrishnanKeymasterHi,
You can enable the “Enable toggle to show child categories” under “Vendor Store: category” widget. Please see the attached screenshot of the section.
PFA….Thanks,
Attachments:
You must be logged in to view attached files.Ramamurthy KrishnanKeymasterHi,
Didn’t get you. Can you please explain a bit more and share screenshots of the section with issues?
Thanks
April 14, 2020 at 11:30 pm in reply to: Stores List hides background Image of section with Flatsome Theme #119147Ramamurthy KrishnanKeymasterHi,
A class named “bg-loaded” was getting removed from the banner section due to which the banner was not loading.
I’ve added “home-hd-banner” custom class to the banner section after that added the below code under wp-admin->Flatsome->Advanced->Global Settings->FOOTER SCRIPTS.<script> jQuery(document).ready( function($) { $('.home-hd-banner .bg').addClass('bg-loaded'); }); </script>
It’s working fine now.
And regard the map on store page hiding the header I’ve added the below css code under wp-admin->Flatsome->Advanced->Custom CSS->ALL SCREENS.
.header { z-index: 9999 !important; }
Thanks,
Ramamurthy KrishnanKeymasterHi,
Sorry we don’t have this feature right now but thanks for the suggestion maybe we will implement it in our future updates.
Thanks,
Ramamurthy KrishnanKeymasterHi,
“Use as variation” option checked by default and it should not behave like you said. Still can you please share us your website login details as private reply here. We need to check the issue.
Thanks,
April 14, 2020 at 1:37 pm in reply to: Stores List hides background Image of section with Flatsome Theme #118985Ramamurthy KrishnanKeymasterHi,
Please share your website login details with us as private reply here.
We need to check.Thanks,
Ramamurthy KrishnanKeymasterHi,
We don’t have such features to import products from amazon, ebay, alibaba, aliexpress, etc.
You’ve to follow these file formats to import: https://github.com/woocommerce/woocommerce/tree/master/sample-data
You can avail the product import feature if you use “WCFM – WooCommerce Frontend Manager – Ultimate” addon plugin.
WCFM – WooCommerce Frontend Manager – Ultimate Plugin Link: https://wclovers.com/product/woocommerce-frontend-manager-ultimate/Thanks,
Ramamurthy KrishnanKeymasterWelcome 🙂
Ramamurthy KrishnanKeymasterHi,
Add the below css code to your child theme’s style.css file to adjust your store list page map width & height.
#wcfmmp-store-list-map { width: 100% !important; height: 400px !important; }
And regarding map zoom please use “map_zoom” attribute in “wcfm_stores” shortcode. Example: [wcfm_stores map_zoom=”5″]
Thanks,
April 12, 2020 at 3:27 pm in reply to: Linked products option to be controlled by from capability #118406Ramamurthy KrishnanKeymasterHi,
Please go to store-manager->Capability->Store Vendors Capability and you will find there “Linked” option to enable/disable ( ON/OFF ) under “Panels” section. This will remove the liked panel with upsell & cross sell option from “Add Product” section.
Thanks,
Ramamurthy KrishnanKeymasterHi,
Please go to wp-admin->settings->permalinks and select “post name” then save.
Thanks,
Ramamurthy KrishnanKeymasterHi,
When vendors login they are redirected to the store manager page, it’s default.
Are you using any cache or optimize plugin? If yes then please deactivate them and check once.
If the issue still persists then please share us your website login credentials as private reply here. We’ll get back to you.Thanks,
Ramamurthy KrishnanKeymasterHi,
Please follow the below link for making changes in vendor listing page.
https://docs.wclovers.com/store-list/Thanks,
- AuthorPosts