Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PatrickCaneloDigital opened this issue Jan 7, 2025 · 1 comment
Open

Comments

@PatrickCaneloDigital
Copy link

PatrickCaneloDigital commented Jan 7, 2025

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

@aman-webkul
Copy link
Contributor

aman-webkul commented Jan 13, 2025

Following PR #1318 will fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants