Show Posts


Messages - dvagner

Pages: 1 2 [3] 4 5
31
Customization help / Re: Optional field
« on: August 04, 2020, 01:47:15 AM »
Hi
You can use hook
for example:

Code: [Select]
public function onModelAccountCustomer_ValidateData()
{
  $that = &$this->baseObject;
  if (isset($that->error['postcode'])) {
unset($that->error['postcode']);
}
}

32
General Support / Re: Not receiving email when message sent
« on: July 22, 2020, 12:00:26 PM »
If you do want to help us with investigation you have an option to use AbanteCart paid support  http://managed.abantecart.com/

33
General Support / Re: Not receiving email when message sent
« on: July 22, 2020, 05:26:37 AM »
Check logs your email server.
Php work correct.

34
General Support / Re: Not receiving email when message sent
« on: July 17, 2020, 02:06:06 AM »
It was not fix. Find debug.txt and attach it to reply in forum.

35
General Support / Re: Not receiving email when message sent
« on: July 17, 2020, 01:38:24 AM »
Can you change php files?
Change
public_html/storefront/controller/pages/content/contact.php on line ~133
before
Code: [Select]
$mail->setTemplate('storefront_contact_us_mail', $this->data['mail_template_data']);add this code:
Code: [Select]
df($this->data['mail_template_data']);and try to send contact us form.

After that, you should see debug.txt in  public_html folder.
this file should contain email, enquirity and name from form.

Also check mailserver logs. It should have error on send messages.

36
General Support / Re: Not receiving email when message sent
« on: July 16, 2020, 10:16:12 PM »
Can you for test change Mail server and email address for letters from site?
Your default store language English?

37
Support / Re: Theme color change
« on: July 16, 2020, 06:01:24 AM »
About style.css check media query section in css. Your changes may be in @screen max-width section.
About www. and non www check your server settings (apache and/or nginx etc)

38
General Support / Re: Not receiving email when message sent
« on: July 16, 2020, 03:32:41 AM »
Please read my previos message.
Check Abantecart logs on errors. I think it was upgrade bug, and you have not email template.
Check email_templates mysql table.

39
General Support / Re: Not receiving email when message sent
« on: July 15, 2020, 01:32:37 AM »
Are you talking about contact us form?
Can you provide source code of received email?
Provide screenshots of 'storefront_contact_us_mail' email template with language of your store.

40
General Support / Re: Change postcode to optional field
« on: June 30, 2020, 06:02:19 AM »
Hi, you can change validation behavior via Hooks Model AccountAddress, method validateAddressData
just unset $this->error['postcode']
or set default value for postcode.

41
Template Support / Re: ORDER NUMBER
« on: June 17, 2020, 05:08:58 AM »
You can use number_format($number, 0, '.', ' '); in places, where display invoice and order number. See .tpl files.

42
Support / Re: FastCheckout Error: Unexpected error has occurred.
« on: June 05, 2020, 02:54:07 AM »
We need more information how replicate issue.
Store settings, product properties, payments, shippings etc.

43
Support / Re: FastCheckout Error: Unexpected error has occurred.
« on: June 04, 2020, 02:31:13 AM »
Hello, please provide more details:
what led to this bug, enabled shippings, enabled payments

when you insert code or log message please use "Insert Code" in forum message editor.

44
Tips and Tricks / Re: How to add customerid to email templates
« on: June 01, 2020, 09:54:36 AM »
You can manually update AMail class from 1.2.17 branch
and create hooks.
For example:
Code: [Select]
public function onAMail_ProcessData($method, $params)
    {
        $that = &$this->baseObject;
        if ($this->baseObject_method === 'setTemplate' && $params['text_id'] === 'admin_new_transaction_notify') {
            $that->setPlaceholder('user_id', 'Jon');
        }
    }

45
Tips and Tricks / Re: How to add customerid to email templates
« on: June 01, 2020, 01:54:16 AM »
To add additional data to email template, you should:
1. Add to php code variables with needed data. (Hooks, direct change)
2. Add variables to "Allowed Placeholders".


Pages: 1 2 [3] 4 5

Powered by SMFPacks Social Login Mod