I am getting an error when I put [bookly-form category_id="1" service_id="2" staff_member_id="1"] into a wordpress page the error I get is the following.
Uncaught TypeError: window.bookly is not a function
(window, function() {
window.bookly({
is_finished : 0,
is_cancelled : 0,
ajaxurl : "http:\/\/peterzapfella.com\/wp-admin\/admin-ajax.php",
attributes : {"hide_categories":false,"category_id":"1","hide_services":"1","service_id":false,"hide_staff_members":false,"staff_member_id":false,"hide_date_and_time":false,"show_number_of_persons":"1"},
form_id : "5614d831a4b11",
start_of_week : 1,
date_min : 0,
final_step_url : "",
custom_fields : [{"type":"textarea","label":"Notes","required":false,"id":1}],
day_one_column : 1,
show_calendar : 1,
woocommerce : 0,
woocommerce_cart_url : "" });
});
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire