Loyalty – Tenure (seniority) rules
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_394504b4cf239acb5423dfd8b17b96b0
This professional extension for the PrestaShop myprestaloyalty module is designed to strategically bolster customer loyalty. The module automatically awards loyalty points based on a customer's account age (number of days since registration), transforming simple data into a powerful retention tool. Through configurable cron rules and the capability to send personalized email notifications, it helps cultivate deeper customer relationships, appreciating their tenure and boosting engagement. This effectively translates into increased Customer Lifetime Value (CLV) and long-term customer satisfaction.
Below you will find the content of the PrestaShop module translations: Loyalty points – Tenure (seniority) rules To language: English
Last update date of module translations: 2026-04-22 01:46:04
Loyalty – Tenure (seniority) rules
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_394504b4cf239acb5423dfd8b17b96b0
Adds Tenure rules and cron for seniority points to the main Loyalty module.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_ba1a269a7675771236a6883a86589544
Are you sure you want to uninstall this extension?
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_a86c7c6a2db9d2eb5b34351bb69ac9bd
Please install and enable the main module \"Customer loyalty and rewards\" (myprestaloyalty) first.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_936ec25f786e8cf714b70621eb9d5f13
Settings have been updated.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_9f3a9b8720c8566caee5adffb9ca5bbe
About this extension
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_ca1b91c83ca055f0fdc453a4e94ceb16
This module extends the main Customer loyalty and rewards module (myprestaloyalty) with tenure (seniority) rules: configurable thresholds based on customer account age and automatic cron-based awarding of loyalty points.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_c4a8f885beaa4c6e6f96cc45afb34a27
Main module configuration:
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_327fd034558917126ec8f614d25e0b0d
open myprestaloyalty configuration
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_195711df4b5c052462321ad9a109e8fd
Tenure rules controller:
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_0c0f04666d6eed88c025abc46bb255c8
open Tenure (seniority) rules
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_119840bf044e615c75fdd3359dfeaf67
Tenure settings
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_23e30371a34ed131ffddbd01a47a51fd
Send email when points are added for seniority
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_607abc32624b3c1c03b0d7d8d13cfc22
This module sends emails only when the tenure cron task runs and awards points. If enabled: the customer receives an email (template: loyalty_tenure) every time seniority points are awarded. If disabled: points are still awarded by cron, but no customer email is sent.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_f67e81320db06346120d06c3a890340b
Enabled
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_00d23a76e43b46dae9ec7aa9dcbebb32
Disabled
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_b9f5c797ebbf55adccdd8539a65a0241
Save
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_c9cc8cce247e49bae79f15173ce97354
Your secret cron URL (copy this exactly)
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_265b5c478eb6784b391afc05a38fb3b0
Tip: paste this URL into your browser once. You should see a short text response (e.g. “OK: tenure cron executed…”). If you see “Forbidden”, reload this page and copy the URL again.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_852e4dc25be109eefb606c7d1bcb1dd7
Seniority points are granted when a scheduled task calls the URL above—not when customers browse the shop. Pick the tab that matches your hosting (SSH, cPanel, etc.).
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_55dfc2aeaafd6dfd5a9c06c8a73d49d0
Cron runs on a schedule (e.g. once daily).
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_c48df3da3d4d03bd89ed959fd47a7918
Eligible customers receive points per your tenure rules.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_3f99225bbec6c366fd3f03673118169e
Optional email (loyalty_tenure) if enabled in settings above.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_69ff2816371eaa16ecde49bd3a682d7c
Recommended: once per day (e.g. 02:15 server time) so all customers who crossed a threshold are processed in one batch.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_650cb2d1ca9c96cc3d7ac8226b566826
Cron field
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_94d303a79593fe4d0fa8296c162a463d
Meaning
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_7277de5f2ed6f17c61f1f25594591a82
Every day at 02:15
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_7f3f2eb8cd1b533d376c6308ba00c698
Every 6 hours (only if you need faster updates)
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_c7d5193dc81be3e91b6b108078b43d34
Every Monday at 03:00
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_12ec499fa0bdce3c3517a8794b448032
Best for VPS, dedicated servers, or any host that gives you SSH and a real Linux crontab.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_8e12ba856df7809d33ae7884bf8fd1fb
Connect with SSH (PuTTY, Terminal, etc.).
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_447a37b525ed89b8e7bc7c5c5fec6ca1
Run: crontab -e
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_20a433660512fe8c9ba6e5fabcb3321d
Add one line at the end (pick wget OR curl—not both on the same schedule unless you want double runs):
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_ebb117bce7fc5d1caa6d9fa310074cf7
Replace 15 2 * * * with your preferred minute/hour. Ensure wget or curl exists on the server (most Linux images include both).
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_f693dc65935faab3398541db6cfaa289
Typical on shared hosting. No SSH required.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_0fcace1112b98331842cc4b530f24de8
Log in to cPanel.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_01aebcbbf0b63c6f9e2ca9e7a63d936d
Open “Cron Jobs” (sometimes under Advanced).
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_2ed1955d2fedea344e6d4ee65e7d1f52
Under “Add New Cron Job”, set Common Settings to “Once a day” or enter minute/hour manually (e.g. minute 15, hour 2 for 02:15).
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_ff95c72ce59744aad20271e3bc432a5a
In the command field, paste one of the following (single line):
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_2d492b174ad86fa530962d80a8fa8f2b
If wget is not available, try curl instead (ask your host or use “curl” in the command field with the same URL).
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_f8c8335a9939f6c3a095eaee794b6b12
Plesk: Websites & Domains → your domain → Scheduled Tasks (or Cron). Create a task that runs daily and execute:
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_195ad0bf032c00f43da6371f7cf57423
DirectAdmin: Advanced Features → Cron Jobs. Add a daily job with the same curl or wget command as above.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_84eff7ea91250c4235bf2cd611ae94e0
Other panels (SuperAdmin, custom reseller panels): look for “Cron”, “Scheduled tasks”, or “Task scheduler”. The idea is always the same: periodic execution of wget/curl/PHP hitting your cron URL.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_d211016a41629a35de24518a59fb4846
Some hosts only allow PHP in cron. Example (adjust path to php if needed):
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_5698d4a09732dea90d5eed97785ea6e5
Contact support if allow_url_fopen is disabled; they may suggest curl in cron instead.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_e8ca8a49ca21bb348e4632e03e169260
Token mismatch. Copy the URL again from this page. Do not truncate the address.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_690119880e003355715d81c14e9c9f92
Main loyalty module may need an update, or PHP hit a timeout on large catalogs. Check server error logs; try off-peak hours or ask your host to raise max_execution_time for CLI/cron.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_2f057902c783f8e1483ed55c9620c09f
Confirm the cron actually runs (check cron email logs or add logging). Verify tenure rules are Active and customers have been registered long enough.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_5c71df7761233959c0f19c0c75752054
If curl fails with certificate errors, your host may need CA bundle updates, or use wget with appropriate flags as recommended by hosting support.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_2c581e389eaa9d18fcbbc2e04921e17a
The URL contains a private token. Anyone who knows it could trigger the tenure job (awarding points and optional emails). Treat it like a password.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_84ef026ffde85bf329f7ab9e21238a40
Do not publish the URL in tickets, forums, or screenshots.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_555838aed955fa37131e5f47ecb79115
If leaked: remove PS_LOYALTY_TENURE_CRON_TOKEN from configuration (or reinstall the module) and revisit this page to get a new URL.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_726c2f157a7f6c8ab3a9f1c17a1be969
Overview
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_3b878279a04dc47d60932cb294d96259
Schedule examples
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_b7ce55325d1395dae6f4ca69f287f30e
Help
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_6a26f548831e6a8c26bfbbd9f6ec61e0
Troubleshooting
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_231cf4c70d866b616c21baddaeed0696
Security
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_2fae32629d4ef4fc6341f1751b405e45
Cron job — automatic seniority (tenure) points
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_9c467ab2c9e726b82ed5e2b7e72c7f34
Below: step-by-step instructions by environment. Use the same URL in every case.
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_7988c97ef962e1cc06118ec1e4fcb58f
Tenure (seniority) rules
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_b856a007298c2cd323d2a4163913e717
no expiry date
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_553fd9df42d56b69cb30e3f8c63a79da
Loyalty points for your seniority
<{myprestaloyalty_tenure}prestashop>myprestaloyalty_tenure_223a872717d11c6b8ac98cd51c1bd76a
ID
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_b718adec73e04ce3ec720dd11a06a308
Tenure (days)
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_a08aa24991e4f73545f90b31c8517f96
Points
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_75dd5f1160a3f02b6fae89c54361a1b3
Points validity (days)
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_0c499f8d9d3ac318087d22423759481a
How many days the awarded points remain valid.
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_857494723fc07f30ac678112fdcb324f
Active
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_4d3d769b812b6faa6b76e1a8abaece2d
Date added
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_85de9a3fcc45082345f6cfe7c8c98e0f
Tenure (seniority) rules
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_b856a007298c2cd323d2a4163913e717
Tenure rule
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_2bd76736ef2e8f60268b47eb32e54830
Minimum number of days since customer registration to award points.
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_ebefb4c8cc93ff8de12fb895b3e45591
Default: 3650 days (10 years). Applied when cron awards points and in the customer email.
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_06eff7db5cb39c606c3c83b2c5dceb69
days
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_44fdec47036f482b68b748f9d786801b
Yes
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_93cba07454f06a4a960172bbd6e2a435
No
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_bafd7322c6e97d25b6299b5d6fe8920b
Save
<{myprestaloyalty_tenure}prestashop>adminmyprestaloyaltytenurecontroller_c9cc8cce247e49bae79f15173ce97354
New version available, check http://MyPresta.eu for more informations
<{myprestaloyalty_tenure}prestashop>updatechecker_4c73ce9e52a25c69cf0dce126d548f98
More details in changelog
<{myprestaloyalty_tenure}prestashop>updatechecker_2b2972b182c459cca33e2ad5bc02ffa4
Update settings saved.
<{myprestaloyalty_tenure}prestashop>updatechecker_211e1c5c23f0258afb37097ed6ab0b66
New version available!
<{myprestaloyalty_tenure}prestashop>updatechecker_af02b06496e83946e73e69d774782654
Module is up to date!
<{myprestaloyalty_tenure}prestashop>updatechecker_358a5fcb448d507b41d7c0a83485973a
MyPresta Updates
<{myprestaloyalty_tenure}prestashop>updatechecker_8c322740e2dac2db51b8ac4f900a017a
Manual Check
<{myprestaloyalty_tenure}prestashop>updatechecker_d8d7cffba66831beaf6b7a82b583937a
Manually check if a new version of this module is available on MyPresta.eu servers.
<{myprestaloyalty_tenure}prestashop>updatechecker_5c1db38dcb5778f0891eaec624847352
Automatic Notifications
<{myprestaloyalty_tenure}prestashop>updatechecker_00847b0ee5aa8294ebd75b8ab6367abd
Enabled
<{myprestaloyalty_tenure}prestashop>updatechecker_00d23a76e43b46dae9ec7aa9dcbebb32
Disabled
<{myprestaloyalty_tenure}prestashop>updatechecker_b9f5c797ebbf55adccdd8539a65a0241
This option when active will display notification about availability of new module version in your shop's back office
<{myprestaloyalty_tenure}prestashop>updatechecker_3801cbb7ad37df3741081bdbdd9d8ce7
Product Page
<{myprestaloyalty_tenure}prestashop>updatechecker_235e8d1a54ecddcf1d3ff533331ed416
This is a direct link to official module page where you can read about module, its updates etc.
<{myprestaloyalty_tenure}prestashop>updatechecker_a8448b7ec3cb5ea2a07e2c9781092425
Save
<{myprestaloyalty_tenure}prestashop>updatechecker_c9cc8cce247e49bae79f15173ce97354
Check Now
<{myprestaloyalty_tenure}prestashop>updatechecker_86c236b531f3a328bb44d82727bae118