• Resolved mathi

    (@mathi)


    hallo david,
    trotz deiner übersetzung:

    #: templates/checkout/review-order.php:199
    msgid “terms & conditions”
    msgstr “Liefer- und Zahlungsbedingungen (AGB) inkl. Widerrufsbelehrung”

    erscheint auf der checkoutseite nur “Liefer- und Zahlungsbedingungen (AGB)”, ohne “Widerrufbelehrung”

    habe das in der woocommerce-de_DE.po vom elternplugin woocommerce auch angepasst, leider ohne erfolg.

    hast du eine idee, warum “inkl. Widerrufsbelehrung” nicht angezeigt wird?

    danke für deine mühe
    mathi

    https://wordpress.org/plugins/woocommerce-de/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Decker

    (@daveshine)

    @mathi:
    Hi Mathi!
    Thanks for your feedback!

    We are only allowed to write in English here (not my fault!).

    Which theme are you using?
    Does the theme use custom templates for certain WooCommerce instances?
    Any snippet from me or third-party active that somehow tweak those string(s) in checkout process?
    Premium plugin “WooCommerce German Market” active?

    Thanks, Dave 🙂

    Thread Starter mathi

    (@mathi)

    hi david,
    thanx for answering.

    i’m using the 2012 theme, woocomerce free, print and german. other plugins are different kind and don’t use strings like “terms & conditions”. i’ve got no premium.

    i deactivated all plugins and started them one by one, but with same result. i checked all langs.po’s – their seem to be ok.
    without your german-plugin (thanx for it) it gives out “Liefer- und Zahlungsbedingungen (AGB)”. but with your plugin, unfortunately too.

    (without Widerrufsbelehrung)

    i would overwrite it hard in rewiew-order.php :

    (“<label for=”terms” class=”checkbox”><?php _e( ‘I have read and accept the’, ‘woocommerce’ ); ?> ” target=”_blank”><?php _e( ‘terms & conditions’, ‘woocommerce’ ); ?></label>”)

    but i suppose, i will break something.

    please tell me, what would you do?
    thank you
    mathi

    Hi Mathi!

    I work with the “hardcore-workarround” by overwriting the review-order.php for a long time in several shops. No problems with this. You have only to keep in mind, that a update of woocommerce and/or theme may put your changed file into nirwana and you have to redo it.

    I live with it, because up to now I couldn’t find any “clean” solution.

    I added:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    <p class=”form-row terms”>

    <input type=”checkbox” class=”input-checkbox” name=”terms” <?php checked( isset( $_POST[‘terms’] ), true ); ?> id=”terms” />

    <label for=”terms” class=”checkbox”>Ich akzeptiere Ihre ” target=”_blank”><?php _e( ‘terms & conditions’, ‘woocommerce’ ); ?>          </label>

    </br>Den Hinweis zu meinem Widerrufsrecht habe ich verstanden.

    </p>

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    As for my understanding from legal issuse the total price is to far away from the [KAUFEN] button, I repeatd the total amount after this section.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    <p class=”clear”></p>
    <b><?php _e( ‘Order Total’, ‘woocommerce’ ); ?></b>
    <?php wc_cart_totals_order_total_html(); ?>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Hopefully our god of German woocommerce Dave will manage and solve this it in the future clean! 😉

    Plugin Author David Decker

    (@daveshine)

    @webkater & @mathi:
    The template override only for this string is possible of course, however, I don’t recommend it. Reason: use as less overrides as possible — otherwise you risk continuing update hassles with WooCommerce itself.

    @mathi:
    I’ve looked into this again and the following happens – from my plugin:
    If you disable the first string swap in my plugin settings, then the default translation from my plugin files will be loaded, which is:
    “Ich habe folgende Bedingungen gelesen und bestätige diese hiermit: Liefer- und Zahlungsbedingungen (AGB) inkl. Widerrufsbelehrung”

    If you leave the string swap enabled then the following will be displayed:
    “Bedingungen gelesen und zur Kenntnis genommen: Liefer- und Zahlungsbedingungen (AGB)”

    —> The reason for that behavior was to avoid plugin conflicts with the premium “WooCommerce German Market” plugin – in former versions.

    —> I am still undecided on how to go further with that whole thing…

    So, if you want “Widerrufsbelehrung” included, disable the string swap, otherwise let it enabled.

    For fully custom string there, you could use my plugin plus this snippet (the first 2 actually):
    https://gist.github.com/deckerweb/5098515

    I hope this helps 🙂

    Thanks, Dave 🙂

    Thread Starter mathi

    (@mathi)

    yapp! i just disabled the first string swap in your plugin settings and i’ve got my “Widerrufsbelehrung”.
    thank you, david! thank you, webkater!

    mathi

    Hello Dave! Hello Mathi!

    Please can you explain in detail how to mangage this problem to get the German shop with “Widerrufserklärung”.

    I was trying to do some adaption in the .po file of Dave with the plugin “CodeStyling Localization” but I couldn’t find out how to manage it. I am quite sure, that I started wrong.

    For fully custom string there, you could use my plugin plus this snippet (the first 2 actually):
    https://gist.github.com/deckerweb/5098515

    Sorry for asking stupid. But I have no idea what to do with the “wcde-helfer-funktionen.php”.

    I would be very interested to learn from you.

    webkater

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Liefer- und Zahlungsbedingungen (AGB) inkl. Widerrufsbelehrung’ is closed to new replies.