Jump to content
AndreyNekrasov!

Customer loyalty and rewards in

Recommended Posts

Hi!

 

In the version 1.6.1.1х of the module was  "Customer loyalty and rewards v1.2.8 - by PrestaShop" in the "discounts and promotions" and was free of Prestashop. I installed version 1.6.1.2. and this module is not included ...

How can I install it?

 

Thanks for the help!

Share this post


Link to post
Share on other sites

I'm also interested to activate this module again in prestashop 1.6.1.2.

I have looked in prestashop original package and it is not included anymore.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!
 

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

PS 1.6.1.12 , Loyalty module 1.2.9 

Doesnt work with major currencies like $ or euro. It works only with other like Russian RUB or Argentinian Peso.

Tested online and offline on locallhost.

 

 

Anybody idea?

Thanks

Edited by Zeryk (see edit history)

Share this post


Link to post
Share on other sites

Has anyone managed to make it work in prestashop 1.7.1?
We migrate stores from versions prior to 1.7 and we have loyalties we need help.
Thank you.

Share this post


Link to post
Share on other sites

Same here.. There seems to be an error when the client goes to the cart page. Has anyone have a fix? Thank you.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More