• Resolved philllupton

    (@philllupton)


    I have installed the shopping cart plugin to allow users to select multiple services.

    We are selling services by the hour. So a user picks the first hour and it opens the form and adds it to the order.

    They then select the next hour and it updates the form to show the second selection.

    However if they try to deselect one of the hours they have selected it does not remove it from the booking form. Although on the calendar it shows as no longer selected on the form it is still listed. If you then check out it still books this service.

    The only way to deselect something is to clear the whole form and start again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hakan Ozevin

    (@puckrobin)

    Hi Phill,

    Thank you for pointing out the issue. We located the problem and it will be fixed in the next update of the plugin.

    If you don’t want to wait for the update, please change line 287 of includes/front-ajax.php from:
    BASE('Multiple')->remove_item( absint( wpb_clean( $_POST["deleted_value"] ) ) );

    to:
    BASE('Multiple')->remove_item( wpb_clean( $_POST["deleted_value"] ) );

    Cheers,
    Hakan

    Thread Starter philllupton

    (@philllupton)

    I have tried updating the code but it did not work for me.

    i will wait for the update as I may have done something wrong.

    Plugin Author Hakan Ozevin

    (@puckrobin)

    V3.5.3 is available now. Can you confirm if this update fixes the issue on your side?

    Thread Starter philllupton

    (@philllupton)

    Hi

    I have updated the plugin but it did not work. I have tried in both Edge and Chrome browsers and it does not remove the booking from the form.

    I click on the calendar to add a booking and it creates a form. If I add another booking and it updates the form with this booking. If I click on the calendar to remove the booking on the calendar it seems the booking has been removed but not on the form.

    If I try refreshing the page at this point it shows these bookings as blocked out.

    I do not allow people to cancel their own bookings as I do not want them to cancel them after they have booked them. I was wondering if this is part of the issue.

    Plugin Author Hakan Ozevin

    (@puckrobin)

    Please remove the booking from the cart using the Details field of the form, not from the calendar: https://prnt.sc/pmktd5

    We are aware that clicking on an already selected slot seems to deselect it, but it is not. This was the original idea, but it created several unintended complications and so we had to deactivate it some time ago.

    In a later update we will also correct the misleading behavior, i.e. scrolling to the form as if a cart item has been removed, although it has not.

    Thread Starter philllupton

    (@philllupton)

    Hi

    Yes there is a really small delete button on the form that strikes through the booking on the form when clicked. This booking is then not booked when you confirm.

    It does not update the calendar though so if you delete the booking by mistake on the form you have to click on the calendar to un-select it there and then click on it again to put it back on the form. Even if it was not by mistake looking at the calendar it still looks as though it is booked.

    Whilst it works it is clunky

    I will probably train/instruct people to clear the entire form and start again as this also resets the calendar and is less confusing.

    Thanks for your speedy support on this

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Shopping Cart Addon – not removing bookings’ is closed to new replies.