0.00  View cart

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: [Resolved] Fixed price per period? #7568
    Christoph
    Participant

    Hi Natasha,

    thanks a lot!

    I was misleaded, I thought the child_id should be the id of the variable product. Sorry about that.

    Now, as I tested the variations’ id, and it works fine.

     

    Best regards,

    Christoph

     

    in reply to: [Resolved] Fixed price per period? #7560
    Christoph
    Participant

    Hi Natasha,

    thank you, but unfortunately your snippet doesn’t work for me. I am sure to have set the IDs correctly. Are you sure, it also works with x variations as childs below the variable product?

    On the other side, I managed to solve it directly in class-wceb-ajax.php in line 249:

    if ($child_id !== 47011)	{
    								if ( $number_of_dates === 'two' ) {
    									$price *= $duration;
    								}
    							}

    However, your solution would have been a lot more smarter 😉  I can’t tell where the problem is, I think the code isn’t even considered.

    I certainly would have preferred a non-bookable product, but in this case, we definetly need the booking functionality.

    Best regards,

    Christoph

    in reply to: [Resolved] Fixed price per period? #7558
    Christoph
    Participant

    Hi Natasha,

    thank you for the quick answer. Your snippet works, unfortunately as you said only for all products. If I needed it only on specific simple or variable product pages, that would work, I could implement a check in my code. But I need it in a bundle product. Within the bundle, there is 1 variable (bookable) product where I only need the base price, the other product prices in the bundle are calculated per duration as it already works from default in your plugin.

    I already bought the duration discount plugin, but how is this configurable on a variation level?

    I tried many possibilities, but it didn’t work.

    Best regards,

    Christoph

    in reply to: [Resolved] BUG: Delete order positions fails #6014
    Christoph
    Participant

    Hi,

    sorry which post do you mean?

    Christoph

    in reply to: [Resolved] BUG: Delete order positions fails #6001
    Christoph
    Participant

    Hi,

    sorry for the late reply.

    Yes, I’m using die Google Calendar add-on. I mean by order position 1 line in the order with a bookable product (yes, it is coming from easy booking).

    E.g. I want to change the product: I add another line with the correct produkt, add booking dates, and then it is not possible to delete the old line.

    What do mean with “disable it”? I do not want to disable the product when I change an invoice.

    Best regards,

    Christoph

     

    EDIT: If I disable the Google Calendar plugin, it works, so that might be the problem. The old entry in Google Calendar is also not deleted, it must be removed manually (the new entry comes correctly into GC)

    • This reply was modified 8 months, 1 week ago by Christoph.
    • This reply was modified 8 months, 1 week ago by Christoph.
    Christoph
    Participant

    I managed to do this, I didn’t remember that I customized this directly in the easy booking plugin.

    Now, I created a hook which comes into the functions.php:

    /* Override position of date picker */
    add_action( 'wp_head', 'override_position_of_date_picker' );
    function override_position_of_date_picker(){
    	add_filter( 'woocommerce_before_add_to_cart_button', array( 'WCEB_Product_View', 'wceb_before_add_to_cart_button' ), 1 );
    }

    Maybe usable for others.

    • This reply was modified 9 months, 1 week ago by Christoph.
    in reply to: [Resolved] Translations pricing tiers and "close" button #5775
    Christoph
    Participant

    Hi Natasha,

    now it works.

    Thanks!

    Christoph

    in reply to: [Resolved] Translations pricing tiers and "close" button #5769
    Christoph
    Participant

    Hi Natasha,

    sorry to bother again. I managed to translate the “close”-Button.

    Unfortunately, I can’t manage to translate the pricing tiers – I followed the instructions, but for this specific string, it is not possible for me to get my translation working.

    I’ve put “easy-booking-duration-discounts-de_DE.po” in the folder wp-content/languages/plugins and compiled it with Loco translate (*.mo file is generated).

    Here you can see the result: https://www.campaz.de/shop/campaz-airtop-dachzelt-mieten/

    This is the PO-File, I can’t find an error and it is compiling just fine:

    msgid “”
    msgstr “”
    “Project-Id-Version: Woocommerce Easy Booking\n”
    “Report-Msgid-Bugs-To: \n”
    “POT-Creation-Date: 2019-02-04 20:38+0000\n”
    “PO-Revision-Date: 2019-03-25 16:04+0000\n”
    “Last-Translator: Christoph XXX<xxx@xxx.com>\n”
    “Language-Team: Deutsch\n”
    “Language: de-DE\n”
    “Plural-Forms: nplurals=2; plural=n != 1;\n”
    “MIME-Version: 1.0\n”
    “Content-Type: text/plain; charset=UTF-8\n”
    “Content-Transfer-Encoding: 8bit\n”
    “X-Generator: Loco https://localise.biz/\n”
    “X-Loco-Version: 2.2.0; wp-5.0.4”

    msgid “night”
    msgid_plural “nights”
    msgstr[0] “Nacht”
    msgstr[1] “Nächte”

     

    Best regards,

    Christoph

    • This reply was modified 10 months, 1 week ago by Christoph.
    • This reply was modified 10 months, 1 week ago by Christoph.
    in reply to: [SUGGESTION] Add-On Availability search #5653
    Christoph
    Participant

    Hi Natasha,

    okay then you are already working on that. Great 😉

    Best regards

    in reply to: [Bug] Price calculation with WooCommerce Product Addons #5629
    Christoph
    Participant

    Hi Natasha,

    okay, thank you so far!

    In the meanwhile, we will use dropdowns as you suggested, I hope that WooCommerce fixes the problem. Unfortunately, it is not the first time that we have problems with Product Addons 🙁 they sometimes do weird undocumented things in updates… 😉

    Best regards

     

    in reply to: [Resolved] Feature request: Overlapping bookings #5588
    Christoph
    Participant

    Okay, thank you for your quick reply!

    I tested it in the demo, and it works fine! Thank you very much.

    Best regards,

    Christoph

Viewing 11 posts - 1 through 11 (of 11 total)

Want to know what's next with Easy Booking? Check the roadmap!