Skip to content

Tag: wordpress

Alphabetize Petfinder API List

I’m using the Petfinder API for WordPress plugin. The plugin defaults to listing animals based on how old the Petfinder entries are, from oldest to newest. I’m trying to figure out a way to either do newest to oldest, or alphabetize based on animal names. The data is loaded via the following code:…

Round up cart total Woocommerce

I need to round up prices on my Woocommerce cart. It rounds up to 1. For example: If the total price of the cart is $40.85, I need the cart to show $41.00. I tried with this command but the price discount this 0.15 and I do not know how to do it. I found this in other sites but