Hello everybody,
I want to change the payment module COD (wich I do not need) into a "Pay when receiving invoice" (wich does not exist).
Since the shop offers virtual and non virtual products the payment module "Pay when reveiving invoice" shall only be available, if the cart does not carry any virtual product.
My question: How can I change the line in /includes/modules/payment/coc.php in a way that it applies not only for content=virtual but also for content contains virtual amongst others?
I tried to replace
if ($this->enabled == true) {
if ($order->content_type == 'virtual') {
$this->enabled = false;
with <= or >= but without success.
Any ideas?
Thanks
Ruben
Bookmarks