Bug #35793
Powermail form is visible in localised context while shopping cart is empty
| Status: | Needs Feedback | Start date: | 2012-04-09 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Dirk Wildt | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Patch is reviewed: | No | Complexity: | ||
| Branch: | Reporter: | |||
| Votes: | 0 |
Description
Dear wt_cart team,
it seems that wt_cart or powermail has a bug in context with localisation:
If you are using two languages and a localised powermail plugin/flexform, the localised powermail plugin/flexform has its own id.
I.e:- powermail plugin default language: uid 42
- powermail plugin german language: uid 931
I configured wt_cart with this TypoScript code:
The effect is:plugin.wtcart {
powermailContent {
uid = 42
}
} [globalVar = GP:L = 1]
plugin.wtcart {
powermailContent {
uid = 931
}
}
[global]
- OK: The session will cleaned up after sending the ordering
- Bug: The powermail form is visible while the shopping cart is empty
Is it a bug in wt_cart or in powermail?
Do you know, how to solve the problem?
Kind regards
Dirk
History
Updated by Dirk Wildt about 1 year ago
Sorry, the TypoScript snippet isn't dislayed proper:
} [globalVar = GP:L = 1]
Proper is:
}
[globalVar = GP:L = 1]
Dirk
Updated by Bjoern Jacob 6 months ago
- Status changed from New to Needs Feedback
- Assignee set to Dirk Wildt
Could you find a solution for resolving this issue?
Updated by Dirk Wildt 6 months ago
A solution can be a localisable TypoScript configuration like
plugin.wtcart {
powermailContent {
uid = TEXT
uid {
value = 42
lang {
de = 931
}
}
}
}
If you like this idea, I will take care of coding.
Kind regards
Dirk
Updated by Bjoern Jacob 6 months ago
Thanks for your fast reply. How did you solve it for your installation?