Welcome, Guest
Username: Password: Remember me

TOPIC: EGift Card cant be sent same day

EGift Card cant be sent same day 4 years 4 months ago #3830

  • shonnpiersol
  • shonnpiersol's Avatar
  • Offline
  • Junior Boarder
  • Posts: 26
  • Karma: 0
My clients are telling me they cant immediately order a gift card, because it forces them to make it send the next day. I have verified this to be true.

Id prefer to remove the future dating option altogether and make it arrive immediately to avoid confusion.
The administrator has disabled public write access.

EGift Card cant be sent same day 4 years 4 months ago #3833

  • hungtran
  • hungtran's Avatar
  • Offline
  • Moderator
  • Posts: 1638
  • Thank you received: 245
  • Karma: 27
Hi,

I can send gift card in the same day with no problems and I haven't seen any other users having this problem.

The date in Delivery Date field is the generated from the timezone of your Joomla site because gift cards are sent based on Joomla site's timezone.

There is no options to disable delivery date so the only way is modifying source code of the component to achieve it. If you are ok with modifying some files of the component I will give you instruction what files you need to modify.

Regards,
Hung
The administrator has disabled public write access.

EGift Card cant be sent same day 4 years 4 months ago #3834

  • shonnpiersol
  • shonnpiersol's Avatar
  • Offline
  • Junior Boarder
  • Posts: 26
  • Karma: 0
I did adjust the server settings in joomla to my time zone, eastern. (indianapolis, indiana) and it actually changed the date to default to the 11th (yesterday) and still will not send out on 12th either. Only 13th (tomorrow) will it approve.

So yes lets go in and remove the code or <!-- > out the code. I am comfortable with that absolutely. With your guidance. I just sent a large email blast announcing the product to get it tested fully, unfortunately lots discovered this issue.

The end goal will now be to NOT have a date restriction or future date to send at all. Ideally fully removed.
Last Edit: 4 years 4 months ago by shonnpiersol.
The administrator has disabled public write access.

EGift Card cant be sent same day 4 years 4 months ago #3835

  • hungtran
  • hungtran's Avatar
  • Offline
  • Moderator
  • Posts: 1638
  • Thank you received: 245
  • Karma: 27
Hi

This is complicated to achieve because the emails are only sent by cron job.

You can try to replace the content of your
components/com_cmgiftcard/models/forms/form.xml with pastebin.com/raw/g2KfCRxg
components/com_cmgiftcard/controller.php with pastebin.com/raw/xmQzyMb0

Now as soon as the order is set to Paid status, all the electronic cards in this order will be sent.
You can try to make a test payment to see if it works.

Regards,
Hung
The administrator has disabled public write access.

EGift Card cant be sent same day 4 years 4 months ago #3836

  • shonnpiersol
  • shonnpiersol's Avatar
  • Offline
  • Junior Boarder
  • Posts: 26
  • Karma: 0
Yes that worked perfectly. Still not getting any emails, though. We can address that in support.
The administrator has disabled public write access.

EGift Card cant be sent same day 4 years 2 months ago #3904

  • Rabin
  • Rabin's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
hungtran wrote:
Hi

This is complicated to achieve because the emails are only sent by cron job.

You can try to replace the content of your
components/com_cmgiftcard/models/forms/form.xml with pastebin.com/raw/g2KfCRxg
components/com_cmgiftcard/controller.php with pastebin.com/raw/xmQzyMb0

Now as soon as the order is set to Paid status, all the electronic cards in this order will be sent.
You can try to make a test payment to see if it works.

Regards,
Hung

Hello, those Files are down by now. Can you reupload them plz. So i can use it in my forms too. I want to send the giftcards immediatly after pay. Thx alot
The administrator has disabled public write access.