Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 loyalty points redemption
Author « Topic »  

jimhuang
Advanced Member

Taiwan
248 Posts

Pre-sales questions only
(More Details...)

Posted - 01/05/2024 :  07:20:30  
There is a setting $emailorderstatus=2; in includes.

When a login customer place an email order, but not complete the payment by bank transfer, then he places a second order and complete payment by PayPal, however he gets a redemption discount.

How can I avoid the not a real consumer redemption discount?

Jim


Vince
Administrator

42756 Posts

Posted - 01/07/2024 :  09:37:28  
Hi Jim
I see the problem but there isn't current a way to stop that happening so it will have to be a custom edit for now until I find a better way to sort this out. So open the file...
vsadmin/inc/incemail.php
...in notepad and search for this line...

if(@$loyaltypoints!='' && $orderloyaltypoints==0 && $sendmanufemail){

Then on the line BEFORE that add this line...

if($payprovid==4) $loyaltypoints='';

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000