Show Posts


Messages - abolabo

Pages: 1 ... 129 130 [131] 132 133 ... 137
1951
Support / Re: Error CONTACT page
« on: November 06, 2012, 06:11:35 PM »
I have four times removed and installed again the support of the Russian language, the problem remained.
Twice completely reinstalled AbanteCart New Version 1.1.1 problem remained.

after adding russian language try to clone missing descriptions from english (language edit page). Contact form based on flexy forms.

1952
Support / Re: Error CONTACT page
« on: November 06, 2012, 12:55:06 PM »
CONTACT page
no inscriptions near the fields Name, Email, Comment.
on many computers do not see the secret code

error log?
what's your browser default language settings?

1953
New Features Discussion / Re: install new options for product
« on: November 06, 2012, 11:01:11 AM »
Sorry, but we have no calendar on v.1.1.1 storefront yet.
But we already included it in v.1.1.2.

So, you can change your storefront/view/default/template/pages/product/product.tpl file and add datepicker js-script for attribute field.

1954
New Features Discussion / Re: install new options for product
« on: November 06, 2012, 09:58:00 AM »
Hello.
you can create new product option as global attribute. Check field type "date".
Also read this
http://www.abantecart.com/ecommerce-documentation/69-admin-user-manual/catalog-menu/global-attributes

1955
Support / Re: How to Edit Invoice page.
« on: November 05, 2012, 09:50:04 AM »
Dear All,

i want to edit invoice page any one please tell me how to edit and where can i edit it...

what you mean? edit data of invoice or template of it?

1956
General Support / Re: Google Analytics
« on: November 05, 2012, 09:48:26 AM »
You don't clear session data after checkout.
 
Look into file storefront/controller/pages/checkout/success.php

Code: [Select]
class ControllerPagesCheckoutSuccess extends AController {
public function main() {

        //init controller data
        $this->extensions->hk_InitData($this,__FUNCTION__);

if (isset($this->session->data['order_id'])) {
$this->cart->clear();

unset($this->session->data['shipping_method']);
unset($this->session->data['shipping_methods']);
unset($this->session->data['payment_method']);
unset($this->session->data['payment_methods']);
unset($this->session->data['guest']);
unset($this->session->data['comment']);
unset($this->session->data['order_id']);
unset($this->session->data['coupon']);
}
   


1957
General Support / Re: Layout Manager
« on: November 05, 2012, 09:40:55 AM »
Hello.
We confirm this bug. Bugfix will be in the next release.
If it is critical for you, we can provide files.
Thanks

1958
General Discussion / Re: Register
« on: November 04, 2012, 05:30:01 PM »
Can not register, says that I already have in the system. In the admin client not. no password restores. I can not check the order. Cache cleared.

emails the same?

1959
General Support / Re: Google Analytics
« on: November 04, 2012, 05:26:08 PM »
I'm now working on generating transactional data on the checkout SUCCESS page.

This location is important.  I've mentioned a number of times throughout this process that analytic software should only report success after the confirmation is received and the payment processed.

I'm currently using:

Code: [Select]
    public function onControllerPagesCheckoutSuccess_InitData() {
        $registry = Registry::getInstance();
        $script_html = 'SCRIPT TAG';
        if (isset($this->session->data['order_id'])) {
        $order_id = $registry->get('session')->data['order_id'];
        $order_info = $registry->get('model_checkout_order')->getOrder($order_id);
        $webpropertyid = $this->baseObject->get('config')->get('strikehawk_ganalytics_webpropertyid');
        $script_html = "Place Some html Here, for ex: <script> alert('Order Total: " . $order_info['total'] . "')</script>";
        }
        $this->baseObject->view->addHookVar('payment_analytics', $script_html);
        return;
    }

as opposed to the suggested:

Code: [Select]
    public function onControllerPagesCheckoutConfirm_UpdateData() {
        $registry = Registry::getInstance();
        $order_id = $registry->get('session')->data['order_id'];
        $order_info = $registry->get('model_checkout_order')->getOrder($order_id);
        $webpropertyid = $this->baseObject->get('config')->get('strikehawk_ganalytics_webpropertyid');
        $script_html = "Place Some html Here, for ex: <script> alert('Order Total: " . $order_info['total'] . "')</script>";
        $this->baseObject->view->addHookVar('payment_analytics', $script_html);
        return;
    }

In either case, I'm getting an error similar to this:

Fatal error: Call to a member function getOrder() on a non-object in extensions/strikehawk_ganalytics/core/strikehawk_ganalytics.php on line 27

which refers to the line:

Code: [Select]
$order_info = $registry->get('model_checkout_order')->getOrder($order_id);

My diagnostic code (echoing the $order_id variable) indicates that I do have a valid order ID in the session.  So, it appears that this is not the correct way to invoke the checkout order model...

David
hi.
i think you doing right. (i mean hook on success page)
about error.
i guess cause is model_checkout_order var. Try to paste
Code: [Select]
$this->baseObject->loadModel('checkout/order'); or
Code: [Select]
$registry->get('load')->model('checkout/order');before getOrder call.

1960
General Discussion / Re: Sale
« on: November 02, 2012, 07:44:52 AM »
I can do so that visitors can offer their own products to sell?

yes, you have 2 ways:
1. api
2. write own extension

1961
General Support / Re: Inserting a static banner
« on: November 02, 2012, 06:30:48 AM »
Hi,

I've tried inserting a new image as described above but no matter what size I upload it as, when it uploads and is added to the block it is tiny. What am I doing wrong?

Thanks,
Michelle

hi,
What version of AbanteCart do you use?

1962
Support / Re: I have a problem with currencies
« on: October 29, 2012, 03:42:03 PM »
hello.

try to:
system->settings->details

Auto Update Currency:
Set your store to automatically update currencies daily. Yahoo server is used.

turn it off

1963
Template Support / Re: Customer Registration
« on: October 26, 2012, 04:30:34 AM »
storefront/view/default/template/pages/checkout/guest_step_1.tpl

storefront/controller/pages/checkout/guest_step_1.php line 527

1964
General Support / Re: Google Analytics
« on: October 25, 2012, 06:16:26 PM »
try this
Code: [Select]
class ExtensionStrikehawkGanalytics extends Extension {

    public function onControllerPagesCheckoutConfirm_UpdateData() {
        $registry = Registry::getInstance();
        $order_id = $registry->get('session')->data['order_id'];
        $order_info = $registry->get('model_checkout_order')->getOrder($order_id);
        $webpropertyid = $this->baseObject->get('config')->get('strikehawk_ganalytics_webpropertyid');
        $script_html = "Place Some html Here, for ex: <script> alert('Order Total: " . $order_info['total'] . "')</script>";
        $this->baseObject->view->addHookVar('payment_pre', $script_html);
        return;
    }

    public function onControllerCommonHead_UpdateData() {
        $registry = Registry::getInstance();
        $registry->get('document')->addScript($this->baseObject->view->templateResource('/javascript/global_scripts/myscript.js'));

        $this->baseObject->view->addHookVar('another_var_name', 'Confirmation Massage');
    }
}

1965
Template Support / Re: Checkout confirmation
« on: October 25, 2012, 01:18:07 PM »
Since we only have one option for both shipping and payment, is it possible to remove the editing links on the checkout confirmation page?

Yes. delete it from storefront/view/default/template/pages/checkout/confirm.tpl. 

Pages: 1 ... 129 130 [131] 132 133 ... 137

Powered by SMFPacks Social Login Mod