CubeCartForums.org for CubeCart third-party documentation, modifications, skins and services

Welcome Guest ( Log In | Register )

 Forum Rules New mod submissions
2 Pages V   1 2 >  
Reply to this topicStart new topic
> Free CubeCart V4 Payment Gateway Logo
Dijitul
post Dec 11 2007, 04:49 PM
Post #1


Member
Group Icon

Group: Members +
Posts: 108
Joined: 30-May 07
From: Nottingham, UK
Member No.: 454




File Name: Free CubeCart V4 Payment Gateway Logo
File Submitter: MinuteDesigns
File Submitted: 11 Dec 2007
File Updated: 11 Dec 2007
File Category: Gateways

Have you ever wanted to see visually which payment option you want to pay by? A great big "PAYPAL" logo is always better than text!!

Well here we are, the answer to your prayers (kind of)... Here by popular demand (kind of) lol! smile.gif


CODE
Payment Gateway Logo for CubeCart V4
Tested upto CubeCart Version: 4.1.0RC2
---------------------------------------
Written by: Minute Designs
URL: http://www.minutedesigns.com
---------------------------------------

In every mod folder there is a admin folder containing a "logo.gif" which has the gateway logo, this is

displayed in your admin area of your website, and can be changed by going to the folder and re-uploading

(for custom gateways or make a logo for the Postal Order Form") new or replacements ones.. Handy if the logo

you are using is out of date.  There is a possibility to remove the text, and just have paypal showing.  However this is

not recommended due to accessibility issues.  Thanks for downloading and buying.

---------------------------------------

This CubeCart v4 Mod must not be changed, replicated, adjusted and or resold without my prior written

consent.  I also highly recommend doing a backup of all files you are going to mod, you must also agree to

not hold me responsible for any problems, or dataloss or order loss this addon may or may not cause upon

installing it, whether it be incorrectly installed or not.

for support on mods please e-mail:    mods@minutedesigns.com

PLEASE NOTE ON A GATEWAY SUCH AS POSTAL ORDER NO IMAGE EXSISTS FOR IT, YOU WILL NEED TO MAKE ONE FOR IT

OTHERWISE A RED 'X' WILL SHOW IN IE, HOWEVER THIS DOES NOT SHOW IN FireFox.

A Postal/Print Order Form gif can be downloaded from:

http://www.minutedesigns.com/shop/modules/gateway/Print_Order_Form/admin/logo.gif

---------------------------------------


---------------------------------------

In skins/your skin/styleTemplates/content/gateway.tpl
---------------------------------------


Find
---------------------------------------

<td class="{TD_CART_CLASS}">{VAL_GATEWAY_DESC}</td>

Replace With
<td class="{TD_CART_CLASS}"><img src="{VAL_GATEWAY_LOGO}" /><br />{VAL_GATEWAY_DESC}</td>

---------------------------------------

In includes/content/gateway.inc.php
---------------------------------------


Find:
-------------------------------------
$gateway->assign("VAL_GATEWAY_FOLDER",$gatewayModules[$i]['folder']);


And Add After:
-------------------------------------
$gateway->assign("VAL_GATEWAY_LOGO","modules/gateway/".$gatewayModules[$i]['folder']."/admin/logo.gif");



----------END----------


Any questions, or comments? Feel free to PM Me on the Forum.

Click here to download this file
Go to the top of the page
 
+Quote Post
Doloma.net
post Dec 13 2007, 04:52 PM
Post #2


Newbie
Group Icon

Group: Members
Posts: 6
Joined: 3-April 07
Member No.: 192



Lovely add-on!
Go to the top of the page
 
+Quote Post
Firen
post Dec 13 2007, 11:32 PM
Post #3


Member
Group Icon

Group: Members
Posts: 66
Joined: 20-October 07
From: Australia
Member No.: 2,016



Fantastic! Off to download and install now.
Thankyou. smile.gif


--------------------
Fiona
Go to the top of the page
 
+Quote Post
Dijitul
post Dec 21 2007, 09:32 AM
Post #4


Member
Group Icon

Group: Members +
Posts: 108
Joined: 30-May 07
From: Nottingham, UK
Member No.: 454



QUOTE (Firen @ Dec 13 2007, 11:32 PM) *
Fantastic! Off to download and install now.
Thankyou. smile.gif


Glad to help! It's something I expected from CubeCart 4 actually!
Go to the top of the page
 
+Quote Post
Firen
post Dec 21 2007, 09:43 AM
Post #5


Member
Group Icon

Group: Members
Posts: 66
Joined: 20-October 07
From: Australia
Member No.: 2,016



It definitely looks much better with the images.
Thanks again. smile.gif


--------------------
Fiona
Go to the top of the page
 
+Quote Post
Dijitul
post Feb 28 2008, 09:54 AM
Post #6


Member
Group Icon

Group: Members +
Posts: 108
Joined: 30-May 07
From: Nottingham, UK
Member No.: 454



Having a few emails regarding the mod, mainly the image. It's not "viewable" becaue I deleted the shop off of the site (forgetting I had a link to the image) Here is my reponse, so please make sure you read and understand before contacting me.

------------------------------------------------

Hi there, the postal mail image needs to be in the propper folder, ie

modules/gateway/Print_Order_Form/admin/

If your hot linking directly to (or trying to get the image):

http://www.minutedesigns.com/shop/modules/.../admin/logo.gif

Then this will not work as i have deleted the shop from my website! Sorry,

Just use MS Paint or Photoshop or Fireworks to edit the image on this forum to gain the graphic!

Thanks
Go to the top of the page
 
+Quote Post
jayden88
post Apr 25 2008, 04:39 PM
Post #7


Member
Group Icon

Group: Members
Posts: 46
Joined: 28-March 08
Member No.: 4,188



Fantastic free mod. It works beautifully! Thank you very much.
Go to the top of the page
 
+Quote Post
onebrowncow
post Jul 31 2008, 10:05 AM
Post #8


Member
Group Icon

Group: Supporter
Posts: 194
Joined: 9-July 08
From: Hampshire Wiltshire Border UK
Member No.: 5,473



Many thanks! for a quick, easy mod making payment options so much more obvious.
Go to the top of the page
 
+Quote Post
Dijitul
post Aug 1 2008, 11:07 PM
Post #9


Member
Group Icon

Group: Members +
Posts: 108
Joined: 30-May 07
From: Nottingham, UK
Member No.: 454



QUOTE (onebrowncow @ Jul 31 2008, 11:05 AM) *
Many thanks! for a quick, easy mod making payment options so much more obvious.


No problems, it totally makes it visually easier to notice! Best of all it uses the admin images from within cubecart!
Go to the top of the page
 
+Quote Post
jsgypsy
post Aug 4 2008, 08:50 AM
Post #10


Member
Group Icon

Group: Members
Posts: 47
Joined: 30-April 08
Member No.: 4,633



I think this is a great mod and I would love to use it, but I think that I can't because I am using an alternate gateway. Has anyone else been able to successfully get it to work while using Paypal WPP?

Here is what happens on mine during checkout:



I definitely do NOT have the postal image in any other folder besides the modules/gateway/Print_Order_Form/admin/ so I don't understand how it is picking it up in the alternate gateway fields.

I have checked, rechecked, and uninstalled/installed it umpteen times - it is hardly a hard mod to follow LOL. I am wondering if the coding needs a bit of tweaking for me.

I'd be happy to only have the extra image show for the printable mod only.

Help before I go insane with this! tongue.gif


--------------------
------------------------------------

Rachel
Go to the top of the page
 
+Quote Post
ElectricStudio.c...
post Aug 13 2008, 02:17 PM
Post #11


Member
Group Icon

Group: Members +
Posts: 48
Joined: 5-September 07
From: Oxford, UK
Member No.: 1,519



Hello

Has anyone got a fix to make this work with Convicts Quick Checkout v1? Appriciate any help ;-)
Go to the top of the page
 
