• Resolved amtebbott

    (@amtebbott)


    When using the [wtcpl-product-cat] shortcode, the products seem to lose their ordering, and are output randomly (as far as I can tell).

    My Woocommerce settings are set to Default Sorting, so the products within the tabs should retain that sorting.

    Am I doing something wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author QuantumCloud

    (@quantumcloud)

    Ordering comes as default parameter which is ascending order. We have tested that. Can send the link of your page and exact shortcode used? The ordering could be tempered by another woocommerce plug in too. Try disabling other woocommerce plugins and see if that helps.

    Thanks

    Thread Starter amtebbott

    (@amtebbott)

    I’m unable to send a link, as the site is currently in development, however I can provide the following information.

    I dont have any other Woocommerce plugins installed, except for Woocommerce itself, and the WooCommerce Pay360 (PayPoint) Gateway. I’ve disabled the Pay360 plugin, but it’s had no effect on the order.

    The shortcode is being output like this: <?php echo do_shortcode(‘[wtcpl-product-cat]’); ?> at the top of my shop page.

    I’ve just inspected the posts, and they appear to be in DESC order by the post ID – this isnt the same sorting order as I’ve set in my Woocommerce display settings.

    Any other ideas? Is there any way I can add order and orderby parameters to the shortcode itself?

    Plugin Author QuantumCloud

    (@quantumcloud)

    That is weird. Allow us some time to check a few things.

    Plugin Author QuantumCloud

    (@quantumcloud)

    All options for sorting and ordering from display settings in woocommerce do not work with shortcode. Woocommerce only allows ordering products by title or date but not by price, sku etc. because they are meta data. We are adding an option to sort by title in asc or desc order.

    We are releasing a professional version very soon which will have more flexibility.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Product Ordering’ is closed to new replies.