WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
WOOCOMMWERCE. (1 post)

  1. kcotoi
    Member
    Posted 10 months ago #

    I wanna post the new products in grid format on front page under the slider.I'm using WOOCOMMWERCE.
    i've got this code but doesn't put them in grid format and also don't show the button.

    add_filter('woocommerce_get_catalog_ordering_args', 'am_woocommerce_catalog_orderby');
    function am_woocommerce_catalog_orderby( $args ) {
    $args['meta_key'] = '_price';
    $args['orderby'] = 'meta_value_num';
    $args['order'] = 'desc';
    return $args;
    }

    [For the third time of asking, please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    http://wordpress.org/plugins/woocommerce/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.