Home Forums General Forum Customer Showcase Haru Products Top Sale Settings

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7748

    I want to know how can I add and remove products on Haru Products top Sale Settings

    Home

    Attachments:
    You must be logged in to view attached files.
    #7751

    Hi,
    Thanks for contacting us and choosing products!
    Product top sale is auto get product sale from WooCommerce function.
    You can’t change it manually, it will automatically display by WooCommerce.
    Now if you want to change it you need edit query to get product in:
    wp-content/plugins/haru-clarivo-core/templates/products/top-sale.php
    https://prnt.sc/vdd5hu
    You can change:
    $product_ids_on_sale = wc_get_product_ids_on_sale();
    to
    $product_ids_on_sale = array(1,2); // Change 1,2 to product IDs
    You can do it via child theme follow this topic:

    How to customize WordPress theme using Child theme


    Hope this helps!

    ****
    Regards,
    HaruTheme

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.