Show Posts


Messages - maxter

Pages: 1 2 3 [4] 5
46
Extensions and Add-Ons / Re: Extension for customised products
« on: October 02, 2017, 09:21:24 AM »
I did not come across this extension for Abantecart, but I know what you are looking for. We can create this extension for you.

47
Payment Modules / Re: Clear cart
« on: October 02, 2017, 09:18:58 AM »
Cart clear will be with simple call to cart object with clear method.
Here is the cart class:
https://github.com/abantecart/abantecart-src/blob/master/public_html/core/lib/cart.php#L498

Here is how you will call it:
$this->cart->clear();
This is assuming you are inside of the controller or model

48
Customization help / Re: Custom layout; different layouts for GS1 & GS2
« on: October 02, 2017, 09:11:26 AM »
All checkout pages share the same layout.
You can see this in the database table ac_layouts.

https://github.com/abantecart/abantecart-src/blob/master/public_html/install/abantecart_database.sql#L10376

If you need to create a completely new layout that is assigned to specific page you need to update following tables.

1. Create new row to ac_layouts:
Code: [Select]
INSERT INTO `ac_layouts` (`layout_id`, `template_id`, `layout_type`, `layout_name`, `date_added`)
VALUES
('', 'default', 1, 'Guest Checkout Pages', now());

2. Register new page in ac_pages:
Code: [Select]
INSERT INTO `ac_pages` (`page_id`, `parent_page_id`, `controller`, `key_param`, `key_value`, `date_added`)
VALUES
('', 0, 'checkout/guest_step_1', '', '', now() ),
Note: You might need to do the same for checkout/guest_step_2, checkout/guest_step_3 ..

3. Create new row to pages_layouts:
Code: [Select]
INSERT INTO `ac_pages_layouts` (`layout_id`, `page_id`)
VALUES
([new layout_id from ac_layouts], [new page_id from ac_pages]);
You repeat this for every new layout / page that you create

Do not forget to clear the cache after you update tables directly.

Load your XML with layout.

49
Customization help / Re: How to integrate Kayako Messenger code
« on: September 29, 2017, 11:39:08 AM »
srajput, how did you try to add Kayako? Can you post a link to Kayko sample or code snippet?

50
Extension Support / Re: I want all my money from extentions ive spent back
« on: September 29, 2017, 11:36:45 AM »
I wonder how this helps community? My understanding that forum is to help people based on clear explanation of the question.
Given question somewhat can be helpful to others.

If there is an issue that teams need to address, spell it out.
If you share no information, you will get even more frustrated as nobody will help you.
What is the point of this post? Waste of time for everyone who is actually willing to help.

51
Configuration / Re: Fatal error: Allowed memory size of XXX bytes exhausted
« on: September 11, 2017, 12:26:19 PM »
There is not enough memory to process your import. Try to split your import into smaller chunks.

FYI. In upcoming v1.2.11 import process will be improved with task processing and you do not need to break import CSV file into parts.

52
API Development / Re: Enable and validate customer account via api
« on: September 11, 2017, 12:22:39 PM »
I believe, there is no such functionality. You can just pass the correct status to auto enable account or have setting on for "Approve New Customers"

https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/api/account/create.php#L43

53
Installation and Configuration / Re: Where are the Images on Front end?
« on: September 11, 2017, 12:13:16 PM »
Do you get any errors in the log after you ran import? Check settings for the images in System -> Settings -> Appearance or in the template edit section.

54
This is a PayPal error

Try to release and then regenerate your API credentials from within the Paypal account.

55
Configuration / Re: Adding countries and zones
« on: April 02, 2017, 07:12:52 PM »
Unfortunately, there is not easy way if you non-technical.
You will need to do SQL insert into your database.

You can locate original database with all countries in here:
https://github.com/abantecart/abantecart-src/blob/master/public_html/install/abantecart_database.sql

Look for:
INSERT INTO `ac_countries`
and
INSERT INTO `ac_country_descriptions`

Do not forget to clear Abantecart cache after direct inserts or updates into database.

56
General Discussion / Re: Minimum quantity in checkout
« on: April 02, 2017, 07:07:56 PM »
I do not think this is possible exactly as you explain.
You can set minimum total money amount for the payment method, but not sure that will help you.

What you need will require some small coding.
Not knowing your technical level, I will give you an idea:

In this file:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/pages/checkout/cart.php

After this line 254:
Code: [Select]
$cart_products = $this->cart->getProducts();

You can add a check for quantity with something like this:
Code: [Select]
if (count($cart_products) < 6) {
   $error_msg[] = "Please add more products ......";
}

57
Installation and Configuration / Re: ─░nstall White Screen Error ?
« on: April 02, 2017, 07:01:03 PM »
White screen is indication of your web server or PHP failure.

You need to check 2 log files to identify the error

1. Locate your web server error log and check the end of the file for the error.
Post it here.
Post of the time, it will be missing package on your server or incorrect permission of some file

2. Locate your AbanteCart error log in ../system/logs/error.txt
See what is there at the end of the file.

If there is nothing in those logs, check permissions of main index.php file. It must be 755 or 644 (777 will not work)


58
Support / Re: Will not update past 1.2.6
« on: April 02, 2017, 06:56:42 PM »
I gave up on 1.2.6 as could no longer spend time getting nowhere.
Maybe it is time to let expert do this :)
I can help. I do upgrades almost every day.

Does anyone else have a better way to populate AbanteCart?
I have done some data integrations for AbanteCart, I can help.

59
Did you double check that all files are uploaded? Try to re-upload and check that there is no error after upload


60
General Support / Re: .htaccess.txt to .htaccess
« on: February 28, 2017, 12:32:28 PM »
Was the question how to move installation one directory up or what to set in .htaccess?

Pages: 1 2 3 [4] 5