[TYPO3-shop] Multilang payment config
Marcus Schwemer
schwemer at netzwerkberatung.de
Thu Aug 13 15:08:59 CEST 2009
Hello Richard,
if the code below is your complete code, then there is an error.
Conditions cannot be used between curly braces. So your config should
look like this:
plugin.tt_products.payment {
# Settings for default lang
}
[globalVar = GP:L = 1]
plugin.tt_products.payment {
# Settings for other language
}
[global]
Best regards,
Marcus
Richard Jäger schrieb:
> Hey,
> i am using tt_products for a multilanguage shop. The only problem is the
> payment, its just in one language.
>
>
>
> payment >
> payment {
> radio = 1
>
> 10.title = Rechnung
> 10.image.file =
> 10.priceTax =
> 10.priceNoTax =
> 10.percentOfGoodstotal =
> 10.payprice = price
>
> 20.title = Kreditkarte
> 20.handleLib = paymentlib
> 20.handleLib {
> extName = paymentlib_ipayment
> extTitle = iPayment
> templateFile = fileadmin/templates/Buchshop/ipayment_de.html
> gatewaymode = form
> paymentMethod = paymentlib_ipayment_cc_americanexpress
> Currency = EUR
> }
>
>
> I tried also with globalVar:
>
> payment >
> payment {
> radio = 1
>
> 10.title = Rechnung
> 10.image.file =
> 10.priceTax =
> 10.priceNoTax =
> 10.percentOfGoodstotal =
> 10.payprice = price
>
> 20.title = Kreditkarte
> 20.handleLib = paymentlib
> 20.handleLib {
> extName = paymentlib_ipayment
> extTitle = iPayment
> templateFile = fileadmin/templates/Buchshop/ipayment_de.html
> gatewaymode = form
> paymentMethod = paymentlib_ipayment_cc_americanexpress
> Currency = EUR
> }
>
>
> [globalVar = GP:L = 1]
> payment >
> payment {
> radio = 1
>
> 10.title = Invoice
> 10.image.file =
> 10.priceTax =
> 10.priceNoTax =
> 10.percentOfGoodstotal =
> 10.payprice = price
>
> 20.title = Credit Card
> 20.handleLib = paymentlib
> 20.handleLib {
> extName = paymentlib_ipayment
> extTitle = iPayment
> templateFile = fileadmin/templates/Buchshop/ipayment_de.html
> gatewaymode = form
> paymentMethod = paymentlib_ipayment_cc_americanexpress
> Currency = EUR
> }
> [global]
>
>
>
> Does anyone know, how i could solve this problem?
>
> Thanks in advance
Mit freundlichen Grüßen / Best regards,
Marcus Schwemer
--
Marcus Schwemer Netzwerkberatung
IT-Consultant || TYPO3-Development || Webhosting
eMail: schwemer at netzwerkberatung.de
Internet: http://www.netzwerkberatung.de
Blog: http://blog.typo3worx.de
More information about the TYPO3-project-tt-products
mailing list