Jump to content

referral program set minimunt amount


Recommended Posts

Hi, i need that this module create a minimunt amount to use the voucher.

 

I look in the code and inert this line:

 

        $cartRule->quantity = 1;
        $cartRule->cart_rule_restriction = 1;
        $cartRule->quantity_per_user = 1;
 -->>$cartRule->minimum_amount_currency = 20;
        $cartRule->date_from = date('Y-m-d H:i:s', time());
        $cartRule->date_to = date('Y-m-d H:i:s', time() + 31536000); // + 1 year

 

But this not work, any ideas. My version is 1.5.6.2

 

Thanks in advanced

Share this post


Link to post
Share on other sites
  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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