Payment by Check "send to" address

This topic has 17 replies, 3 voices, and was last updated 10 years, 4 months ago ago by Eva Kemp

  • Avatar: Hunchback
    Hunchback
    Participant
    July 28, 2014 at 16:04

    Hello,

    I can’t figure out where to configure the address to be displayed under the “pay by check” option. Right now, the shop only shows a placeholder text, but i can’t find a menu to configure it at.

    16 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 28, 2014 at 16:21

    Hello,

    Could you please show us screenshot of what you exactly want to configure?

    Regards,
    Jack Richardson

    Avatar: Hunchback
    Hunchback
    Participant
    July 28, 2014 at 17:21
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 28, 2014 at 17:35

    Hello,

    You can edit this text in wp-content/plugins/woocommerce/includes/gateways/cheque/class-wc-gateway-cheque.php file (line number 68).

    Regards,
    Jack Richardson

    Avatar: Hunchback
    Hunchback
    Participant
    July 28, 2014 at 17:53

    Hmm, thanks for the info. Would be a good idea to make this configurable through the theme settings to be honest, editing files is not all that easy for everyone that doesn’t have a tech-savy person to take care of it… 😉

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 28, 2014 at 18:00

    Hello,

    You’re welcome!
    It is better to contact WooCommerce plugin developers concerning implementation this feature.

    Regards,
    Jack Richardson

    Avatar: Hunchback
    Hunchback
    Participant
    July 28, 2014 at 18:02

    Yes, i suppose it’s not really related to your theme, seeing the name/location of the file concerned…

    Anyways, i’ll check it out when i am back on my main pc, don’t have the ftp details on this pc so i can’t really edit it as it is 🙂

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 28, 2014 at 18:11

    Okay!
    If you have any troubles with text editing don’t hesitate to contact us.

    Regards,
    Jack Richardson

    Avatar: Hunchback
    Hunchback
    Participant
    July 28, 2014 at 18:15

    NP, i am a systems and networks engineer myself, editing a bit of php is not that big a deal, even tho i am not a developper or do coding. Still, the site/shop is my mother’s, i am helping her out with all the technical stuff. But yeah, as i said, this kinda manipulation remains too complicated for the average user.

    Too bad that WC support is impossible to reach really, unless you buy their modules :S

    Avatar: Hunchback
    Hunchback
    Participant
    July 28, 2014 at 21:20

    Hello again,

    I tried modifying the file as follows:

    'description' => array(
    				'title'       => __( 'Description', 'woocommerce' ),
    				'type'        => 'textarea',
    				'description' => __( 'Merci d’envoyer votre chèque à l’adresse suivante: Dobrinka Grillet-Aubert, 4 rue Santos Dumont, 44300 Nantes, France.', 'woocommerce' ),
    				'default'     => __( 'Merci d’envoyer votre chèque à l’adresse suivante: Dobrinka Grillet-Aubert, 4 rue Santos Dumont, 44300 Nantes, France', 'woocommerce' ),
    				'desc_tip'    => true,
    			),
    

    However it does nothing. I also tried searching in our WPML for the original phrase in english, to verify that we didn’t translate it badly by mistake when we first started the shop, but i can’t find that particular string. What’s weird is that for some reason the site shows some sort of a french translation of the string, but with placeholders for “store name” “store address” etc. I tried looking up the individual strings for the placeholders too, but i can’t find them in our translations. I can’t figure out where this text is getting it’s values from…

    Avatar: Eva
    Eva Kemp
    Support staff
    July 29, 2014 at 11:31

    Hello,

    Are you unable to translate some words to your language or some aren’t translated in wpml for both languages?
    Please provide us with FTP and wp-admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: Hunchback
    Hunchback
    Participant
    July 29, 2014 at 12:10

    Hello,

    The problem is that the current translation of the text-box i showed in a previous post contains placeholder words such as “shop address”, “shop name” etc, that (i suppose) get their actual values from somewhere, but on our site they remain a placeholder text.
    The text itself is somehow translated (the text around the placeholders, as well as the placeholders themselves), but i can’t find the translation in WPML or the theme MO file. I was trying to find that, to make sure that by misstake i didn’t translate the placeholders as a text and as such render them impossible to change the string value. However, i can’t find these strings anywhere in WPML or the theme translation.

    What we want is to get the site to show the actual address, name etc postal information to which the clients should send their checks to. I tried editing the file you pointed me to, modifying the default text etc, but after modification and saving the file, the actual shown values on the live site don’t change.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    July 29, 2014 at 12:19

    Hello,

    Sorry, but you have to contact Woocommerce support team regarding your question as this configuration is related to them.

    Regards,
    Eva Kemp.

    Avatar: Hunchback
    Hunchback
    Participant
    July 29, 2014 at 12:31

    Is there a way to at least not show this field?

    Avatar: Eva
    Eva Kemp
    Support staff
    July 29, 2014 at 12:47

    Hello,

    Try to use this code in custom.css file:

    .payment_box {
        display: none;
    }

    or

    .payment_box {
        display: none !important;
    }

    Here you can find a tutorial how to create custom.css.

    Regards,
    Eva Kemp.

    Avatar: Hunchback
    Hunchback
    Participant
    July 29, 2014 at 15:27

    Thanks, the second bit worked.
    It’s a bit stupid that this can’t be configured any better, but i understand it’s not your fault.

    Thanks for the help!

    Avatar: Eva
    Eva Kemp
    Support staff
    July 29, 2014 at 15:49

    You’re welcome.

    Enjoy your work!

    Regards,
    Eva Kemp.

  • Viewing 17 results - 1 through 17 (of 17 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.