no-translate

How to hide a collection of products in the cart with HidePay

Step by step, explain how to hide any payment method, if there is a collection of products in the cart
Escrito por Abhi Jain
Atualizado 2 horas atrás

In this tutorial, we are going to explain to you how you can hide any payment method if there is are collection of products in the cart with HidePay.

Go to the HidePay dashboard and click on "Create button" in the Payment Customizations section."

When you click the Create Button, a pop-up window will appear. In this window, select the Advanced Customization option to proceed using one condition at a time.

After selecting Advanced Customization, we will create a rule. This is how the new customization page will appear.

Firstly, you will create a "Title," which is a required field. However, it is only for internal use and does not affect your live Shopify store.

You can name it however you like; it's just for reference. The image provided is just an example.

Next, we will select the function input as Standard Input and apply the rule. Since we are demonstrating how to hide payment methods based on a product collection in the cart, we will choose the right condition.

For example, if a customer selects a product from the Hydrogen category, they will not be able to pay using PayPal or Cash on Delivery (COD).

Based on your needs, you can choose to hide, sort, or rename payment methods at checkout. In this example, we are hiding certain payment options, so we will select the "Hide Payment Methods" option.

Next, we will pick the specific payment methods to hide. Since we want to block PayPal and COD, we will toggle them off so they won’t appear at checkout. If a payment method is missing from the list, you can also add a new one.

Finally, save the rule. Now, whenever a customer adds a product from this specific collection to their cart, they won’t see PayPal or COD as payment options.

From the dashboard, you can enable, disable, edit, or delete the rule at any time.

If you need any further help, feel free to reach out via email or HelpCrunch.

We are happy to help you with the HidePay application! 🚀

Esse artigo foi útil?