Add a Date Picker to a Custom Field

<script type="text/javascript">
$(document).ajaxComplete(function() {
$(".cc_product[data-sku='YOUR_PRODUCT_SKU'] input.cart66-text").datepicker();

To use this snippet:
Simply add the above to your WordPress theme before the closing body tag (</body>) and reslurp it. Or you can add it in the HTML Editor in your Cloud Dashboard. Replace YOUR_PRODUCT_SKU with your product's sku to ensure only the targeted products have the date picker applied.

Here is where you can find it in your Cloud Dashboard:

As seen here:

Next, add the below in the header of your document: 

<script src="<a href=""></a>"></script>
<link rel="stylesheet" href="<a href=""></a>">

Still need help? Contact Us Contact Us