Join the Voxel Guide Community!

Get Involved

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

Chat Toggle
Voxel Guide AI
Voxel Guide AI
Voxel Guide AI
Voxel Guide AI
Ask me anything about Voxel!
Send
Powered by AI24