BirthdayReminder Q&A

BirthdayReminder prompts new users to enter their birthdays upon registration or checkout and sends them a Happy Birthday email on their special day.

The extension comes packed with features so in case you want to check these you can view it here.

How can I set up Custom fields in BirthdayReminder?

BirthdayReminder is a module that uses the standard Custom Fields in OpenCart. You can configure them by going to Admin > Sales > Customers > Custom Fields.

Afterwards, click on the Add New button at the top right corner and fill in the necessary info. For more information on how to use custom fields please check this article.

How can I automate the reminders?

You can use the BirthdayReminder's CRON job functionality in to schedule reminders any day or time of day you prefer. You can set them up by going to the BirthdayReminder admin settings, selecting the Gift Mail tab from the menu and scrolling all the way down to the Send birthday wishes automatically.

Press the green Cron jobs button and a popup will appear letting you configure the CRON settings.

 You can set notifications for both customer and store owner.

The PHP CRON looks like this in most servers "php the/path/of/the/php/file.php", while on other servers is "usr/bin/php the/path/of/the/php/file.php".

In case you are not sure how to set up your CRON, we would recommend you to get in touch with your hosting provider for that. Here is how we have set up the CRON for the demo:

How can I change the date format from YYYY-MM-DD to DD-MM-YYYY?

In OpenCart 1.x, BirthdayReminder has a setting where you can switch the date format. The way to change the format is to go to the admin module`s settings and then go to Settings and Select Date Format.

However in OpenCart 2.x, things work a bit differently. To change your date format, you will need to do it globally for your store. This means going into the code and making a few small changes. Here is how to do that:

For OpenCart 2.0.3.x to 2.3.x, you will need to access your catalog/view/theme/default/template/account/register.tpl file, and for OpenCart 3.0 you need to access the catalog/view/theme/default/template/account/register.twig file.

Find this line:

<input type="text" name="custom_field[<?php echo $custom_field['location']; ?>][<?php echo $custom_field['custom_field_id']; ?>]" value="<?php echo (isset($register_custom_field[$custom_field['custom_field_id']]) ? $register_custom_field[$custom_field['custom_field_id']] : $custom_field['value']); ?>" placeholder="<?php echo $custom_field['name']; ?>" data-date-format="YYYY-MM-DD" id="input-custom-field<?php echo $custom_field['custom_field_id']; ?>" class="form-control" />

...and change the date format manually to DD-MM-YYYY, or whichever date format you need.

Mind that DD, refers to Days, MM to Months and YYYY to Year.

You will also need to do the same for your the checkout files, which are available at catalog/view/theme/default/template/checkout/register.tpl for OpenCart 2.3.x and catalog/view/theme/default/template/checkout/register.twig for OpenCart 3.0.

That’s all!

Hope you fancy this Q&A. Let us know if you have any questions about the module in the section below. For more Q&As you can check our blog FAQ section.

Jump to BirthdayReminder Demo

Join 11,000+ subscribers receiving actionable E-commerce advice

* Unsubscribe any time
comments powered by Disqus