Jump to content

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

Change default payment logos on homepage? Rate Topic   * * * * * 1 votes

 
  • parodius420
  • Senior Member
  • Members
  • Join Date: 03-Dec 11
  • 611 posts

Posted 16 July 2012 - 06:36 AM #1

How do you change the default logos on the homepage for the payment methods? Like default is 2CO, Visa, etc. Im not accepting 2co etc and need to remove these and add my own. Thanks

 
  • Triplets
  • Senior Member
  • Members
  • Join Date: 23-Sep 08
  • 1179 posts

Posted 16 July 2012 - 11:52 AM #2

It is a static template block. Meaning you have to modify it outside the Block Manager. It is in blocks/static_templates /payment_icons.tpl

Cs-cart says the easier way is:

This payment icon block is currently a static block, thus can't be modified. You can just replace it with an HTML block and populate it with the icons you need (or any other content actually).

 
  • parodius420
  • Senior Member
  • Members
  • Join Date: 03-Dec 11
  • 611 posts

Posted 16 July 2012 - 05:29 PM #3

Done. Thanks!

 

Posted 18 July 2012 - 05:57 AM #4

i can see a lot of people needing to simply remove some of the logos in which case to save a bit of time simply delete the existing block for payment icons and create a new html block. Give it a class of payment-icons and onpen up the html editor in the content box and add this code

<div class="payment-icon twoco"></div>
<div class="payment-icon paypal"></div>
<div class="payment-icon google"></div>
<div class="payment-icon mastercard"></div>
<div class="payment-icon visa"></div>

Simply omit the ones above that you do not need.

**Applies to Cscart V3 and above**

 
  • Triplets
  • Senior Member
  • Members
  • Join Date: 23-Sep 08
  • 1179 posts

Posted 18 July 2012 - 10:56 AM #5

Simply omit the ones above that you do not need.


This doesn't work if you want to add American express or discover cards. Cs-cart omitted them from the group graphic. I made my own group graphic with all the credit card options I wanted.

 
  • parodius420
  • Senior Member
  • Members
  • Join Date: 03-Dec 11
  • 611 posts

Posted 18 July 2012 - 05:43 PM #6

Yeah I just had to make my own graphic and put it there in a new block. It wouldnt delete the graphic from each individual line I delete in the code above.

 

Posted 19 July 2012 - 01:07 AM #7

Agreed, to add images you would have to source the new icons you need and link them in directly.

My solution is simply an easy and quick way for people wanting only to delete the graphics they don't need from the 5 default ones already supplied.

90% of our clients only need to display the visa logos and paypal, which is why i have found my solution quick and easy.

Realistically there could be an option to simply tick which icons you need to display and im sure we'll probably see this in future releases.

 

Posted 29 July 2012 - 07:46 AM #8

Thank you for posting your method! You saved me from having to use extra brain cells ;]

 
  • jhagg
  • Senior Member
  • Members
  • Join Date: 27-Mar 11
  • 233 posts

Posted 12 August 2012 - 04:27 PM #9

Agreed, to add images you would have to source the new icons you need and link them in directly.

My solution is simply an easy and quick way for people wanting only to delete the graphics they don't need from the 5 default ones already supplied.

90% of our clients only need to display the visa logos and paypal, which is why i have found my solution quick and easy.

Realistically there could be an option to simply tick which icons you need to display and im sure we'll probably see this in future releases.


Where is the path to the icons if I want to modify an existing one or use as a template to create more?

 
  • btrials
  • Senior Member
  • Members
  • Join Date: 03-Jul 07
  • 193 posts

Posted 21 September 2012 - 05:58 PM #10

Jessse posted an awesome tutorial here: http://forum.cs-cart...__fromsearch__1

 
  • meseta
  • Member
  • Members
  • Join Date: 19-Jun 12
  • 42 posts

Posted 02 October 2012 - 10:03 PM #11

We have changed the default logos on the homepage for the payment methods. Please review it at lootbids.com