News:

AbanteCart v1.4.3 is released.

Main Menu

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - dvagner

#31
Customization help / Re: Optional field
August 04, 2020, 01:47:15 AM
Hi
You can use hook
for example:

public function onModelAccountCustomer_ValidateData()
{
  $that = &$this->baseObject;
  if (isset($that->error['postcode'])) {
unset($that->error['postcode']);
}
}
#32
If you do want to help us with investigation you have an option to use AbanteCart paid support  http://managed.abantecart.com/
#33
Check logs your email server.
Php work correct.
#34
It was not fix. Find debug.txt and attach it to reply in forum.
#35
Can you change php files?
Change
public_html/storefront/controller/pages/content/contact.php on line ~133
before $mail->setTemplate('storefront_contact_us_mail', $this->data['mail_template_data']);
add this code: 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
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
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
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
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
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
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
We need more information how replicate issue.
Store settings, product properties, payments, shippings etc.
#43
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
You can manually update AMail class from 1.2.17 branch
and create hooks.
For example:
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
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".

Forum Rules Code of conduct
AbanteCart.com 2010 -