Jump to content

Customer loyalty and rewards in


Recommended Posts

hi i have installed this module for loyalty on my PS 1.6.1.2

however, it is working differently than my previous module on PS1.5

The loyalty point will only display during checkout.

it seems like it's a common issue for PS1.6 using loyalty module

You may want to give it a try and uninstall it if that bothers you

loyalty.zip

  • Like 2
Link to comment
Share on other sites

Thank you very much! Everything works!

that;s great it helped.

what about the points at product page? does it show how many points for the products or does it show "no reward points for this product?

i have the issue of showing no point on product page but not at the checkout page.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

that;s great it helped.

what about the points at product page? does it show how many points for the products or does it show "no reward points for this product?

i have the issue of showing no point on product page but not at the checkout page.

same here.  In the below example it should say you get 5 points for buying this (or whatever it should say), but it says, No reward points for this product.  Any fix for this?

post-243816-0-50438400-1450846328_thumb.png

Link to comment
Share on other sites

  • 2 months later...

Customer Loyalty and Rewards v1.2.9

I had same problems as above, and spent hours working on it.

 

The only solution that worked for me (and I still am unclear if I missed anything) was to delete the js folder in the /modules/loyalty folder.

(it has a zero length file named loyalty.js)

 

I then did a RESET on the module from the admin panel, reconfigured the options and it began working.

 

I know it is very frustrating to have ZERO response on this forum when you have problems with your website, so I hope that this helps somebody with the same problem.

 

PS: I may have uninstalled and reinstalled the module AFTER deleting the js folder, but I cannot remember as I was working on two sites with this same problem at the same time.

 

PPS: I will also be cross posting this solution on the other threads that I found with no solutions in case it helps them.

Link to comment
Share on other sites

  • 5 weeks later...

Customer Loyalty and Rewards v1.2.9

I had same problems as above, and spent hours working on it.

 

The only solution that worked for me (and I still am unclear if I missed anything) was to delete the js folder in the /modules/loyalty folder.

(it has a zero length file named loyalty.js)

 

I then did a RESET on the module from the admin panel, reconfigured the options and it began working.

 

I know it is very frustrating to have ZERO response on this forum when you have problems with your website, so I hope that this helps somebody with the same problem.

 

PS: I may have uninstalled and reinstalled the module AFTER deleting the js folder, but I cannot remember as I was working on two sites with this same problem at the same time.

 

PPS: I will also be cross posting this solution on the other threads that I found with no solutions in case it helps them.

Same problem here with prestashop 1.6.1.4

 

Please keeps us posted if you get any feedback

Link to comment
Share on other sites

  • 8 months later...

As a "last ditch" effort to make the Loyalty Points Module work for you, a modification can be made that will at least remove the negative display to your potential customers...

The changes are made to 2 files in your theme folder:

/themes/your_theme_name/modules/loyalty/views/templates/hook/product.tpl

go to the bottom of the file and replace this line:

{addJsDefL name=loyalty_nopoints}{l s='No reward points for this product.' mod='loyalty' js=1}{/addJsDefL}
with this line:
{addJsDefL name=loyalty_nopoints}{l s='Add to cart to see reward points for this product.' mod='loyalty' js=1}{/addJsDefL}
Then go to
/themes/your_theme_name/js/modules/loyalty/js/loyalty.js
and change this code block:
$(document).ready(function() {
	$(document).on('change', '#our_price_display', function(e){
		updateLoyaltyView(parseInt($('#our_price_display').text()));
	})
	updateLoyaltyView(parseInt($('#our_price_display').text()));
});

to this code:

$(document).ready(function() {
	$(document).on('change', '#our_price_display', function(e){
		updateLoyaltyView(parseFloat($('#our_price_display').text().replace("$", "")));
	});
/* FOLLOWING LINE COMMENTED OUT FOR INTERIM POINTS DISPLAY FIX - OBE */
	/* updateLoyaltyView(parseFloat($('#our_price_display').text().replace("$", ""))); */
});
These changes will modify the default "no points" behavior to display the phrase "Add to cart to see reward points for this product." instead of the default "No reward points for this product.".
 
Don't forget to backup your files before you change them!
 
Link to comment
Share on other sites

  • 2 months later...

hello i installed this module: Customer loyalty and rewards v1.2.8 - z PrestaShop

on my 1.7.0.5 presta and when i want open my cart i have this error:

 

SmartyCompilerException in smarty_internal_templatecompilerbase.php line 32:Syntax error in template "modules/loyalty/views/templates/hook/shopping-cart.tpl" on line 32 "{l s='that can be converted into a voucher of' mod='loyalty'} {convertPrice price=$voucher}{if isset($guest_checkout) && $guest_checkout}<sup>*</sup>{/if}.<br />" unknown tag "convertPrice"

 

 

can somebody help me with that?

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...