Editing Text On Payment Detail Page
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 12
- Joined: 15 Feb 2021, 22:23
Editing Text On Payment Detail Page
Laravel Version: ^6.20.12"
PHP Version 7.2
Mac OS
Aimeos Verison 2020
Host Hostinger
Hi I am looking to change the text and some of the layout for the payment details page where people enter there card details for stripe, what would be the best way to do this I have looked at the client template file and couldn't see the options I needed
PHP Version 7.2
Mac OS
Aimeos Verison 2020
Host Hostinger
Hi I am looking to change the text and some of the layout for the payment details page where people enter there card details for stripe, what would be the best way to do this I have looked at the client template file and couldn't see the options I needed
Re: Editing Text On Payment Detail Page
The payment page in the checkout component only contains the selection of the payment option but not yet the forms for entering credit card data. For Stripe, this is asked after the the checkout summary page when the customer clicked on "Buy now".
The template there is very generic because it works with all payment providers and the Stripe code is added here:
https://github.com/aimeos/ai-client-htm ... d.php#L138
Stripe adds the fields via Javascript and the setup code is in the Stripe payment provider:
https://github.com/aimeoscom/ai-payment ... #L334-L415
The template there is very generic because it works with all payment providers and the Stripe code is added here:
https://github.com/aimeos/ai-client-htm ... d.php#L138
Stripe adds the fields via Javascript and the setup code is in the Stripe payment provider:
https://github.com/aimeoscom/ai-payment ... #L334-L415
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
-
- Posts: 12
- Joined: 15 Feb 2021, 22:23
Re: Editing Text On Payment Detail Page
Hi Thank you for your response, so this means that if I change the details for stripe it should change the payment page. Also would features allowing for us to update the payment page be added soon?
Re: Editing Text On Payment Detail Page
Can you please explain in more detail? We don't understand what you are trying to say.
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
-
- Posts: 12
- Joined: 15 Feb 2021, 22:23
Re: Editing Text On Payment Detail Page
What I mean is currently my page looks like this, see attachement.
I want to change the layout and spelling of the verification label at the end of the form.
To make the changes would I need to make changes within the stripe file or would this need to be updated in the Aimeos Templates ?
I want to change the layout and spelling of the verification label at the end of the form.
To make the changes would I need to make changes within the stripe file or would this need to be updated in the Aimeos Templates ?
- Attachments
-
- Screenshot 2021-04-08 at 19.33.51.png (74.26 KiB) Viewed 1994 times
Re: Editing Text On Payment Detail Page
You can change the translation of the labels and add your own CSS for changing the styling:
Themeing basics:
- https://aimeos.org/docs/latest/frontend ... me-basics/
Overwriting translations, e.g. for Laravel:
https://aimeos.org/docs/latest/laravel/ ... anslations
Themeing basics:
- https://aimeos.org/docs/latest/frontend ... me-basics/
Overwriting translations, e.g. for Laravel:
https://aimeos.org/docs/latest/laravel/ ... anslations
Code: Select all
'i18' => [
'en' => [
'client/code' => [
'payment.cardno' => ['Credit card number'],
'payment.expiry' => ['Expiration date'],
'payment.cvv' => ['Verification number']
]
]
]
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
-
- Posts: 12
- Joined: 15 Feb 2021, 22:23
Re: Editing Text On Payment Detail Page
Hi Thanks for the reply, after adding this into my shop.php file would I have to clear to cache for this to take effect?
Re: Editing Text On Payment Detail Page
No
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