Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
snippets:misc_cart_and_checkout:removing_paypal_from_the_cart [2013/02/14 06:29] – [Data entry] adamsnippets:misc_cart_and_checkout:removing_paypal_from_the_cart [2017/04/26 07:02] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ---- dataentry snippet ---- ---- dataentry snippet ----
-type          : snippet #do not change this line +type          : snippet # do not change this line 
-category      : Misc cart and checkout #mention the category like 'shipping', 'checkout' etc +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 +name          : Removing PayPal from the Cart to force customers to FC checkout first # the name of the snippet 
-description   :  #description about snippet +description   :  # description about snippet 
-versions_tags : 0.6.0, 0.7.0, 0.7.1, 0.7.2, 1.0 #compatible versions +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 +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. +tags_tags     : Advance, Snippets, cart and checkout # tags, separated by commas. 
-date_dt       : 2011-05-27 #the date in YYYY-MM-DD format+date_dt       : 2011-05-27 # the date in YYYY-MM-DD format
 ---- ----
 +
  
 ====== Removing PayPal from the Cart to force customers to FC checkout first  ====== ====== Removing PayPal from the Cart to force customers to FC checkout first  ======
Line 22: Line 23:
 <code css> <code css>
 <style type="text/css" > <style type="text/css" >
-  #fc_cart_container a.fc_cart_checkout_paypal {+  #fc_cart_container a.fc_cart_checkout_paypal, .fc_cart_checkout_or {
     display:none !important;     display:none !important;
   }   }
 </style> </style>
 </code> </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 ===== ===== Related Forum Discussions =====
  
   * http://forum.foxycart.com/comments.php?DiscussionID=3497&page=1#Item_4   * http://forum.foxycart.com/comments.php?DiscussionID=3497&page=1#Item_4

Site Tools