Show Posts


Messages - dvagner

Pages: [1] 2
1
Support / Re: Theme color change
« on: Today at 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)

2
General Support / Re: Not receiving email when message sent
« on: Today at 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.

3
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.

4
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.

5
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.

6
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.

7
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.

8
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');
        }
    }

9
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".


10
New Features Discussion / Re: Search by Model
« on: May 21, 2020, 01:46:43 AM »
Hi,
I think the best solution to searching in the Abantecart is ElasticSearch Extension https://marketplace.abantecart.com/elastic_search

For default search you should add hook to enable search by model.

11
General Support / Re: Maximum Length of custom field
« on: May 06, 2020, 03:09:57 AM »
You can change tpl (for custom JS validation) or create extension with hook's to add php validation.

12
General Support / Re: Maximum Length of custom field
« on: May 05, 2020, 05:06:43 AM »
Verify start after click on "Add to Cart"
On typing used html attribute 'pattern'
<input type="text" name="option[354]" id="option354" value="" placeholder="" class="form-control " data-attribute-value-id="" pattern="^.{1,100}$" title="Some error text">

13
General Support / Re: Maximum Length of custom field
« on: May 05, 2020, 02:22:09 AM »
I try your regex - they work fine.
Provide more information: Abantecart Version, browsers for test, have you errors in browser console? errors in abantecart log or php? etc.

14
Support / Re: Problem with firewall?
« on: May 01, 2020, 01:48:52 AM »
Login on your Router and check firewall rules and black list (if exists)
Some routers can block sites by keyword from own library.

15
Customization help / Re: Need to limit a Category to a Customer Group
« on: April 22, 2020, 02:10:18 AM »
Best way - create extension with hook's in Storefront Category controller.
To prevent direct access to product you need hooks:
 Storefront Product controller, Storefront Search controller, Block controllers (if used)

Doc: https://abantecart.atlassian.net/wiki/spaces/DOC/pages/17793156/Hooks

Pages: [1] 2

Powered by SMFPacks Social Login Mod