−Table of Contents
Removing PayPal from the Cart to force customers to FC checkout first
Basically what you'll be doing is altering the cart template in the FoxyCart administration to hide the Paypal checkout link. You can do this by either using CSS and setting the paypal element to display:none; or using javascript to .hide(); that element. This will ensure people are funneled through the FoxyCart checkout before heading to PayPal.
Taking this approach actually makes the customer have to enter more information, and doesn't show PayPal immediately on the cart template which could hurt conversions if someone is looking specifically for PayPal.
Step 1: Add a style to your cart template
On your cart template, paste the following in the <head>
section, after your <title>
tag and before any javascript includes:
<style type="text/css" > #fc_cart_container a.fc_cart_checkout_paypal, .fc_cart_checkout_or { display:none !important; } </style>
If using FoxyCart version 2.0, within your store's FoxyCart administration, add the following within the configuration page to the “add custom code to the header or footer” option - to the “header” textbox:
<style type="text/css" > .fc-action--payment--or, .fc-action--payment--paypal-express-checkout, .fc-action--payment--paypal-ec { display:none !important; } </style>