Okay
  Public Ticket #2478758
Woocommerce shortcodes and show more button
Closed

Comments

  •  3
    Martonita started the conversation

    Hi! 

    1. Is it possible to display products on sale from one category using a WP bakery element? I think the only way is using Woocommerce shortcodes.

    2. When using shortcodes, how can I set up the same pagination method that comes with Kalium? I mean, if I set limit to -1 the shortcode displays the whole category, which is too much in some cases. If a set limit to 30, how can I display the "show more" button?

    Thanks!!

  •  1,558
    Laborator replied

    Hi Martonita,

    1. You can only choose to show all Sale items from all categories or select a specific category without splitting them into on sale or not. So it's not possible to filter the sale items only from a category:

    medium
    (view large version)

    2. If you have the elements added through WPBakery Page Builder then follow the instructions in the image below:

    pagination-vc-2.gif


    As explained in theme documentation.


    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  3
    Martonita replied

    Thanks, Art!

    I've seen pagination options. I meant if I can configure it when inserting woocommerce shortcodes in the html box. This shortcode for example displays only 20 items:

    [products limit="20" columns="3" category="muebles" on_sale="true" orderby="date" order="desc"]

    I tried pagination="true" but nothing changed:

    [products pagination="true" limit="20" columns="3" category="muebles" on_sale="true" orderby="date" order="desc"]
  •  1,558
    Laborator replied

    Hi again,

    Unfortunately they are WooCommerce elements within WPBakery PB which we do not manage and I am not sure they will work as these settings such as number of items to show are not visible in the options, so it won't accept the custom entered values.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  3
    Martonita replied

    Thanks, I'll check Woocommerce forums.

    Regards!

  •  3
    Martonita replied

    Hi again Art! 

    About the example you provide here:

    ======

    2. If you have the elements added through WPBakery Page Builder then follow the instructions in the image below:

    pagination-vc-2.gif

    ======

    This is only available for portfolio items? I'm trying to display all sale products through WPBakery Page Builder and pagination options are not available. Default options for shop are neither applied.

    Any way to display sale products with the same pagination of categories?


    Thanks!

  •  1,558
    Laborator replied

    Hi again,

    As I previously said there are some elements of WooCommerce which are not managed by us so it is not possible to have the same functions which we have applied to Portfolio Items in the shop products so unfortunately what you're asking for the pagination  is not possible.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  3
    Martonita replied

    Hi! I'm sorry, I got confused with the woocommerce shortcode.

    Thanks!