Oh sorry forgot to say, the other plugin utilises woocommerce’s variations
Cheers
Hello,
Is line 24 this in your file : public function easy_booking_custom_loop_add_to_cart( $content, $product ) { ?
You can always comment line 12, it will remove the “Select dates” text, but the error won’t show up anymore.
Hi yes that is what my line 24 looks like:
public function easy_booking_custom_loop_add_to_cart( $content, $product ) {
I’ll try and comment out line 12, lee me know if you have any other ideas.
Best
Harry
Hi I tried that, and it does remove the error for those products, but then on the products I want the booking to be possible I love the dates, and because my add to cart is loading via ajax, customers wont find it easy to access the products.
Is there anyway of disabling this but only for a specific category?
Cheers
Harry
Hello,
Do you have an example where I could see the error ? A link or a screenshot ? I’m not sure to understand your issue, so it might be easier to find a solution this way.
Hi there here is a link to the page where the error happens:
http://studer.harryrook.webfactional.com/chalet-rental/
Sorry I didnt send this sooner, was silly of me
Hello,
I think it’s conflicting with your other booking plugin… Because it overrides the “Select dates” of Easy Booking with “View availability”.
If you want the “View availability” text, just comment line 12 as I said.
Otherwise, can you try replacing the 10 on line 12 with a way higher number like 999 ? Or, on the contrary, something lower like 1 ?
Although, it’s weird because you have other products in the “Catered Stay” category, which don’t seem to be bookable, but have the “Select dates” thing. And they shouldn’t.
But, just one thing, why do you use my plugin, as you seem to be using the other one to make the reservations ?
I’m a little bit lost, I have to admit 🙂
Hi There
Ashanna, thanks for all your help thus far. And my apologies for how weird it must seem me using your booking plugin when i’m already using one. I decided to use yours as I wanted a lightweight way of just adding dates to a series of products, and not worry about if they overlapped etc. Now in hindsight I think that was a bit silly and I should just utilize what I already have. I thank you profusely for all your help.
All the best
Harry
Yes, they were probably conflicting 🙂
Just a quick question, what does the other plugin do more than mine ? I could probably improve Easy Booking 🙂
How about making bookings from back end manually and including a bookings calendar? I love the simplicity of its operation but not enough control and edit regions. 🙂
Hi Ashanna
Sorry for delayed reply, the other booking plugin is just a much larger plugin highly geared towards rentals, its good but quite large at times.
Thanks for all your help previously
all the best
Harry