News:

AbanteCart v1.4.3 is released.

Main Menu
support

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

#46
New Features Discussion / Re: Search by Model
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.
#47
You can change tpl (for custom JS validation) or create extension with hook's to add php validation.
#48
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">
#49
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.
#50
Support / Re: Problem with firewall?
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.
#51
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
#52
Support / Re: Error on 2nd language
April 16, 2020, 04:36:25 AM
1. Clear cache.
2. If Step1 not solved your issue -   Show result of query

SELECT DISTINCT table_name
                FROM information_schema.columns
                WHERE column_name = 'language_id' AND table_schema='DB_DATABASE';

Where DB_DATABASE - your DB name
#53
General Support / Re: Zip code min length
January 27, 2020, 01:22:32 AM
You can create extension with Hook method like this:

public function onModelAccountCustomer_ValidateData()
{
$that = $this->baseObject;
if ($this->baseObject_method !== 'validateRegistrationData') {
            return;
  }
if (!$that->request->is_POST()) {
return;
}
if ((mb_strlen($that->request->post['postcode']) !=5)) {
            $that->error['postcode'] = $that->language->get('error_postcode');   //Your custom error message here
     }
}
#55
Support / Re: One order per customer
October 18, 2019, 02:29:34 AM
You can check exists orders in Cart Controller Hook: storefront/controller/pages/checkout/cart.php:26
for check email registration create hook for Registartion Controller: storefront/controller/pages/account/create.php:24
#56
Check Database Connection settings
#57
Templates / Re: product list add new collumn
August 13, 2019, 01:48:22 AM
You can hook ControllerCommonListingGrid via extension and change: $this->data[''colNames'']  $this->data[''colModel'']
#58
Customization help / Re: send welcome email error
July 18, 2019, 02:47:41 AM
Provide more details in which file made changes in which place, what information in the logs. Check if your code is running
#59
General Support / Re: Mail sending issues
July 12, 2019, 01:41:25 AM
Check file permissions
#60
check your my.cnf parameter default-storage-engine

https://dev.mysql.com/doc/refman/5.5/en/storage-engines.html

Forum Rules Code of conduct
AbanteCart.com 2010 -