I have been trying to add an attribute to woocommerce orderby.
Currently I have an attribute named carat (pa_carat
) which is a numerical value and wouldn't mind being able to sort asc / desc.
I have also copied the orderby.php
into my templates .../woocommeerce/loop/
folder.
Any idea, or reference I could use?
I am not a coder but I can understand and follow directions.