Jump to content
Andreea

Modul plata ramburs

Recommended Posts

Buna ziua,

Doresc ca pentru facturile care depasesc suma de 5000 lei sa dezactivez metoda de plata ramburs. Imi poate oferi cineva o solutie in acest sens?

Andreea 

Share this post


Link to post
Share on other sites

Buna,

in folderul vei gasi fisierul: /modules/ps_cashondelivery/ps_cashondelivery.php

la linia 94 vei gasi:

if ($this->hasProductDownload($params['cart'])) {

va trebui sa o schimbi cu aceasta:

if ($this->hasProductDownload($params['cart']) || $params['cart']->getOrderTotal() > Tools::convertPrice(5000, $params['cart']->id_currency)){

 

ar trebui sa o comentezi linia veche iar sub .. sa o pui pe cea noua:

//if ($this->hasProductDownload($params['cart'])) {

Capture.JPG

Share this post


Link to post
Share on other sites

Multumesc

Functioneaza perfect.

O zi frumoasa

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More