Jump to content

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

How To Replace The Small Paypal Incontext Logo Rate Topic   - - - - -

 
  • mokeshop
  • Senior Member
  • Members
  • Join Date: 27-Jul 12
  • 1005 posts

Posted 29 October 2018 - 10:32 PM #1

paypal-shape-pill small logo to replace with larger one.... how to? thanks in advance



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

Posted 30 October 2018 - 05:50 AM #2

app/addons/paypal/func.php

 

Find the  fn_paypal_get_checkout_payment_buttons function and add buttons array under the following line

environment: "'.$environment.'",

More details can be found here

 

https://developer.pa.../#buttons-array


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 руб.


 
  • mokeshop
  • Senior Member
  • Members
  • Join Date: 27-Jul 12
  • 1005 posts

Posted 31 October 2018 - 02:03 PM #3

i cant find this part :

 

buttons: [
{
container: 'id',
type: 'checkout',
color: 'gold',
size: 'small',
shape: 'pill'
}
]



 
  • mokeshop
  • Senior Member
  • Members
  • Join Date: 27-Jul 12
  • 1005 posts

Posted 31 October 2018 - 02:05 PM #4

ant this } else {

            $checkout_buttons[$payment_id] = '
                <form name="pp_express" id="pp_express" action="'. $form_url . '" method="post">
                    <input name="payment_id" value="' . $payment_id . '" type="hidden" />
                    <input src="https://www.paypalob...logo-large.png"type="image" />
                </form>
            ';
        }
 
is a else variant... when i update there noithing happnes


 
  • CS-Market
  • Senior Member
  • Authorized Reseller
  • Join Date: 06-Mar 13
  • 675 posts

Posted 31 October 2018 - 04:46 PM #5

paypal-shape-pill small logo to replace with larger one.... how to? thanks in advance

 

Please specify the page (link to it) where you want to replace the logo.


GET A FREE QUOTE  │  CS-Cart add-ons   │   CS-Cart custom development   │  CS-Cart design integration  │  CS-Cart license

Сертифицированный разработчик на CS-Cart Русская Версия. More than 5 years experience in CS-Cart development.


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

Posted 01 November 2018 - 04:59 AM #6

i cant find this part :

 

buttons: [
{
container: 'id',
type: 'checkout',
color: 'gold',
size: 'small',
shape: 'pill'
}
]

 

You should add it after the specified line of code. It is not used out of the box and default logo is used in this case


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 руб.