New Landing How can we help? Themeforest Theme Support Dante Woocommerce On Sale

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Dante
  • #75423
    Paddaman
    Member
    Post count: 48

    Hi There,

    I seem to have a problem with getting woocommerce sale products to work correctly…

    When I use WC shortcode : [sale_products per_page=”12″] the layout is completely messed up.

    When I use page builder element it shows nicely but I can not show all the products on sale (and for example set to 12 per page with pagination..)

    Also with either one of them the width of where the product are are not correct.. The sidebar is bigger that on my other product pages. I had a issue & received custom css to fix, but dont know why it is not working on this page? custom css was :

    .woocommerce-page .sidebar {
    border: 2px solid #DDDDDD;
    border-radius: 10px;
    padding: 20px;
    }

    ul.products li.product .product-details {
    width: 80%;
    }

    Sale page : http://www.photoalbumsonline.co.za/specials/
    Any other page with correct sidebar width : http://www.photoalbumsonline.co.za/product-category/photo-albums/baby-photo-albums/

    (btw please excuse, I am busy working on my menu at the moment..)

    Thank you!

    #75788
    Mohammad – SUPPORT
    Moderator
    Post count: 27441
    This reply has been marked as private.
    #95937
    Paddaman
    Member
    Post count: 48
    This reply has been marked as private.
    #96012
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have resolved the issue so please check.
    Used sustom css code-:

    div.post-1513.page.type-page.status-publish.hentry.clearfix.col-sm-8{width:75%}
     body.page.page-id-1513 aside.sidebar.right-sidebar.col-sm-4{width:25%}
    body.page-id-1513 ul.products.list-sale-products li{width:262px}

    Thanks

    #96025
    Paddaman
    Member
    Post count: 48

    Hi Mohammad!

    Thank you you are a monster ๐Ÿ™‚

    Another thing, I see that it only displays 4 products also no pagination?

    #96030
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please check that how many products in sale? You have only 4 products on sale so pagination not appearing.
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #96049
    Paddaman
    Member
    Post count: 48

    Hi,

    No there is about 9 products on sale at the moment.

    Noticed something : Does not look like it is picking up the variable products on sale only simple products… ๐Ÿ™‚

    Do you maybe know how to fix this?

    #96055
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You have set 8 products in shop element of page builder at page content editor so change that value.
    Thanks

    #96107
    Paddaman
    Member
    Post count: 48

    Hi Mohammad,

    Sorry don’t understand if that will make difference? Even if I change to a higher number, currently only 5 is showing? And none of the variable products on sale?

    #96286
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I mean to change number of items at edit of shop element. I see that you have 12 value and 5 items is displaying because you have only 5 product on sale. Hope you will understand.
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #96287
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I mean to change number of items at edit of shop element. I see that you have 12 value and 5 items is displaying because you have only 5 product on sale. Hope you will understand.
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #96291
    Paddaman
    Member
    Post count: 48

    Hi Mohammad,

    Apologies if there is confusion, but there is more products on sale than just 5…

    For example the following products are on sale but does not display :
    http://www.photoalbumsonline.co.za/shop/accessories/snow-flakes/
    http://www.photoalbumsonline.co.za/shop/modern-photo-albums/lifestyle-slip-in-40-album/
    (BOTH THESE ARE VARIABLE PRODUCTS – THINK IN THE THEME SHORTCODE SOMEWHERE THERE IS ERROR LEAVING IT OUT)

    If I add normal woocommerce shortcode then all sale products display but the shortcode layout is all messed up.

    #96307
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have resolved the issue so please check it now.
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #96329
    Paddaman
    Member
    Post count: 48

    Hi,

    Thank you works much better! What did you do (just if maybe someone else need to know)?

    Only problem is that there is no pagination? I quickly added another few products on sale (more than 15 products in total)

    #96340
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    It was simple code tweak. There is no pagination with this shop elements of page builder.

    Code Remarks-:
    File sf-products.php at /includes/swift-framework/sf-content-display/
    Find this code-:
    'post__in'      => array_merge(array('0'),$product_ids_on_sale);
    Change to
    'post__in'      => $product_ids_on_sale

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

Viewing 15 posts - 1 through 15 (of 17 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