Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1164122

    Hi,

    I’ve recently added woocommerce to an enfold website, and we are trying to create a link to all featured products. It’s great to see that it’s an option to choose Product Visibility – Featured as a taxonomy overview page to link to, but somehow the link doesn’t work (just go back to the homepage when clicking on it).

    I’ve tried with Product Type too, same issue.

    I can’t seem to find another solution, would really appreciate any advice.

    Thank you

    #1164638

    Hey uchijjang,

    Can you show us please? SO we can try understand properly what you mean?

    Best regards,
    Basilis

    #1164672

    Thank you for the reply. Link below. It’s the image that’s linked to ‘Featured’ Products.

    Thanks

    #1165041

    Hi,

    Thank you for the update.

    Are you trying to display posts from the “featured” category? If you are, then the URL should look something like the following.

    http://site.com/?product_cat=featured
    

    Best regards,
    Ismael

    #1165138

    Hi,

    Thank you for the reply. Not really, in the layout builder, when you set a link to the website, you go to Link Settings tab, and in there, I’ve chosen Product Visibility, and then Featured. These are featured products based on WooCommerce’s default Featured function, not a category. so the link URL was generated through this process.

    Screenshot below. You can see the setting can correctly identify that there’s only one featured product for now.

    #1165423

    Hi,

    Thank you for the info.

    Can we access the dashboard and check the settings? Please post the login details in the private field. Temporarily, try to define the link manually as shown above.

    Best regards,
    Ismael

    #1165907

    Hi Ismael,

    Info below.

    Thank you.

    Tonia

    #1166230

    Hi,

    Thank you for the update.

    The site looks different and WooCommerce is not installed in it. Did you move the site? Please check the info carefully.

    Best regards,
    Ismael

    #1169311

    Hi Ismael,

    Sorry for the delayed reply – had some issues changing DNS of the domain, but it should all work now. If you could take a look that would be amazing.

    Thank you.

    #1170587

    Hi,

    Thank you for following up.

    We just found out that the product_visibility taxonomy is by default not publicly accessible, but you can use the following filter to adjust its parameters.

    add_filter('woocommerce_taxonomy_args_product_visibility', function($args) {
    	$args['public'] = true;
    	return $args;
    }, 10, 1);

    Add it in the functions.php file.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.