• Resolved cheonmu

    (@cheonmu)


    Hi,

    First as all, Thanks for developing useful plugin!.

    Plugin is working well in my website but i have a small problem.

    Only the products that belong to a specific categories won’t have the related products showing. (screenshot)

    Product page link Category page link
    I checked product`s category setting but all product set collectly.

    But i dont understand why only this category is not showing realted products collectly.

    Please let me know how do i fix this

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Vagelis

    (@eboxnet)

    Hello there, it looks like there’s a conflict with your theme’s related products output and the plugin can’t output any related products.

    Do you use related by tags or by categories? Can you switch ?
    Can you also try to disable the carousel ?

    Thanks.

    Plugin Author Vagelis

    (@eboxnet)

    Is this the only category with a “non latin” slug?

    Thread Starter cheonmu

    (@cheonmu)

    Hi, @eboxnet

    Thanks for answering

    1) There are theme’s related products and plugin’s Related products on all other products, but plugin’s Related products are marked normally.

    I was testing it after disabling all other plug-ins on the Staging Site.

    2) I use Non-Latin slug on other products, but plugin`s Related products was also marked as normally.

    3) I use it by setting realted by category currently, but if I change the set-up to related by tag, plugin`s related products related to tag was marked normally.

    However, related by category needs to be set up for me.

    4) Is there any way to mark both related by category and tag for related products?
    I currently use related product by putting the code below, but I want the both to be marked.

    remove_action('woocommerce_after_single_product', 'wrprrdisplay');
    add_action('woocommerce_after_single_product_summary', 'wrprrdisplay', 43);
    
    function v_woo_related_slider() { 
      if (is_product()) {?>
    	<script>
    	jQuery(document).ready(function($) {
    	$("#woorelatedproducts").data('owlCarousel').destroy();
      	var owl = $("#woorelatedproducts");
    	  owl.owlCarousel({
    	      items : 4,
    	      itemsDesktop : [1000,3],
    
    	      itemsDesktopSmall : [900,3],
    	      itemsTablet: [600,2],
    	      autoPlay: 3500,
    	      itemsMobile : false,
    	  });
    	  });
    	</script> <?php 
    	}
    }
    add_action( 'wp_footer', 'v_woo_related_slider' );
    

    Thank you.

    • This reply was modified 4 years, 3 months ago by cheonmu.
    • This reply was modified 4 years, 3 months ago by cheonmu.
    Thread Starter cheonmu

    (@cheonmu)

    HI, @eboxnet

    I found the solution.

    Problem is setting of Stock in product.

    If i set product stock status to “on backorder” or “manager stock” but not stock enough, related product not showing.

    related products are showing “In stock” status in my case.

    Thank you.

    Plugin Author Vagelis

    (@eboxnet)

    Ahh that makes sense.
    Thanks for the update !

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Related products not showing on specific category.’ is closed to new replies.