• Hi guys and thanks for this great plugin.

    In the “WooCommerce Product” section there are settings to show on the shop page and on the category page which work perfectly.

    It is very common to have featured products on the homepage and even with these two options active the countdown does not show up on the product listing.

    You’re probably using the WooCommerce conditional tags is_shop() and is_product_category().

    Any change you could create a new option “Show on homepage” and use the WordPress functions is_front_page() || is_home().

    Maybe this feature already exists on the premium version? If so, we’ll buy it right now. Just tell me if it’s there, or if you consider implementing it on the Free or Premium version.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    Thank you for contacting VillaTheme.
    Yes, this feature is already available in the premium version, you can see it here: https://i.ibb.co/Df9TcHw/image.png

    Best regards.

    Thread Starter Marco Almeida | Webdados

    (@webdados)

    Just to be clear,

    I need to enter the PHP code that will be inside an if (...), for example: is_front_page() || is_home()?

    Hi,

    Of course, yes. Your request is a very common question that solved by the function “Show on” that I pointed out.

    Best regards.

    Thread Starter Marco Almeida | Webdados

    (@webdados)

    Hi again @mivtt

    This is something that you can do on the settings/interface of the plugin.

    But wouldn’t it be nice that you had a filter that you ALWAYS run and that developers can return true or false to show or not show the counter?
    Maybe that already even exists?

    That could useful, for example, when using the native WooCommerce [products] shortcode or Gutenberg block to show a product on a blog post or a custom page.

    Hi,

    Sorry I’m not sure about your last reply, do you mean to code in the plugin into toggles or checkboxes like these? https://i.ibb.co/s50XDZJ/image.png

    Best regards.

    • This reply was modified 3 years, 3 months ago by mivtt.
    Thread Starter Marco Almeida | Webdados

    (@webdados)

    No,

    I’m talking about a WordPress filter that would allow developers to decide, whenever the product listing is shown, if the counter should be there or not, in parallel with the already existing options.

    For example, if I show a product listing on a blog post, using the native WooCommerce shortcode or block, it won’t show the counter.

    Anyway, I just bought the Premium version. When I install it, will I keep the settings I already did on the Free version?

    Hi,

    I suppose that you did install the pro version incorrectly. Please follow this right way to do this, and contact us on our premium support forum.

    Best regards.

    Thread Starter Marco Almeida | Webdados

    (@webdados)

    I haven’t installed it yet. I was asking before doing it.
    I’m going to follow your links and do it correctly ??

    Hi,

    Yes, let’s contact us on our premium forum if you need any assistance with this plugin.

    Best regards

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘“Show on homepage” option’ is closed to new replies.