Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How Can I Add New Payment Category? Rate Topic   - - - - -

 
  • Jamalla
  • Senior Member
  • Members
  • Join Date: 23-Sep 17
  • 231 posts

Posted 19 March 2018 - 10:40 AM #1

Hi,

 

How can I add new Payment Category? Like "Others" ?

 

 

r5DurDE.png



 
  • Alt-team
  • CS-Cart Developer
  • Authorized Reseller
  • Join Date: 18-Jan 11
  • 2622 posts

Posted 19 March 2018 - 12:29 PM #2

Check the backend templates.

 

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


ADD-ONS  Web development service  | CS-Cart dedicated developers

Buy MULTIVENDOR - USD 1250 (14% off)   Buy CS-CART LICENCE - USD 345 (13% off)

 Email - manager@alt-team.com | Skype - Altteam    


 
  • Jamalla
  • Senior Member
  • Members
  • Join Date: 23-Sep 17
  • 231 posts

Posted 19 March 2018 - 01:59 PM #3

Check the backend templates.

 

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

 

Thanks for the reply;

I found this related code:

        <div class="control-group" data-ca-form-group="category">
            <label class="control-label" for="elm_payment_category_{$id}">{__("payment_category")}:</label>
            <div class="controls">
                <select id="elm_payment_category_{$id}" name="payment_data[payment_category]">
                    <option value="tab1" {if $payment.payment_category == "tab1"}selected="selected"{/if}>{__("payments_tab1")}</option>
                    <option value="tab2" {if $payment.payment_category == "tab2"}selected="selected"{/if}>{__("payments_tab2")}</option>
                    <option value="tab3" {if $payment.payment_category == "tab3"}selected="selected"{/if}>{__("payments_tab3")}</option>
                </select>
                <p class="description">
                    <small>{__("payment_category_note")}</small>
                </p>
            </

Do you think it's enough to change the language variables:

qiylW4U.png



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18798 posts

Posted 20 March 2018 - 04:42 AM #4

Sure, you can change language variable if extra tabs are not required


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Jamalla
  • Senior Member
  • Members
  • Join Date: 23-Sep 17
  • 231 posts

Posted 25 March 2018 - 02:53 PM #5

Thanks Friends :)



 
  • cristyxx
  • Member
  • Members
  • Join Date: 12-Sep 17
  • 37 posts

Posted 20 July 2018 - 01:27 PM #6

It's enough to add a new tab in design/backend/templates/views/payments/update.tpl ?

No needed to add a new value in database?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18798 posts

Posted 23 July 2018 - 06:39 AM #7

It's enough to add a new tab in design/backend/templates/views/payments/update.tpl ?

No needed to add a new value in database?

 

Yes, you are right. No need to update database


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 06 February 2019 - 04:05 AM #8

hello guys, i didnt find where design/backend/templates/views/payments/update.tp in my admin panel? 
any one can help me