How To Add New Payment Tabs?

I want to add a new payment tab. How?

Thank you.

design/backend/templates/views/payments/update.tpl

add this line:

{__("payments_tab4")}             

after this one:

{__("payments_tab3")}

Then create the payments_tab4 language variable and clear the cache

To be able to do this task you will need to do a core modification or use override, i'll prefer override :D and for this you need to do:

1. create file

design/backend/templates/addons/my_changes/overrides/views/payments/update.tpl

2. copy content from

design/backend/templates/views/payments/update.tpl

3. add how many tabs you need

#before

                
                    {__("payments_tab1")}
                    {__("payments_tab2")}
                    {__("payments_tab3")}
                

#after

                
                    {__("payments_tab1")}
                    {__("payments_tab2")}
                    {__("payments_tab3")}
                    {__("payments_tab4")}
                    {__("payments_tab5")}
                

* in this example are added another 2 tabs, tab_4 and tab_5

4. add translation for the tab

Administration > Languages > Translation

Require: My Changes Add-on to be active

Tested on CS-Cart version 4.3.5

I hope that helps,

---
Valentin
part of hungryweb.net

Thanks for your help. You are amazing. :grin:

Best regards.

Hi

i want to add more 2 payment tabs, and i did as mentioned here but it doesn't show in the payments categories (my cs cart version is 4.9.3 Multivendor.

although i created the payments_tab4 / payments_tab5 and language variable and cleared the cache as well

kindly help me to solve this problem many thanks

Regards

Hi

i want to add more 2 payment tabs, and i did as mentioned here but it doesn't show in the payments categories (my cs cart version is 4.9.3 Multivendor.

although i created the payments_tab4 / payments_tab5 and language variable and cleared the cache as well

kindly help me to solve this problem many thanks

Regards

Hello,

Is My changes add-on active? If yes, try to search for another add-on's override in design/backend/templates/addons folder. You can search by piece of code, for example, payment_data[payment_category]

Hi

i want to add more 2 payment tabs, and i did as mentioned here but it doesn't show in the payments categories (my cs cart version is 4.9.3 Multivendor.

although i created the payments_tab4 / payments_tab5 and language variable and cleared the cache as well

kindly help me to solve this problem many thanks

Regards

Try to delete the var/cache directory manually

Try to delete the var/cache directory manually

Hi,
Many thanks dear that's was what i not did not! now it works perfectly.
With respect
Regards