woocommerce / woocommerce-accommodation-bookings

An accommodations add-on for the WooCommerce Bookings extension.
91 stars 31 forks source link

Product Add-ons compatibility - price * nights #37

Closed SiR-DanieL closed 6 years ago

SiR-DanieL commented 8 years ago

WooCommerce Bookings has a checkbox to select to multiply the add-on cost per the number of blocks. This does not exist in Accommodation Bookings, neither is done automatically.

Can we add the feature like in WooCommerce Bookings?

RookDesigns commented 8 years ago

This would basically make me buy Woocommerce bookings instead of Booking System Pro. Resources and people aswell

robertstaddon commented 8 years ago

I think that this goal could be accomplished if this plugin was coded to support the built-in WooCommerce Bookings Resources (https://docs.woothemes.com/document/using-global-resources/). Resources are limited to available quantities and can be multiplied by the number of blocks booked.

robertstaddon commented 8 years ago

I've created a pull request that would allow Accommodations products to use the Resources feature of WooCommerce Bookings. https://github.com/woothemes/woocommerce-accommodation-bookings/pull/40

studioviv commented 8 years ago

I totally agree with RookDesigns. We are also following progress on this feature for WCBookings and AccommodationBookings. It would make us also go from Booking System Pro to Woocommerce bookings. I like the fact that all is related to WC and the whole payment/invoicestructure so i would prefer it above any other. But the fact that we can't use use acc.bookings with personscount and WCBookings lacks the overnight stay option we cannot switch. It so much more logic to have overnight option in WCBookings cause that counts for every hostel, hotel, campingsite, bnb etc. We need to be able to book 1 room from lets say 14th to 20th and the next person should be able to book from 20th to whatever. And not from 21th, that's missing 1 whole booking. Guests go out at 10.00 and new ones come in at 14.00 < that's logic procedure.

SiR-DanieL commented 8 years ago

@gedex any update on this?

gedex commented 8 years ago

Sorry for late reply. I haven't check this. Definitely on our queue, but I don't have exact ETA to announce yet.

/cc @mattyza @dwainm

jamiebudesky commented 8 years ago

This is defiantly a need for our campground so we can charge additional for Wifi per night. Also without resources and people, this plugin is not much different than a bookable product. Hope 1.0.3 will include these features.

emma164 commented 8 years ago

I agree that this is a definite need, just to be able to multiply the product-addons total by the duration. I have been looking into the code and I can't find where the product-addons are added to the booking price? has anyone any ideas please.

robertstaddon commented 8 years ago

@emma164, @jamiebudesky, @SiR-DanieL, @studioviv, and @RookDesigns

I have modified the plugin to support Resources, Persons, and Product Add-ons and submitted a Pull Request to the developers for a 1.0.4 version: https://github.com/woothemes/woocommerce-accommodation-bookings/pull/40

If you would like to download my fork at https://github.com/robertstaddon/woocommerce-accommodation-bookings and take it for a spin, I would really appreciate any feedback that you might have.

mattyza commented 8 years ago

@gedex @dwainm @roykho :)

al3xstanhope commented 8 years ago

Sounds brilliant, @robertstaddon - good work!

Just need some bright spark out there to come up with an easy way to input multiple "seasonal" rates with different prices on weekdays and weekends and this plug-in will be perfect!

jamiebudesky commented 8 years ago

Completely agree!

On May 26, 2016, at 12:50 PM, Alex Stanhope notifications@github.com wrote:

Sounds brilliant, @robertstaddon - good work!

Just need some bright spark out there to come up with an easy way to input multiple "seasonal" rates with different prices on weekdays and weekends and this plug-in will be perfect!

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

robertstaddon commented 8 years ago

Hey guys! It appears that my 1.0.4 pull request has been merged. (https://github.com/woothemes/woocommerce-accommodation-bookings/pull/40) It's not live on the WordPress repository yet, but if any of you want to try downloading it from here on GitHub and testing the use of Resources or Persons on your site, any feedback would be great! Thanks.

robin-scott commented 8 years ago

Works great with addons multiplying price of addon per night. @robertstaddon

laurendavissmith commented 6 years ago

Moved to the ideas board for further evaluation