Is it possible to change the currency while creating a new custom order from Woocommerce > Orders?
Thanks for your reply in advance.
]]>At the moment the linked swatches on the product page are in alphabetical order. I would like to know if there is any way to have them in a custom order defined by me.
Regards,
Stefan
]]>No plugins have been added to my website in many months, and this only recently stopped working.
]]>I’m trying to order some posts using a custom field input. I manage to get it to work using this custom code:
function my_pre_get_posts( $query ) {
// do not modify queries in the admin
if( is_admin() ) {
return $query;
}
// only modify queries for 'formacoes' post type
if( is_front_page() && isset($query->query_vars['post_type']) && $query->query_vars['post_type'] == 'formacoes' ) {
$query->set('orderby', 'meta_value');
$query->set('meta_key', 'data_inicio');
$query->set('order', 'ASC');
$query->set('meta_value', date('Ymd'));
$query->set('meta_compare', '>=');
}
// return
return $query;
}
add_action('pre_get_posts', 'my_pre_get_posts');
It works for the posts that are showing up, but if I click the load more button it doesn’t assume the custom order.
Can you help find the reason why?
Thanks.
]]>When I set up Filter By: “Tags”, and Order By: “Default” OR “Numeric”, the order does change, however, neither of which are the correct order that I have set in my product tags management.
The theme I’m using is called Woodmart if that helps.
Thanks in advance for any suggestions
]]>Thanks for the previous help 2 years ago! This one is needed as because of that custom order on the shop/products page, all below can’t use the alphabetical order. And I have over 1600 proodct categories with 1>2>3 level deepness.
]]>Is it possible to somehow swap the order of the first and lastname in the shipping/billing form?
I guess it could only be done by a custom code snippet.
I tried to use the “WooCommerce Checkout Field Editor” plugin, that didn’t help.
Many thanks in advance.
Kind Regards
Sandor