Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to deactivate an module from order_total if...


Guest

Recommended Posts

Hi there

 

I'm using the better 2gether module in conjunction with CCGV.

What I'm trying to achieve is testing if the customer applied a coupon and in that case, I want the 2gether dicount not to be applied on top of that.

 

I think it's just a question of testing a couple of variables created by the ot_coupon and ot_together classes, but I can't figure out the logic of the order_total process. All what I want to do is to zero the 2gether if coupon is not zero:

 

if $od_amount from ot_coupons != 0 {$od_amount from ot_together = 0}

 

my lack of knowledge of php classes hits me in the face :-)

 

Thanks for your help!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...