How can I use a gravity form to send an e-card?
How can I use a gravity form to send an e-card?
How can I use a gravity form to send an e-card?
Woocommerce specific product template for product type
I took a lot of time – the whole night – trying to fix this “401: Sorry, you cannot list resources.” The solutions shared by many online are great although they did not work as stated for me. In my case, running my own VPS server, what worked for me was going to WHM then … Read more
woo commerce get all orders item given category
Add product categories to receipt
For anyone wondering the same thing, it turns out that you can use the woocommerce API with any normal authentication methods. WooCommerce includes two ways to authenticate with the WP REST API. It is also possible to authenticate using any WP REST API authentication plugin or method. This means I was able to use the … Read more
You would allow the user to fill the email, use it to find the user id at the database and then use the id for the order. One possible solution is to replace function wc_create_new_customer( $email, $username=””, $password = ”, $args = array() ) with a custom function. This is where the function is called, … Read more
Okay found it. It was a silly mistake I overlooked. I had 1 attribute (esc_attr($myField)) double inside the update_post_meta() method. So this function works perfectly: function woocommerce_save_fields($post_id) { $myField = $_POST[‘field_name’]; if (!empty($myField)) update_post_meta($post_id, ‘field_name’, esc_attr($myField)); else update_post_meta( $post_id, ‘field_name’, ” ); }
shortcode to display woocommerce cart total
Woocommerce custom meta fields, sort by date