âš¡Voxel Black Friday Sale is now Live

Make Vendor Notes to customer on order page always open!

Description/Instructions

Make Vendor Notes to customer on order page always open!

Instructions

put it in your js file or include it in header

$(document).ready(function() {
$('details.order-accordion').attr('open' ,'');
});

  • JS
Copy Code

Instructions

php version

function add_custom_jquery_script() { ?> <script type="text/javascript"> jQuery(document).ready(function($) { $('details.order-accordion').attr('open', ''); }); </script> <?php } add_action('wp_head', 'add_custom_jquery_script');

  • PHP
Copy Code

Let's Chat About this Snippet