VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: johnstone123 on November 23, 2018, 08:37:05 AM

Title: Buy on account only for certain products
Post by: johnstone123 on November 23, 2018, 08:37:05 AM
Hello
I am new here in the forum and would like to greet all first!

For about 2 weeks, our shop is online and the finetuning prepares some concern.

The biggest problem at the moment is the payment modalities.
We offer purchase on "invoice", "SORFORTüberweisung" and "PayPal". (other payment options are under construction)
In addition to products, we also offer services. And we would like to have the services paid exclusively by PayPal or SOFORTüberweisung - not on account.

Is there a way to restrict the payment terms for certain products?
I use Joomla 3.7.3 Stable Virtuemart (if that matters)
Title: Re: Buy on account only for certain products
Post by: GJC Web Design on November 23, 2018, 10:02:55 AM
I assume u have the products grouped in cats? 
If not u can use unpublished cats to group them into invoice and non invoice

then in this case I use JS in the cart to hide the invoice payment option IF any product is in a non invoice cat

this can be all done in the cart template
Title: Re: Buy on account only for certain products
Post by: Studio 42 on November 23, 2018, 16:47:45 PM
You can add a categories restriction filter, to not show all paiment in case of services.
This is not in core for paiements, but it's possible to add the code to verify "services" category else you can use GJC Web Design solution if you have not many products of this type and use a static array