Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Payment By Rewards Points Disabled When Using Promo Code Rate Topic   - - - - -

 
  • smejia
  • Newbie
  • Members
  • Join Date: 08-Oct 14
  • 8 posts

Posted 21 January 2015 - 02:47 PM #1

Hi Everyone,

I was wondering if anyone has ran into this issue. We are implementing a Rewards Club into our site. I have everything in line, except for one thing...

We would like to disable the user from using payment by reward points if they use a discount or vice versa, disabling the use of discount codes with use of rewards points.

Does anyone have a fix for this? is there setting in the backend of CScart that I am missing?

We are running CScart 4.1

Any input would help or direction to any sort of knowledge base. Thanks!!

 
  • Angeltown
  • Advanced Member
  • Members
  • Join Date: 05-Feb 15
  • 136 posts

Posted 19 April 2015 - 01:06 PM #2

Did you work something out on this?

CS-Cart 4.7.4 & CS-Cart Multi-Vendor 4.9.1


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19483 posts

Posted 20 April 2015 - 10:02 AM #3

Please try the following solution. Open the design\themes\responsive\templates\addons\reward_points\hooks\checkout\payment_options.post.tpl file and replace:

{if $cart_products && $cart.points_info.total_price && $user_info.points > 0}

with

{if $cart_products && $cart.points_info.total_price && $user_info.points > 0 && !$cart.discount}

Hope this will help.

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • smejia
  • Newbie
  • Members
  • Join Date: 08-Oct 14
  • 8 posts

Posted 09 October 2015 - 07:42 PM #4

Please try the following solution. Open the design\themes\responsive\templates\addons\reward_points\hooks\checkout\payment_options.post.tpl file and replace:
 

{if $cart_products && $cart.points_info.total_price && $user_info.points > 0}
with

{if $cart_products && $cart.points_info.total_price && $user_info.points > 0 && !$cart.discount}
Hope this will help.

 

 

Thanks looks like this prevents customers from using any discount/promo codes when using rewards points. Even takes away the field for customer to put promo codes in.

 

Now the issue I am having is when the customer uses points it seems as thought the discount is being multiplied by 10 when they use the rewards points.

 

I have set our points system to be 200 point to equal $1 customers are getting 100% points per dollar so if they purchase an item for $500 they get 500 points. All that is fine, but when they use it something weird happens.

 

For instance I have 500 points if I were to use all 500 that would equate to a $2.50 discount but when they use the 500 points it takes off $25 dollars. So there is some snippet of code somewhere that I assume that is multiplying the discount by 10 to take off the $25 instead of $2.50

 

Any idea which file or what would need to be edited to prevent this? :confused:



 
  • sahibpkrbw
  • Member
  • Members
  • Join Date: 16-Aug 12
  • 21 posts

Posted 30 May 2018 - 10:48 PM #5

Hi guys 

 

 

I have the same Problem can some one help me to solve this issue  i am using CS-Cart  4.7.4 and i want to disable "Payment By Rewards Points Disabled When Using Promo Code"

 

 

Thanks



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3358 posts

Posted 31 May 2018 - 05:16 AM #6

Hi guys 

 

 

I have the same Problem can some one help me to solve this issue  i am using CS-Cart  4.7.4 and i want to disable "Payment By Rewards Points Disabled When Using Promo Code"

 

 

Thanks

 

Hello!

 

Did you try the solution provided by eComLabs?

 

 

As an alternative, check our Points and Cash add-on. It allows to disable points for carts with applied promotions. Also you will be able to specify the percentage of the product price that can be paid with reward points.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics