VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: servlet on December 16, 2015, 17:38:41 PM

Title: Payment for product category. Why not?
Post by: servlet on December 16, 2015, 17:38:41 PM
VM: 3.0.10 J! latest

I will start with shipment of product category.
There is an option:
If one product in the cart is associated to this category then the shipment is enabled.

Why there isnt same option for payment methods?

Blocking categories too...?
Title: Re: Payment for product category. Why not?
Post by: jenkinhill on December 16, 2015, 17:44:16 PM
How can shoppers buy products from more than one category if different payment methods are enforced?
Title: Re: Payment for product category. Why not?
Post by: servlet on December 16, 2015, 18:34:44 PM
How can shoppers receive products from more than one category if different shipment methods are enforced?
If there is such option for shipment method, there is a way to receive products....

I will tell you what is the way...
You can set one payment for all product categories (popular categories). For chosen (special) product categories you can set additional payment method.
When you add to cart product from special product category you can have 2 option for payment. If you add to cart product from popular category you will have only one payment method, because this there isnt second option for this category.

This is the same for shipment methods. If there is no problem for shipment, there is no problem for payment.

If you dont have global payment/shipment method for all products, there is a problem. If you set one payment/shipment method for half of products, then set different payment/shipment method for other half of products and add to cart products from both of halfs you will have miss-configuration, you will not display payment or shipment in cart. So all depend on your configuration.

Title: Re: Payment for product category. Why not?
Post by: Milbo on December 16, 2015, 19:48:04 PM
Quote
This is the same for shipment methods. If there is no problem for shipment, there is no problem for payment.

This is a project. I already provided the solution for shipments, right. So if you need it for payment, you can use my work and create the same solution for shipments and provide it as patch, so that we can integrate it.

I invented it already, why I should do the boring work and clone the pattern for payments, when none customer asked me todo so.
Title: Re: Payment for product category. Why not?
Post by: servlet on December 16, 2015, 21:14:00 PM
Thank you for replay Milbo
If I was a coding master I will send you a lot of improvements ;) I have knowledge for html and css. Now I am starting with php...
I will wait for this improvement.
regards
Title: Re: Payment for product category. Why not?
Post by: Milbo on December 17, 2015, 01:02:47 AM
Just learn to use the svn, it is not hard. Actually more a psychological thing. To create a patch is then just some mouse clicks. http://dev.virtuemart.net/projects/virtuemart/wiki/Setting_up_a_Development_Environment
Title: Re: Payment for product category. Why not?
Post by: servlet on December 17, 2015, 01:38:37 AM
I will check it.
thanks