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 [2014/08/06 20:58] – [Step 1: Add a style to your cart template] Adding 2.0 option sparkwebsnippets: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 28: Line 29:
 </code> </code>
  
-If using FoxyCart version 2.0, you'll use this code instead:+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> <code css>
 <style type="text/css" > <style type="text/css" >
-  .fc-action--payment--or, .fc-action--payment--paypal-express-checkout {+  .fc-action--payment--or, .fc-action--payment--paypal-express-checkout, .fc-action--payment--paypal-ec {
     display:none !important;     display:none !important;
   }   }

Site Tools