Top

Hide the PayPal Button in Cart

1. In the cart.liquid theme file, locate where the {% for item in cart.items %} and place the following code below it.

 

Ex. 


{% assign hide = false %}
{% if item.product.type == 'Market Place' %}
{% assign hide = true %}
{% endif %}

 

2. Next locate where the Paypal button is in the cart template. It normally looks like this: {{ content_for_additional_checkout_buttons }} Once you have located the Paypal button wrap it with the following

 

{% unless hide %}
{% endunless %}
Have more questions? Submit a request