Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1288068

    Hi guys,

    On this page, https://www.bebluebijoux.com/nos-histoires/essentiels-test/, I’m using this shortcode in an ALB Code Block:

    [products columns="3" order="ASC" paginate="true" attribute="Histoire" terms="Essentiels" tag="Simple,Variable"]

    But when doing so, I’m not getting the pagination buttons at the bottom of the WooCommerce product grid. It actually displays all available products (there’s over 50 of them).

    So I tried using this this shortcode, by adding the “per_page” argument:

    [products columns="3" order="ASC" paginate="true" attribute="Histoire" terms="Essentiels" tag="Simple,Variable" per_page="15"]

    The grid is limited to 15 products, but I’m still missing the pagination buttons…

    Anybody can help me with this?

    FYI, I did try using the ALB Product Grid: it worked, but my problem with the ALB Product Grid is that it doesn’t work with WooCommerce attributes.

    Thanks
    Phet

    #1288069

    Other thing I’ve just noticed, while trying to browse the source code, I can’t seem to find the code for the pagination:

    <nav class="pagination">

    As oppose to this page: https://www.bebluebijoux.com/categorie/bracelets/

    #1288759

    Bump…

    #1288850

    Hi,

    Sorry for the late reply. I’m not sure if that is possible, but the WooCommerce documentation might help you out? https://docs.woocommerce.com/document/woocommerce-shortcodes/

    Best regards,
    Rikard

    #1289056

    Hey Rikard,

    That WooCommerce post is where I read that I could use this shortcode. If you look at https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-9, you see that:

    The [products] shortcode allows you to display products by post ID, SKU, categories, attributes, with support for pagination, random sorting, and product tags, replacing the need for multiples shortcodes…

    So technically, it should be working and showing the default woocommerce pagination…

    Do you know if there is a way I could edit the code so that Product Grid could be used with Attributs?

    #1289652

    Should the default WooCommerce functionalities (in this case the pagination) be available or are they limited because of the Enfold’s template files?

    #1290776

    Hi,
    Sorry for the very late reply and thanks for your patience. I believe that this is the solution you are looking for.

    Best regards,
    Mike

    #1291110

    Hi Mike,

    I’ve looked into the post you’ve mentioned in your last reply.

    Unfortunately, that did not work… And also, by applying that snippet, it removed my WOOF widget in the sidebar of all WooCommerce archive pages…

    Is there a way to tweak that snippet?

    Regards,
    Phet

    #1291326

    Hi,
    Unfortunately, I don’t think so without removing the customizations that Enfold requires for the other functions for woocommerce, and I don’t believe that is possible without major issues, you could try this thread but at the end it seemed to cause more issues.

    Best regards,
    Mike

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