I'm working on my first open cart project and have to say its been a joy to work with so far. I am still relatively new to this and was wondering how do I go about renaming "reward points" to "WAP points"
Is it straight forward?
Thanks in advance
Liam
find these files
admin > language > english > english.php
find and edit these lines of code
Code: Select all
$_['button_add_reward'] = 'Add Reward Points'
$_['tab_reward'] = 'Reward Points';
Code: Select all
$_['button_add_reward'] = 'Add WP Points'
$_['tab_reward'] = 'WP Points';
then find admin > language > english > catalog > product.php
find this line of code
Code: Select all
$_['entry_reward'] = 'Reward Points:';
Code: Select all
[code]$_['entry_reward'] = 'WP Points:';
find admin > language > english > common > header.php
find and change
Code: Select all
$_['text_report_customer_reward'] = 'Reward Points';
$_['text_report_customer_reward'] = 'WP Points';
find admin > language > english > mail > customer.php
find
Code: Select all
$_['text_reward_subject'] = '%s - Reward Points';
$_['text_reward_received'] = 'You have received %s Reward Points!';
$_['text_reward_total'] = 'Your total number of reward points is now %s.';
change it to
Code: Select all
$_['text_reward_subject'] = '%s - WP Points';
$_['text_reward_received'] = 'You have received %s WP Points!';
$_['text_reward_total'] = 'Your total number of WP points is now %s.';
find and change
Code: Select all
$_['heading_title'] = 'Customer Reward Points Report';
$_['column_points'] = 'Reward Points';
Code: Select all
$_['heading_title'] = 'Customer WP Points Report';
$_['column_points'] = 'WP Points';
find
Code: Select all
$_['text_reward'] = 'Reward Points:';
$_['text_reward_add'] = 'Add Reward Points';
$_['text_reward_added'] = 'Success: Reward points added!';
$_['text_reward_remove'] = 'Remove Reward Points';
$_['text_reward_removed'] = 'Success: Reward points removed!';
Code: Select all
$_['text_reward'] = 'WP Points:';
$_['text_reward_add'] = 'Add WP Points';
$_['text_reward_added'] = 'Success: WP points added!';
$_['text_reward_remove'] = 'WP Reward Points';
$_['text_reward_removed'] = 'Success: WP points removed!';
find
Code: Select all
$_['heading_title'] = 'Reward Points';
$_['text_success'] = 'Success: You have modified reward points total!';
$_['error_permission'] = 'Warning: You do not have permission to modify reward points total!';
change it to
Code: Select all
$_['heading_title'] = 'WP Points';
$_['text_success'] = 'Success: You have modified wp points total!';
$_['error_permission'] = 'Warning: You do not have permission to modify wp points total!';
find
Code: Select all
$_['text_reward'] = 'Your Reward Points';
Code: Select all
$_['text_reward'] = 'Your WP Points';
find catalog > language > english > account > reward.php
find
Code: Select all
$_['text_reward'] = 'Reward Points';
$_['text_total'] = 'Your total number of reward points is:';
$_['text_empty'] = 'You do not have any reward points!';
Code: Select all
$_['text_reward'] = 'WP Points';
$_['text_total'] = 'Your total number of wp points is:';
$_['text_empty'] = 'You do not have any wp points!';
find
Code: Select all
$_['text_reward'] = 'Success: Your reward points discount has been applied!';
$_['text_points'] = 'Reward Points: %s';
$_['text_next_choice'] = 'Choose if you have a discount code or reward points you want to use or would like to estimate your delivery cost.';
$_['text_use_reward'] = 'Use Reward Points (Available %s)';
$_['error_reward'] = 'Warning: Please enter the amount of reward points to use!';
$_['error_points'] = 'Warning: You don\'t have %s reward points!';
Code: Select all
$_['text_reward'] = 'Success: Your wp points discount has been applied!';
$_['text_points'] = 'Reward Points: %s';
$_['text_next_choice'] = 'Choose if you have a discount code or wp points you want to use or would like to estimate your delivery cost.';
$_['text_use_reward'] = 'Use WP Points (Available %s)';
$_['error_reward'] = 'Warning: Please enter the amount of wp points to use!';
$_['error_points'] = 'Warning: You don\'t have %s wp points!';
find
Code: Select all
$_['error_reward'] = 'Warning: Please enter the amount of reward points to use!';
$_['error_points'] = 'Warning: You don\'t have %s reward points!';
Code: Select all
$_['error_reward'] = 'Warning: Please enter the amount of wp points to use!';
$_['error_points'] = 'Warning: You don\'t have %s wp points!';
catalog > language > english > product > category.php
find
Code: Select all
$_['text_points'] = 'Reward Points:';
Code: Select all
$_['text_points'] = 'WP Points:';
find
Code: Select all
$_['text_points'] = 'Reward Points:';
Code: Select all
$_['text_points'] = 'WP Points:';
find
Code: Select all
$_['text_reward'] = 'Reward Points:';
$_['text_points'] = 'Price in reward points:';
Code: Select all
$_['text_reward'] = 'WPPoints:';
$_['text_points'] = 'Price in wp points:';
find
Code: Select all
$_['text_points'] = 'Reward Points:';
Code: Select all
$_['text_points'] = 'WP Points:';
find
Code: Select all
$_['text_points'] = 'Reward Points:';
Code: Select all
$_['text_points'] = 'WP Points:';
find
Code: Select all
$_['text_reward'] = 'Reward Points(%s)';
Code: Select all
$_['text_reward'] = 'WP Points(%s)';
“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.”
- Henry Ford
Thank you for your reply, i really appreciate your help.
Liam
My buttons are slightly weird though they say button_shopping? Any ideas what I need to change to get it back?
Users browsing this forum: No registered users and 60 guests