WebsiteBaker Support (2.8.x) > Bakery Shop

Bakery 1.7: Skip checkout if only one payment option selected

<< < (3/3)

mcln:
Hello
I have the same problems.
So I put invisible the classes .mod_bakery_bt_modi fy_pay_methods_f and .mod_bakery_selecte d_pay_h_f, but there is still appearing the word 'Rechnung'. (View screenshot).

In the step before (Terms & Conditions and Payment Method) this text is not translated into German. Why? Which file generates the checkout? (invoice, Rechnung) It doesn't get the DE-language-file.

Thank you so much for help
Marie-Claire

jacobi22:

--- Quote ---So I put invisible the classes .mod_bakery_bt_modi fy_pay_methods_f and .mod_bakery_selecte d_pay_h_f, but there is still appearing the word 'Rechnung'. (View screenshot).

--- End quote ---
the Word "Rechnung" in step 3 use the CSS-Class mod_bakery_pay_h_f and a h3 for the title
build a new class in your frontend.css with these code to make it unvisible


--- Code: ---h3.mod_bakery_pay_h_f {
display:none
}
--- End code ---

earlyer bakery versions has problems with the emailfilter in frontend output filter, so its needed to set this filter in Admin tools - frontend output filter - Filter Email addresses in text: to off
please test this before you start with the next work


--- Quote ---In the step before (Terms & Conditions and Payment Method) this text is not translated into German. Why? Which file generates the checkout? (invoice, Rechnung) It doesn't get the DE-language-file.
--- End quote ---

the pictures from step 3 shows, that the script get the german language files

my method to check it out
- look into the source code for a unique part, maybe a css-class or (in step2) the Step-image
- search in the bakery-folder for this Word "step_2" - found in bakery / templates / form / title.htm
- found the language variable {TXT_TAC_AND_PAY_METHOD} in line 4  - thats your not-translatet text
 - search for TXT_TAC_AND_PAY_MET HOD in bakery folder - found this in my language files and in view_payment_method es.php // line 69 (this file generate the output in step 3)

--- Code: ---'TXT_TAC_AND_PAY_METHOD'        =>        $MOD_BAKERY['TXT_TAC_AND_PAY_METHOD'],
--- End code ---

do you have the same line there?

if no, change your code to this line
if yes, go to your language files and check this entrys for $MOD_BAKERY['TXT_TAC_AND_PAY_MET HOD']


another point
on my systems i have the problem to found the bakery config.php
to check it out, put a simple echo in your config.php like

--- Code: ---echo "my Config";
--- End code ---
Dont forget to delete this after your test

if your config.php correct includet, you have a output in step2 and some other pages  with the text from the echo like my Config

if you not found this output, go to this thread and follow my instructions there
freeSbee - the bakery autor means, it works, but not so on my bakery 1.7 -shops
i have to change the config call in the files
view_item.php
view_cart.php
save_item.php
save_form.php
modify_page_setting s.php
modify_item.php



Navigation

[0] Message Index

[*] Previous page

Go to full version