Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Allow the use of vouchers
02-22-2014, 12:27 PM, (This post was last modified: 02-22-2014, 12:39 PM by PakRicard.)
#1
Allow the use of vouchers
Hi all:

I'm trying to set up webERP to allow the use of promotional vouchers (kind of "Get 50 USD OFF on your next purchase").

It is not a "credit note", and the extra benefit of controlling it as a "sold" product is that we can keep track of vouchers used.

So when customers come back and use the voucher we have to record this in webERP. I think the best way is to create a service item called VOUCHER-OFF-50 and record it as sold to the customer.

The only "but" is it has a negative price and webERP would need to allow this...

Now line 1135 in SelectOrderItems.php prevents the use of negative items. So line 1135 would read:
if ($Quantity<0 OR $DiscountPercentage >100 OR $DiscountPercentage <0){

Also, DefineCartClass.php would not need lines 109-110-111.

Does it looks reasonable to the community?
Regards,
Pak Ricard
Reply


Messages In This Thread
Allow the use of vouchers - by PakRicard - 02-22-2014, 12:27 PM
RE: Allow the use of vouchers - by phil - 02-26-2014, 05:54 PM
RE: Allow the use of vouchers - by Forums - 02-26-2014, 07:28 PM
RE: Allow the use of vouchers - by PakRicard - 02-27-2014, 10:55 AM
RE: Allow the use of vouchers - by Forums - 02-28-2014, 01:50 AM
RE: Allow the use of vouchers - by phil - 02-28-2014, 05:35 AM
RE: Allow the use of vouchers - by Forums - 02-28-2014, 05:48 AM
RE: Allow the use of vouchers - by PakRicard - 02-28-2014, 11:29 AM
RE: Allow the use of vouchers - by Forums - 02-28-2014, 03:15 PM
RE: Allow the use of vouchers - by phil - 02-28-2014, 01:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)