Post by njoestrong » Sat Jul 23, 2011 1:23 am

I have tried to find the code to comment out the 'Reward Points' systems. But everything i do results in an error so i must be missing something.

Can someone please tell me what the code is to comment out and where to find it?

Thanks

Opencart 1.5

Joe Strong

Newbie

Posts

Joined
Wed Jun 22, 2011 11:47 pm

Post by merry » Tue Jul 26, 2011 7:17 am

njoestrong wrote:I have tried to find the code to comment out the 'Reward Points' systems. But everything i do results in an error so i must be missing something. Can someone please tell me what the code is to comment out and where to find it?
Joe, the Reward Points code is all over the place on many pages. You'll have to use a global search command to locate it all.

Regards,
Kerry

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 jmariani » Wed Sep 07, 2011 12:40 am

For the reward points and point to recive: is in : catalog\view\theme\default\template\product
in the file product.tpl

For reward point:
Find the line:
<span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br />
and replace with:
<span><? //php echo $text_reward; ?></span> <?//php echo $reward; ?>
for point to recive find:
<?php if ($points) { ?>
<span class="reward"><small><?php echo $text_points; ?> <?php echo $points; ?></small></span> <br />
<?php } ?>


and replace with this:

Code: Select all

<?php /*if ($points) { ?>
        <span class="reward"><small><?php echo $text_points; ?> <?php echo $points; ?></small></span> <br />
        <?php }*/?>


I hope you understand me because my English is bad...

User avatar
Active Member

Posts

Joined
Mon Sep 05, 2011 11:36 pm

Post by celestial » Thu Sep 08, 2011 1:20 am

You read this, "the Reward Points code is all over the place on many pages. You'll have to use a global search command to locate it all".

Celestial - Martín Abel Rosales
WhatsApp: 50671482211
Email: martinrosales2012@hotmail.com
Skype: martin.abel.rosales
San José , Costa Rica


User avatar
Expert Member

Posts

Joined
Sat Mar 20, 2010 4:19 am
Location - Costa Rica

Post by emily271 » Sun Feb 05, 2012 7:45 pm

worked a treat! thanks very very very much!! ;D

Newbie

Posts

Joined
Tue Nov 29, 2011 12:27 am

Post by OpenCart Addons » Tue Feb 07, 2012 10:03 pm

Hey,

There are also a couple other places where Reward Points show up ... I've explained how to remove them from showing completely here:
http://forum.opencart.com/viewtopic.php ... 1&p=236641


Joel.

Canada's Leading Expert In OpenCart Development & Certified OpenCart Development Partner Image


User avatar
Active Member

Posts

Joined
Thu Nov 24, 2011 10:51 am
Location - Canada

Post by tomsworkshop » Sat Jul 21, 2012 3:32 am

i hope to add expiration date for all reward points, all reward points will automatically remove after 1 years start from the date it has been added, any mod available ?

New member

Posts

Joined
Tue May 24, 2011 6:57 am
Who is online

Users browsing this forum: No registered users and 116 guests