---- dataentry snippet ---- type : snippet # do not change this line category : Misc cart and checkout # mention the category like 'shipping', 'checkout' etc name : Removing PayPal from the Cart to force customers to FC checkout first # the name of the snippet description : # description about snippet versions_tags : 0.6.0, 0.7.0, 0.7.1, 0.7.2, 1.0, 1.1, 2.0 # compatible versions reference_url : http://forum.foxycart.com/comments.php?DiscussionID=3497&page=1 # Item_4 # External link tags_tags : Advance, Snippets, cart and checkout # tags, separated by commas. date_dt : 2011-05-27 # the date in YYYY-MM-DD format ---- ====== 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 '''' section, after your '''' tag and before any javascript includes: <code css> <style type="text/css" > #fc_cart_container a.fc_cart_checkout_paypal, .fc_cart_checkout_or { display:none !important; } </style> </code> 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: <code css> <style type="text/css" > .fc-action--payment--or, .fc-action--payment--paypal-express-checkout, .fc-action--payment--paypal-ec { display:none !important; } </style> </code> ===== Related Forum Discussions ===== * http://forum.foxycart.com/comments.php?DiscussionID=3497&page=1#Item_4