Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author ndre

    (@ndre)

    Hi, Probably there is uneccessary code in your HTML that is breaking the shortcode output.

    You can switch to the text tab on page edit screen and delete all instances of

    <code>

    Thread Starter BackbeatPerth

    (@backbeatperth)

    Hi,
    Thank you very much for your reply.

    There were instances of and I removed them all along with all but unfortunately no change.

    Thanks,
    Dan

    Plugin Author ndre

    (@ndre)

    As I can see you are using separate shortcodes to show the products. That’s why they don’t tile.

    You should add commma separated IDs in include attribute for shortcode to show them all in one div:

    [show_categories include="3,4,5,6"]
    Thread Starter BackbeatPerth

    (@backbeatperth)

    Nice! That did the trick. I guess no control over sorting though, it is alphabetical only? That’s not an issue for me though really.

    Thanks for the help!

    Cheers.

    Hello. Can the categories be really sorted only by alphabet, or can I sort them otherwise, like by ID?

    Plugin Author ndre

    (@ndre)

    Are you using a shortcode or automatic category listing?

    The shortcode category order can be managed by order and orderby attributes: https://implecode.com/docs/ecommerce-product-catalog/category-listing-shortcode/

    The automatic listing order can be managed with show_categories_args filter. Use the following code in your theme functions.php to order categories by ID:

    add_filter('show_categories_args', 'my_custom_product_categry_order');
    function my_custom_product_categry_order($args) {
    $args['orderby'] = 'id';
    return $args;
    }

    Thanks for this great plugin but I have some issue regarding the categories listing. I need to display the product categories in custom order without any kind of sorting. I am using the following shortcode for this:

    [show_categories include=”36,34,37,29,35,33,42,52,31,30,55,41,48,47,32,56,57,40,46,43,58,44,59,45,50,51,53,38″ orderby=”none”]

    [show_categories include=”36,34,37,29,35,33,42,52,31,30,55,41,48,47,32,56,57,40,46,43,58,44,59,45,50,51,53,38″, orderby=”none”]

    Both of the above not working

    The orderby is not working here and all the categories are display in sorted order by the name. I need to urgently fix this please, guide me about the issue.

    Waiting for your response.

    Thanks

    I have also tried to use the above function which you suggest but not working

    add_filter(‘show_categories_args’, ‘my_custom_product_categry_order’);
    function my_custom_product_categry_order($args) {
    $args[‘orderby’] = ‘id’;
    return $args;
    }

    I am using the enfold theme

    waiting for the response

    Plugin Author ndre

    (@ndre)

    Hi,

    The order by include parameter is currently not available. We will add this feature in Mondays update.

    I also just tested the function and it works fine for me. Where did you place it? Are you using the latest version of eCommerce Product Catalog?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Adjust category image size.’ is closed to new replies.