[1.5] how to REMOVE reward points program

Post By:user_30 | Reply

There doesn't seem to be a place in the Admin to remove the Reward Points from a store without programming... is this true?
It must be removed manually from at least product.tpl and account.tpl?

TIA,
Merry
user_30832Tue, 27 Dec 2011

Thanks the mod worked :)

user_30831Tue, 22 Nov 2011

THANK YOU for your Mod!!!! :)

user_30830Sat, 12 Nov 2011

Sorry but I am very new at this. I know I need to delete the code and I found the file but could anyone be more specific and tell me what exactly do I need to remove and from which file? The only file I found was the theme/product/product.tpl

Also a bit off topic, how do I remove the product model on the product information? I don't think I need to overwhelm my customer with this extra information.

Thanks

user_490Sun, 30 Oct 2011

mwd wrote:I've been loving all the VQmods lately so I thought I would try my hand at making one for this.
So far it seems to be working like a charm on the default template.

If you aren't using the default template, you'll have to make two small changes to the paths in the xml file to replace "default" with the name of your template.

Here on line 6:
Code: Select all
<file name="catalog/view/theme/default/template/product/product.tpl">

change to

<file name="catalog/view/theme/Your-Template-Name/template/product/product.tpl">

and here on line 12:
Code: Select all
<file name="catalog/view/theme/default/template/account/account.tpl">

change to

<file name="catalog/view/theme/Your-Template-Name/template/account/account.tpl">


This is my first attempt at a VQmod so let me know if it doesn't work for you.


that worked perfectly thanks!!!

user_15323Fri, 21 Oct 2011

I also thought that uninstall the Reward Points means the whole things related would be gone, because it is meaningless to still have the Reward Points showing at the product page and in the customer account when it is not in use.

That would be great if this can be implemented with the uninstall function, but it is an easy fix so I am not really complaining.

Not sure if this extension works with 1.5.1.3.1 or not...

user_30829Thu, 08 Sep 2011

that VQmod above works perfect if you are using default templates
Thanks MWD

user_10018Mon, 29 Aug 2011

I have never been a fan of reward points so deleting the line in both product.tpl and account.tpl does the job easily.

user_10195Thu, 18 Aug 2011

I've been loving all the VQmods lately so I thought I would try my hand at making one for this.
So far it seems to be working like a charm on the default template.

If you aren't using the default template, you'll have to make two small changes to the paths in the xml file to replace "default" with the name of your template.

Here on line 6:

Code: Select all
<file name="catalog/view/theme/default/template/product/product.tpl">

change to

<file name="catalog/view/theme/Your-Template-Name/template/product/product.tpl">

and here on line 12:
Code: Select all
<file name="catalog/view/theme/default/template/account/account.tpl">

change to

<file name="catalog/view/theme/Your-Template-Name/template/account/account.tpl">


This is my first attempt at a VQmod so let me know if it doesn't work for you.

user_30828Thu, 18 Aug 2011

Awesome, I just deleted them and saved the code in a notepad for possible use later. It completely removed it. Thanks for the help!

user_3512Thu, 18 Aug 2011

gbisqit wrote:Hey avanoire, thank you for the help, but for some reason it doesn't work for me. I have opencart 1.5.1.1 with the shoppica theme, and I followed your instructions but it didn't work. Should I just delete those lines instead?


You could delete them or just comment them out. Personally I prefer commenting code out in the event you ever change your mind and want to easily add it back in. One of the below ways will work to comment out code.

<!-- Code here -->

/* Code here */

// Code here

user_30828Thu, 18 Aug 2011

Hey avanoire, thank you for the help, but for some reason it doesn't work for me. I have opencart 1.5.1.1 with the shoppica theme, and I followed your instructions but it didn't work. Should I just delete those lines instead?

user_950Tue, 16 Aug 2011

Hi! I've gotten rid of all reward points(that I've found) in the frontend, not commenting out the php but by putting the reward lines in a span and then creating a class with display:none.

First put

Code: Select all
span.rew{display:none;}
in your theme's stylesheet.
Then on cirka line 56 in theme's template/product/product.tpl replace:
Code: Select all
<span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br />

with:
Code: Select all
<span class="rew"><?php echo $text_reward; ?> <?php echo $reward; ?></span>

Then cirka line 26 in theme's template/account/account.tpl replace:
Code: Select all
 <li><a href="<?php echo $reward; ?>"><?php echo $text_reward; ?></a></li>

with:
Code: Select all
<span class="rew"><a href="<?php echo $reward; ?>"><?php echo $text_reward; ?></a></span>

(and removing the <li> and the </li> on both ends )

Have'nt found any other sections with the reward points but maybe there is.

Cheers
/Jessica

user_388Sun, 26 Jun 2011

Yep, but that's not really the way it should work from a design standpoint.

user_10018Sat, 25 Jun 2011

You will probaly have to edit them out of both the corresponding php files.

user_30Thu, 23 Jun 2011

Actually, it remains on both product.tpl AND account.tpl also after admin uninstall in Extensions -> Order Totals -> Reward Points -> Uninstall:

Image

user_30Thu, 23 Jun 2011

Wow, double thanks, Ryan. I'll drop in the bug report.

user_388Tue, 21 Jun 2011

That's probably worth a bug report.

user_24051Tue, 21 Jun 2011

But it still shows reward points on product.tpl so this will need to be removed manually

user_388Tue, 21 Jun 2011

Extensions -> Order Totals -> Reward Points -> Uninstall.

`Reply Or Comment!
Please LogIn to Reply!