+Quote Post
onebrowncow
post Aug 14 2008, 08:30 AM
Post #12


Member
Group Icon

Group: Supporter
Posts: 194
Joined: 9-July 08
From: Hampshire Wiltshire Border UK
Member No.: 5,473



QUOTE (jsgypsy @ Aug 4 2008, 09:50 AM) *
I think this is a great mod and I would love to use it, but I think that I can't because I am using an alternate gateway. Has anyone else been able to successfully get it to work while using Paypal WPP?

Here is what happens on mine during checkout:



I definitely do NOT have the postal image in any other folder besides the modules/gateway/Print_Order_Form/admin/ so I don't understand how it is picking it up in the alternate gateway fields.

I have checked, rechecked, and uninstalled/installed it umpteen times - it is hardly a hard mod to follow LOL. I am wondering if the coding needs a bit of tweaking for me.

I'd be happy to only have the extra image show for the printable mod only.

Help before I go insane with this! tongue.gif

Hi, get exactly the same thing by enabling PayPal Payments Pro, I end up with my Post logo above the PayPal logo as shown on your middle line. Havent got a fix but least I know now whats causing it.

Images show my checkout with PayPay Pro enabled in top image and just the standard PayPal gateway enabled below it.




This post has been edited by onebrowncow: Aug 14 2008, 08:39 AM
Go to the top of the page
 
