Title: shayed's Replies | WordPress.org

---

# shayed

  [  ](https://wordpress.org/support/users/shayed/)

 *   [Profile](https://wordpress.org/support/users/shayed/)
 *   [Topics Started](https://wordpress.org/support/users/shayed/topics/)
 *   [Replies Created](https://wordpress.org/support/users/shayed/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/shayed/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/shayed/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/shayed/engagements/)
 *   [Favorites](https://wordpress.org/support/users/shayed/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 50 total)

1 [2](https://wordpress.org/support/users/shayed/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/shayed/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/shayed/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/shayed/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ShopLentor – All-in-One WooCommerce Growth & Store Enhancement Plugin] product archive layout default](https://wordpress.org/support/topic/product-archive-layout-default/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/product-archive-layout-default/#post-13159441)
 * i think you didnt get my point. it shows on column when edited in elementor but
   when i publish it shows blank.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Sort by categories](https://wordpress.org/support/topic/sort-by-categories/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/sort-by-categories/#post-13148228)
 * Is it possible to give me that custom code?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] mobile header menu not aligned](https://wordpress.org/support/topic/mobile-header-menu-not-aligned/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/mobile-header-menu-not-aligned/#post-13096338)
 * Thanks for your response. My address kroybook.com
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WCFM Marketplace - Multivendor Marketplace for WooCommerce] REDIRECTION](https://wordpress.org/support/topic/redirection-58/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/redirection-58/#post-13094555)
 * I am using oceanwp theme. I dont know whether it has or not but from woocommerce
   i have activated that option.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WCFM Marketplace - Multivendor Marketplace for WooCommerce] REDIRECTION](https://wordpress.org/support/topic/redirection-58/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/redirection-58/#post-13075683)
 * add_filter( ‘woocommerce_add_to_cart_redirect’, function( $url, $product ) {
   
   if( $product && is_object( $product ) && method_exists( $product, ‘get_id’ ) &&
   function_exists( ‘wcfm_get_vendor_id_by_post’ ) ) { $vendor_id = wcfm_get_vendor_id_by_post(
   $product->get_id() ); if( $vendor_id && function_exists( ‘wcfmmp_get_store_url’)){
   $url = wcfmmp_get_store_url( $vendor_id ); } } return $url; }, 500, 2 );
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] mu-plugins](https://wordpress.org/support/topic/mu-plugins-3/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/mu-plugins-3/#post-13018948)
 * One more
    The scheduled event, jetpack_scan_refresh_states_event, is late to 
   run. Your site still works, but this may indicate that scheduling posts or automated
   updates may not work as intended.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] mu-plugins](https://wordpress.org/support/topic/mu-plugins-3/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/mu-plugins-3/#post-13018075)
 * Kroybook.com
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] mu-plugins](https://wordpress.org/support/topic/mu-plugins-3/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/mu-plugins-3/#post-13017360)
 * N one more problem
 * It looks like your Jetpack connection is broken. Try disconnecting from WordPress.
   com then reconnecting.: 400
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WCFM Marketplace - Multivendor Marketplace for WooCommerce] cart](https://wordpress.org/support/topic/cart-17/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/cart-17/#post-13002059)
 * Thanks bro i also think of that. Bro just want to know when do your products 
   go on sales? like to buy few for my single site.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WCFM Marketplace - Multivendor Marketplace for WooCommerce] cart](https://wordpress.org/support/topic/cart-17/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/cart-17/#post-12991834)
 * Hi thank you. Sorry to say it only works from single product page. From search
   result page it just adds to cart. Any idea whats wrong? i used oceanwp theme.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WCFM Marketplace - Multivendor Marketplace for WooCommerce] cart](https://wordpress.org/support/topic/cart-17/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/cart-17/#post-12988962)
 * I mean when a customer adds a product from woocommerce it should redirect to 
   seller store page. Lets say customers search by biryani in woocommerce page n
   biryanies from different sellers come out n buyers click add to cart then briyani
   from x seller added to cart n seller redirect to x seller home page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WCFM Marketplace - Multivendor Marketplace for WooCommerce] Continue Shopping cart button link not direct to the source store URL](https://wordpress.org/support/topic/continue-shopping-cart-button-link-not-direct-to-the-source-store-url/)
 *  [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/continue-shopping-cart-button-link-not-direct-to-the-source-store-url/#post-12973298)
 * hi bro is it possible when a buyer add a product to his cart that click will 
   direct him to seller shop page aswell?
    note i am using a code where customer
   can buy from one seller at a time
 *     ```
       add_action( 'woocommerce_add_to_cart_validation', function( $is_allow, $product_id, $quantity ) {
       	$product = get_post( $product_id );
       	$product_author = $product->post_author;
   
       	//Iterating through each cart item
       	foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
       		$cart_product_id = $cart_item['product_id'];
       		$cart_product = get_post( $cart_product_id );
       		$cart_product_author = $cart_product->post_author;
       		if( $cart_product_author != $product_author ) {
       			$is_allow = false;
       			break;
       		}
       	}
   
       	if( !$is_allow ){
       		// We display an error message
       		wc_clear_notices();
       		wc_add_notice( __( " one seller at a time!", "wcfm-ecogear" ), 'error' );
       	}
   
       	return $is_allow;
       }, 50, 3 );
       ```
   
    -  This reply was modified 5 years, 12 months ago by [shayed](https://wordpress.org/support/users/shayed/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Heateor Login - Social Login Plugin] Facebook login error](https://wordpress.org/support/topic/facebook-login-error-12/)
 *  Thread Starter [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [6 years ago](https://wordpress.org/support/topic/facebook-login-error-12/#post-12942483)
 * getting this after login with Facebook
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] 404 pages found at Gtmetrix](https://wordpress.org/support/topic/404-pages-found-at-gtmetrix/)
 *  [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [6 years ago](https://wordpress.org/support/topic/404-pages-found-at-gtmetrix/#post-12930794)
 * i got same in for my website.
 * gtmetrix.com is showing following-
 * Avoid bad requests
    The following requests are returning 404/410 responses. Either
   fix the broken links, or remove the references to the non-existent resources.
 * [https://kroybook.com/wp-content/plugins/jetpack/https:/stats.wp.com/s-202023.js](https://kroybook.com/wp-content/plugins/jetpack/https:/stats.wp.com/s-202023.js)
 * any idea?
 * note- i have installed woocommerce apps in my mobile phone.
 * can i use your code to my functions.php in child themes?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WCFM Marketplace - Multivendor Marketplace for WooCommerce] Vendor order approval without changing order status](https://wordpress.org/support/topic/vendor-order-approval-without-changing-order-status/)
 *  [shayed](https://wordpress.org/support/users/shayed/)
 * (@shayed)
 * [6 years ago](https://wordpress.org/support/topic/vendor-order-approval-without-changing-order-status/#post-12916354)
 * Bro can you tell how did u solve it?

Viewing 15 replies - 1 through 15 (of 50 total)

1 [2](https://wordpress.org/support/users/shayed/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/shayed/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/shayed/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/shayed/replies/page/2/?output_format=md)