Add vat over the commission
This will add VAT value over the commission
Change label of CSV header, and removing others(Export Totals to CSV)
This snippet will change the label of CSV header, and remove the others(Export Totals to CSV)
Change the sold by link label to vendor's name
Change the sold by link label to vendor's name
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…
Let Customers Select Their User Role From A Custom Field In Wholesale Lead Capture
Create a custom field with the user role selection, make sure that the values match your…
Use Billing Address in Order Exports
By default the export order feature for the vendor dashboard users the customers shipping address. This…
Use Full Store Address in Ships From
By default the Ships From metadata displayed under the add to cart button only shows the…
Remove Post Title from Yoast Breadcrumb
/* Remove Post Title from Yoast Breadcrumb */ add_filter('wpseo_breadcrumb_single_link', 'remove_breadcrumb_title' ); function remove_breadcrumb_title( $link_output) { if(strpos(…
Auto Vote 5 sao cho bài viết mới
function auto_vote_5_stars_on_publish($ID, $post) { if ($post->post_status === 'publish') { if (function_exists('kk_star_ratings_insert')) { kk_star_ratings_insert("5", $ID); } }…
Add Custom Taxonomy - Single Vendor Taxonomy
It'll only allow the vendor to select one custom taxonomy term at a time
Add Custom Taxonomy - Multiple Vendor Taxonomy
Allows the vendor to select multiple taxonomies
Add Custom Taxonomy to Woocommerce Single Product Page
add_action( 'woocommerce_product_meta_end', 'wcv_add_brands_single_product' ); function wcv_add_brands_single_product() { global $product; $taxonomy = 'wcv_brands'; // The custom taxonomy…