+Quote Post
jsgypsy
post Aug 14 2008, 08:57 AM
Post #13


Member
Group Icon

Group: Members
Posts: 47
Joined: 30-April 08
Member No.: 4,633



smile.gif well it's nice to have affirmation from time to time that I've not lost it lol

Adam graciously offered to have a look at the files, which I've sent to him, so hopefully he can come up with a fix for it.



--------------------
------------------------------------

Rachel
Go to the top of the page
 
+Quote Post
Dijitul
post Aug 26 2008, 05:19 PM
Post #14


Member
Group Icon

Group: Members +
Posts: 108
Joined: 30-May 07
From: Nottingham, UK
Member No.: 454



QUOTE (jsgypsy @ Aug 14 2008, 08:57 AM) *
hopefully he can come up with a fix for it.


Hi sorry been very very busy with paid jobs atm; without looking its possibly a change in code for the newer version. They do love changing things that are not broken!

However just a quick post of the "Logo" ppl require; some people i belive have this working - again I am unsure on to everyones version of CC!


http://www.minutedesigns.com/cc4gwlogo/logo.gif


I'll have a look shortly about this bug on the new CC4!
Go to the top of the page
 
+Quote Post
rich1231
post Aug 29 2008, 10:29 PM
Post #15


Member
Group Icon

Group: Members
Posts: 148
Joined: 17-June 08
Member No.: 5,187



QUOTE (MinuteDesigns @ Aug 26 2008, 05:19 PM) *
Hi sorry been very very busy with paid jobs atm; without looking its possibly a change in code for the newer version. They do love changing things that are not broken!

However just a quick post of the "Logo" ppl require; some people i belive have this working - again I am unsure on to everyones version of CC!


http://www.minutedesigns.com/cc4gwlogo/logo.gif


I'll have a look shortly about this bug on the new CC4!


I get the same issues as above but with the GC image repeated
Go to the top of the page
 
+Quote Post
DavidC
post Aug 30 2008, 11:52 AM
Post #16


Member
Group Icon

Group: Members
Posts: 33
Joined: 21-May 08
From: London
Member No.: 4,865



I would like to add this mod for card payment so i can add a picture of cards like above but i dont know where to get the image from?
Go to the top of the page
 
+Quote Post
Degsey
post Aug 30 2008, 11:44 PM
Post #17


CubeCart Jedi Knight
Group Icon

Group: Members +
Posts: 1,566
Joined: 15-March 07
From: North Carolina
Member No.: 51



The mod will use the images already used in payment gateways in admin.

Degsey
Go to the top of the page
 
+Quote Post
rich1231
post Sep 7 2008, 06:53 AM
Post #18


Member
Group Icon

Group: Members
Posts: 148
Joined: 17-June 08
Member No.: 5,187



QUOTE (Degsey @ Aug 30 2008, 11:44 PM) *
The mod will use the images already used in payment gateways in admin.

Degsey



Hi there,

any luck with a fix for the repeated image issue?
Regards

Richard
Go to the top of the page
 
+Quote Post
jsgypsy
post Nov 23 2008, 01:57 PM
Post #19


Member
Group Icon

Group: Members
Posts: 47
Joined: 30-April 08
Member No.: 4,633



I found a workaround for this since it wasn't working if you have an alternate gateway(I use WPP)....

just simply add the code for the image into the configuration settings for the gateway, in the text area for the description.

So for instance, for Paypal, I entered:

QUOTE
<img src=modules/gateway/PayPal/admin/logo.gif><br/><b>Pay by Paypal</b>


you can do it as I did above, or use single quotes for the image. If you use double quotes the image will still show, but it doesn't like the double quotes and so will look like the code has spilled out of the text area. Easily fixed though by just replacing the code and saving the changes.


--------------------
------------------------------------

Rachel
Go to the top of the page
 
+Quote Post
Dijitul
post Nov 23 2008, 04:03 PM
Post #20


Member
Group Icon

Group: Members +
Posts: 108
Joined: 30-May 07
From: Nottingham, UK
Member No.: 454



Please do not post invalid HTML Code;

The Correct Code would be:
CODE
<img src="modules/gateway/PayPal/admin/logo.gif" alt="Pay by Paypal" /><br /><strong>Pay by Paypal</strong>


and I would recommending the src url to be http://yoururl.ext/modules....

And with that the text would come below the logo not ontop ot by the side and is yes a simple work around, although the other code did it automatically.

CubeCart v4 has changed way too much in past months, And we are honestly way too busy still with other works! so apologies for not updating!
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th November 2014 - 12:07 AM
CubeCart Developers Network
Get CubeCart!
© 2007 - 2014  CubeCartForums.org in association with Inspired Solutions. Sponsored by Devellion