Post by merry » Tue Jun 21, 2011 5:17 am

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

Most answers are from my OpenCart 1.5 User Manual CURRENT TO 1.5.5.1 and includes free updates.
FREE HELP! 60-page user guide with OpenCart Admin Menu Cheatsheet, Install Guide & 30 Minute QuickStart Guide: http://showmeguides.com/


User avatar
Active Member

Posts

Joined
Thu Dec 09, 2010 12:51 am
Location - Mexico and sometimes Texas

Post by rph » Tue Jun 21, 2011 1:57 pm

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

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by ronnieb » Tue Jun 21, 2011 3:39 pm

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

New member

Posts

Joined
Tue May 24, 2011 3:44 pm

Post by rph » Wed Jun 22, 2011 1:08 am

That's probably worth a bug report.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by merry » Fri Jun 24, 2011 12:11 am

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

Most answers are from my OpenCart 1.5 User Manual CURRENT TO 1.5.5.1 and includes free updates.
FREE HELP! 60-page user guide with OpenCart Admin Menu Cheatsheet, Install Guide & 30 Minute QuickStart Guide: http://showmeguides.com/


User avatar
Active Member

Posts

Joined
Thu Dec 09, 2010 12:51 am
Location - Mexico and sometimes Texas

Post by merry » Fri Jun 24, 2011 12:34 am

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

Image

Most answers are from my OpenCart 1.5 User Manual CURRENT TO 1.5.5.1 and includes free updates.
FREE HELP! 60-page user guide with OpenCart Admin Menu Cheatsheet, Install Guide & 30 Minute QuickStart Guide: http://showmeguides.com/


User avatar
Active Member

Posts

Joined
Thu Dec 09, 2010 12:51 am
Location - Mexico and sometimes Texas

Post by Degsey » Sun Jun 26, 2011 10:08 am

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

Live Long and Prosper!

Degsey :-]

Visit us at :

http://www.Supreme-Ink.com


User avatar
New member

Posts

Joined
Sun Jun 12, 2011 2:29 am
Location - North Carolina

Post by rph » Mon Jun 27, 2011 12:09 pm

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

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by avanoire » Wed Aug 17, 2011 8:49 am

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

Newbie

Posts

Joined
Wed Aug 17, 2011 8:33 am

Post by gbisqit » Thu Aug 18, 2011 3:43 pm

Nil
Last edited by gbisqit on Thu Apr 16, 2020 5:22 am, edited 1 time in total.

Newbie

Posts

Joined
Thu Aug 18, 2011 3:41 pm
Location - Encino, CA

Post by opencartisalright » Thu Aug 18, 2011 3:47 pm

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

Active Member

Posts

Joined
Mon Feb 21, 2011 4:09 am

Post by gbisqit » Thu Aug 18, 2011 4:09 pm

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

Newbie

Posts

Joined
Thu Aug 18, 2011 3:41 pm
Location - Encino, CA

Post by mwd » Fri Aug 19, 2011 2:31 am

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.

Attachments


Use it? Like it? Want to support it but don't know how? Send a donation to show your appreciation.
Daniel's PayPal address - donate@opencart.com
Qphoria's Paypal address - qphoria@gmail.com


mwd
Active Member

Posts

Joined
Sat Jan 08, 2011 11:40 pm

Post by Degsey » Tue Aug 30, 2011 8:38 am

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

Live Long and Prosper!

Degsey :-]

Visit us at :

http://www.Supreme-Ink.com


User avatar
New member

Posts

Joined
Sun Jun 12, 2011 2:29 am
Location - North Carolina

Post by lostjeepsgear » Fri Sep 09, 2011 1:46 am

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

User avatar
New member

Posts

Joined
Sat Nov 21, 2009 12:47 am

Post by joy » Sat Oct 22, 2011 10:52 am

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...

OC version 1.5.1.3


joy
New member

Posts

Joined
Fri Oct 14, 2011 9:18 am

Post by pitkin2020 » Mon Oct 31, 2011 1:06 am

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!!!

New member

Posts

Joined
Thu Oct 06, 2011 5:20 am

Post by dianacdiana » Sat Nov 12, 2011 1:58 pm

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

Newbie

Posts

Joined
Fri Nov 11, 2011 7:34 pm

Post by missjames » Tue Nov 22, 2011 10:03 pm

THANK YOU for your Mod!!!! :)

Version 1.5.1.3 newbie!!!!


User avatar
Newbie

Posts

Joined
Thu Nov 17, 2011 11:24 pm

Post by yekxmerr » Tue Dec 27, 2011 10:40 pm

Thanks the mod worked :)

Newbie

Posts

Joined
Fri Dec 23, 2011 7:07 pm
Who is online

Users browsing this forum: No registered users and 95 guests