New Landing How can we help? Themeforest Theme Support Dante Sale products Mini

Viewing 15 posts - 16 through 30 (of 30 total)
  • Posted in: Dante
  • #80254
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome . I’m glad that issue resolved. I will wait for your site live.
    Thanks 🙂
    With Best Regards
    Swift Ideas

    #84670
    Kirsten
    Member
    Post count: 234

    Hi Mohammed,
    In this issue you solved the viewing of sale product in a mini layout for my sidebar. Unfortunately with recent Dante update it was overwritten. Can you give me the exact code to place in sf-products.php?

    You made this note:

    Hi,
    I made changes and fixed the issue .How many products on sale ?
    
    Code Remarks -:
    sf-products.php at /dante/includes/
    $meta_query[] = array( // Simple products type
    ‘key’ => ‘_sale_price’,
    ‘value’ => 0,
    ‘compare’ => ‘>’,
    ‘type’ => ‘numeric’
    );
    	$args = array(
    					'no_found_rows' => 1,
    					'post_status'   => 'publish',
    					'post_type'     => 'product',
    					'orderby'       => 'date',
    					'order'         => 'ASC',
    					'product_cat' => $category,
    					'posts_per_page' => $item_count, 
    					'meta_query'    => $meta_query,
    					'post__in'      => $product_ids_on_sale // remove this
    Thanks :-)
    With Best Regards
    Swift Ideas
    #84687
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit sf-products.php at at /dante/includes/. Insert this code after line 96.

    $meta_query[] = array( // Simple products type
    ‘key’ => ‘_sale_price’,
    ‘value’ => 0,
    ‘compare’ => ‘>’,
    ‘type’ => ‘numeric’
    );

    Thanks 🙂
    With Best Regards
    Swift Ideas

    #84840
    Kirsten
    Member
    Post count: 234

    I got it working with this code, the only thing is that it shows only 2 products but I have more products on sale. The shortcode used is:
    [spb_products_mini asset_type=”sale-products” item_count=”5″ width=”1/1″ el_position=”first last”]

    #84922
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please give me screenshot of file as you made changes. I want to see that you have placed at right place.
    Thanks 🙂
    With Best Regards
    Swift Ideas

    #84940
    Kirsten
    Member
    Post count: 234

    Sure!

    #84942
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please list 5 sale product URLS here and provide me website url with wordpress admin login detail.
    Thanks

    #84943
    Kirsten
    Member
    Post count: 234
    This reply has been marked as private.
    #85015
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have resolved the issue so please check .
    Thanks 🙂
    With Best Regards
    Swift Ideas

    #116381
    alemarengo
    Member
    Post count: 695

    Hey guys! Is there a way to manage less than 3 products in Product Mini widget?
    If I set 1 or 2, it will show me always 3 products which is the minimum count I guess.
    Is it so or is there a way to show less than 3?
    Thanks!

    #116388
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    No of course not, I just set 2 on my demo and it works fine?

    – Kyle

    #116404
    alemarengo
    Member
    Post count: 695

    Uhm… actually, I noticed wordpress menu page has a strange behaviour, something like I save one config, then it saves some changes and some other not. But now, with cleared cache, if I set 2 products, 2 are shown correctly. So, no problem! 😉
    Many thanks!

    #116405
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great 🙂

    – Kyle

    #133229
    Kirsten
    Member
    Post count: 234

    Hey guys,

    This issue came back one again after updating. The product mini asset doesnt work like it should. With Latest Products it doesnt show latest and with sale products the same. Can it be fixed once and for all in an update?

    Thank you
    Kirsten

    #133283
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    The developer of theme will assist you shortly.
    Thanks
    Mohammad

Viewing 15 posts - 16 through 30 (of 30 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register