PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

Remove vouchers

5 replies to this topic
#1
WODP

    PrestaShop Apprentice

  • Members
  • PipPip
  • 91 posts
Hello, i have a question.
How to remove My vouchers from side block.
I have successfully removed them from 'My Account' with modifying my-account.tpl, but don't know which file to modify to remove it from side block. It points to discounts.php?

Picture is attached. It's small, but i hope you know what i mean.


On my testing prestashop im running also rewarding module (you get points for buys).Will modification affect it's sense?

Thank you for suggestions!
WODP

Attached Files



#2
Kangaroo

    PrestaShop Apprentice

  • Members
  • PipPip
  • 30 posts
simply mod blockmyaccount.tpl under the "blockmyaccount" folder. ;)

update: there's a connection between voucher and referral program. if the voucher is disable, customers do not need to generate the voucher from the reward points. anyway you certainly could define what things will be used for rewarding when they get enough points. but it probably get complicated. well, my idea.

#3
WODP

    PrestaShop Apprentice

  • Members
  • PipPip
  • 91 posts
Yeah, i was thinking on this. For now, i'll just hide My vouchers becouse sometimes it shows strange things, but on other hand need to run it for the thing you said - reward points :)

It would be great to have same point collecting but possibility to change them for some things.
Example:

You get 20 points - and then you have some things:
T-shirt for 10 points
Calculator for 20 points
DVD player for 50 points....

... and you have ability to change points for rewards. You can select 2 shirts in exchange for 20 points etc....

Unfortunately i'm not good in this. I can suggest, test and help, but can't develop it.


Thanks for tip, i forgot it's tab on the right and didn't search in modules.
Now i know what to do.

Be well,
WODP

#4
WODP

    PrestaShop Apprentice

  • Members
  • PipPip
  • 91 posts
So that i don't open another topic....
Where to translate: FREE ORDER (in my orders). I just can't find this line... grr

#5
GiorgianaM

    PrestaShop Newbie

  • Members
  • Pip
  • 2 posts
Hello,
I've searched this forum about removing vouchers and I found this post. Later, I figured out a more simple way: set variable PS_VOUCHERS to 0 in ps_configuration table.

#6
annalin

    PrestaShop Apprentice

  • Members
  • PipPip
  • 30 posts
Thank you so much for this bit of info, helped me a great deal, so much easier than editing the tpl.