Customizations: Checkout-steps / Mails
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Customizations: Checkout-steps / Mails
Hi,
the following things I want to archive:
during checkout step 2: Adress
Fields: Country, Language
How can I remove (hide) or force them to a value?
during checkout step 5:
Changing the line "I accept..."
mails:
How to change the bodies/topics auf the following mails, which are sent by aimeos:
- New user account
- Your order
The images are very big/unformated and words are needed to change
gr33tz
the following things I want to archive:
during checkout step 2: Adress
Fields: Country, Language
How can I remove (hide) or force them to a value?
during checkout step 5:
Changing the line "I accept..."
mails:
How to change the bodies/topics auf the following mails, which are sent by aimeos:
- New user account
- Your order
The images are very big/unformated and words are needed to change
gr33tz
Re: Customizations: Checkout-steps / Mails
- To adapt the checkout, read these articles: https://aimeos.org/docs/TYPO3#Checkout
- For overwriting translations have a look here: https://aimeos.org/docs/TYPO3/Overwrite_translations
- Changing the e-mails is described there: https://aimeos.org/docs/TYPO3#E-Mail
That page has links to articles answering all your questions:
https://aimeos.org/docs/TYPO3
- For overwriting translations have a look here: https://aimeos.org/docs/TYPO3/Overwrite_translations
- Changing the e-mails is described there: https://aimeos.org/docs/TYPO3#E-Mail
That page has links to articles answering all your questions:
https://aimeos.org/docs/TYPO3
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Customizations: Checkout-steps / Mails
Hi,
sorry, I don't get it.
I read many pages, but I don't get a hint how to change the body of a mail sent by aimeos.
I think, I didn't get the right TS with that array-subpart-stuff. Kindly provide some codelet how to change a body of a mail, for example the password-mail-body in html from account-creation.
The checkout I modified that way, that theres only one country, but I didnt get that language-field hidden:
gr33tz
sorry, I don't get it.
I read many pages, but I don't get a hint how to change the body of a mail sent by aimeos.
I think, I didn't get the right TS with that array-subpart-stuff. Kindly provide some codelet how to change a body of a mail, for example the password-mail-body in html from account-creation.
The checkout I modified that way, that theres only one country, but I didnt get that language-field hidden:
Code: Select all
plugin.tx_aimeos.settings.client.html.checkout.standard.address.countries {
56 = DE
# Germany
}
Re: Customizations: Checkout-steps / Mails
In TYPO3, the most common problem is that you add the settings for changing the e-mails to your TS template but TYPO3 distingusishes between FE, BE and scheduler configuration. So, you have to add the e-mail related configuration to the TS field of the scheduler task, e.g. use https://aimeos.org/docs/Configuration/C ... plate-body:
Regarding the hidden language field: Did you use https://aimeos.org/docs/Configuration/C ... ing/hidden in your TS template:
Code: Select all
client.html.email.payment.html.standard.template-body = path/to/your/template
Code: Select all
plugin.tx_aimeos.settings.client.html.checkout.standard.address.billing.hidden {
0 = order.base.address.languageid
}
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Customizations: Checkout-steps / Mails
Hi,aimeos wrote:So, you have to add the e-mail related configuration to the TS field of the scheduler task
thanks four your answer - thats a good point for sure, would be my mistake, too
But, I don't get the right code yet, because a can't adapt the settings for e.g. the e-mail/account - mail.
With your help in your posting before you helped me to figure out the templates of e.g. the mail-account-creation-code, located here:
Code: Select all
typo3conf/ext/aimeos/Resources/Private/Extensions/ai-client-html/client/html/templates/email/account
Code: Select all
fileadmin/project/mail-templates/accountmail (hope it's a good location)
- account
- common
- delivery
- payment
- subscription
- voucher
- watch
Perhaps you're feeling like "bumping my head on onto the keyboard" - sorry, I'm feeling bad right now, that I'm not getting the right codelets (I'm still learning typo3/aimeos)! But https://aimeos.org/docs/Configuration/C ... plate-body does not offer them, isn't it?
But one good thing at the end:
I successfully used the following codelet:
Code: Select all
plugin.tx_aimeos.settings.client.html.checkout.standard.address.billing.hidden {
0 = order.base.address.languageid
1 = order.base.address.countryid
}
Re: Customizations: Checkout-steps / Mails
How should Aimeos know it should use your template files are in /fileadmin/project/... ?
You have to
- create an Aimeos TYPO3 extension: https://aimeos.org/developer/extensions/
- copy the modified template into the ./Resources/Private/Extensions/<extname>/client/html/templates (same directory structure below that directory as in the ai-client-html extension) of your newly created TYPO3 extension
You have to
- create an Aimeos TYPO3 extension: https://aimeos.org/developer/extensions/
- copy the modified template into the ./Resources/Private/Extensions/<extname>/client/html/templates (same directory structure below that directory as in the ai-client-html extension) of your newly created TYPO3 extension
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star