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
258 Posts

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

42916 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

jimhuang
Advanced Member

Taiwan
258 Posts

Posted - 01/29/2025 :  19:00:33  
Hi Vince

V7.78 new updater seems not solve above issue.

do I need to continue editing incemail.php?

Jim

Vince
Administrator

42916 Posts

Posted - 01/29/2025 :  23:41:34  
Hi Jim
Yes, I'm afraid I forgot about this change but I've just added it to the v7.8 updater now. But you will also need to add this parameter to the includes.php file...
$GLOBALS['loyaltypointnoemail']=TRUE;

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

jimhuang
Advanced Member

Taiwan
258 Posts

Posted - 01/30/2025 :  00:49:15  
Because I don't want to upload whole files, Can you advise which file do you change?


Jim

Vince
Administrator

42916 Posts

Posted - 02/01/2025 :  11:45:46  
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000