I am using WooCommerce with a plugin that provides custom fields on a product page. One of the options is a date picker. Although, the product sold is only available on specific days of the week (e.g. Monday and Wednesday).
I understand how to get this effect, and an extensive google search gave me heaps of options. But I really don't understand where to put it, and how to override the plugin files.
The plugin I'm using is "WooCommerce Custom Fields & Product Add-ons", found at: http://codecanyon.net/item/woocommerce-custom-fields-product-addons/11332742?s_rank=3. I have messaged the author for help but they just said their support doesn't cover customisation.
How do I edit the plugin's jQuery files to have specific days selectable in the date picker?
Where would I find the files to achieve this effect?
I have found this section of code over at another question on stack overflow regarding the date picker (Disable specific days of the week on jQuery UI datepicker):
$("#datepicker").datepicker({
beforeShowDay: function(date) {
var day = date.getDay();
return [(day != 1 && day != 2)];
}
});
I am just unsure where to go from here.
I have been searching forever and decided to ask the community.
Any help is highly appreciated.
Thanks.