Jump to content
JACUK

Add "We Accept The Following Cards" box to other pages

Recommended Posts

Hi,

Thought I had finished this project ready to go live, but Worldpay are insisting, as part of their compliance,  that the card type that can be used for payment are displayed on the Delivery Method and Payment Information pages of the checkout process!

Could anyone steer me in the right direction on the easiest way to add the "We Accept The Following Cards" box to those pages. I don't want to dig around like a blind surgeon and cause other issues!

Thanks,

 

Julian

 

Installed Version: osCommerce Online Merchant v2.3.4.1 CE (Responsive)

Share this post


Link to post
Share on other sites

use the card acceptance  box which is in admin -> modules -> boxes

it will show on all pages - which isn't really a bad thing, as customers can see what you accept before they attempt to checkout

 


App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites

Thanks puddlec,

 

I have used that module to select the card logos that the WorldPay account accepts, and it displays on all the product / category pages.

However the box doesn't appear on the two pages i mentioned above.

Julian

Share this post


Link to post
Share on other sites

in the includes/modules/boxes/bm_card_acceptance.php

you could comment out line 36

if ( (substr(basename($PHP_SELF), 0, 8) != 'checkout') && tep_not_null(MODULE_BOXES_CARD_ACCEPTANCE_LOGOS) ) {

and

}

after $oscTemplate->addBlock($data, $this->group);  (line 48)

which would make it show on all pages

 

i did also make a footer module which works the same as the box module, which does show on all pages - which i never released

 


App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites

Thanks,

Solution applied and works perfectly.

Many thanks, very helpful.

Perhaps you should release your footer module!

Regards, Julian

Share this post


Link to post
Share on other sites

Isnt there a cards module already in the footer or was that something I added to my site.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites
12 minutes ago, 14steve14 said:

Isnt there a cards module already in the footer or was that something I added to my site.

one existing for footer_suffix - would need to change the language file and know the font awesome code to add/remove them


App created for phoenix
TinyMCE editor for admin

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×