Join us March 21 for an AMA on planning your 2023 marketing budget with 2H Media co-owners, Matt and Aron

Manual Payment Method only for specific Customers

countcasper
New Member
3 0 5

Hi there,

 

I'm wondering if anyone has succeeded at adding the manual payment option to be accessible only by customers with a specific tag. We have some existing clients that pay by manual payment methods; however, I do not want these options to be available to the general public.

 

Any thoughts?

Thank you for your time,

Replies 9 (9)
AwareWare
Excursionist
31 0 10

You can put something like this, with a hidden div in each product description:

 

<div id="manual" style="display:none">
Your manual payment form or iframe goes here.
</div>

 

and then check for the tag you want to make the div visible:

 

if (manualTag=="yes") document.getElementById('manual').style.display='block';

rgonzalez
New Member
2 0 0

Is this looking for a tag in the product or the customer?  Id like for it to check for a tag in the customer.


@AwareWare wrote:

You can put something like this, with a hidden div in each product description:

 

<div id="manual" style="display:none">
Your manual payment form or iframe goes here.
</div>

 

and then check for the tag you want to make the div visible:

 

if (manualTag=="yes") document.getElementById('manual').style.display='block';


 

JulianMTE
New Member
2 0 2

Facing the same problem - were you able to fix it, yet?

Layali
Tourist
10 0 7

looking for a solution for this as well!!

andyhobday
Tourist
6 0 0

Me too, does anyone have a solution for this?  Happy to go with an app.

Hoch1
Tourist
3 0 6

Has anyone found a solution for this challenge?

garyrgilbert
Shopify Partner
195 18 95

The only way I can see this working (without an app) is if you have shopify plus and have access to the checkout.liquid.

You would need to have some javascript listening for the payment_method step, first hide the pay by invoice possibility, then set a couple js variables indicating whether the customer is logged in AND has a specific tag (B2B or something) and then if both are ok then unhide the pay-by-invoice option.. if the customer is not logged in or logged in and doesnt have the special tag you should remove the pay-by-invoice method from the DOM completely otherwise you could have someone who has a little knowlege of js unhide the option.. which means more work on your end to vet all the orders.

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Matthew_Harper1
Excursionist
32 0 18

Hi

 

I would like to show the manual payment method only to customers who have a specific tag, and hide it for all others.

 

Has anybody managed to find a solution for this without using Shopify Plus?

 

Many thanks

Matt

stedes
New Member
2 0 1