Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Backoffice does not update the cart > no booking possible #1320

@PatrickCaneloDigital

Description

@PatrickCaneloDigital

Hi & thx for the tool

I just downloaded a fresh install from github 1.6.1 (46.9MB) because at first I had problems when downloading it from the website, even curl and wget failed.
After a second try and several wget attempts, the file is downloaded (47.4 MB)

The install (git version) went perfectly smooth, I adapted my first rooms but when I tried the internal booking system, the cart does not seem to get updated.
I get to the point where I add a specific reservation
grafik

but the cart remains empty which blocks the whole process.
grafik

I first thought it could be a browser issue (i was testing on firefox) but Chrome showed the same behaviour.
I do add the booking/rooms, but I am blocked because the cart counter stays at 0...

No log file available
The database though SHOWS some entries in the cart table
And the XHR request (3 per button click) give me cart data
Payload per button click seems ok to me, values are as defined in the form
Result: {"success":true,"data":{"id_cart_book_data":"17"}}

but the HTML for the overwrite of the cart button (updateCartData) gives an empty cart
{"rms_in_cart":0,"products_in_cart":0,"total_products_in_cart":0,"cart_content":"

And the 3rd XHr call for the update of the calendar getBookingStats
seems also to have missing info.

Any clue? At first glance, even though the timing of the XHR calls seems correct (first the cart_book_data is returned and then the cart data are looked up, for a strange reason the updateCartDataCall comes back empty...

I'll meanwhile try to replace the archives with the website download.
Testing on Unix Hosting PHP 7.4,

EDIT: I made a full install with the zip downloaded from the web 1.6.1 (same DB other prefix) and the very same error persists unfortunately

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions