Show Posts


Messages - abolabo

Pages: 1 ... 139 140 [141] 142 143 144
2101
General Support / Re: new upgrade removed no_image.jpg link
« on: July 31, 2012, 08:43:27 AM »
how you cleared, via UI or deleting files from system/cache directory? i need to know.

2102
hello.
sorry, i don't understand what's problem. ???
If you set -22 "$" in your's product option which have base price $200 after option choose you will have price $178
If +22 "$"     ->    $222

If -22 "%"     ->     $156
If +22 "%"    ->     $244


2103
General Support / Re: new upgrade removed no_image.jpg link
« on: July 30, 2012, 12:13:01 PM »
so, guys, what about cache?

2104
General Support / Re: Showing Length, Width, Height?
« on: July 30, 2012, 12:08:43 PM »
hi.
you can add something like this in your product.tpl file
Code: [Select]
<?php echo "width:".$product_info['width']; ?>
<?php echo "height:".$product_info['height']; ?>
<?php echo "length:".$product_info['length']; ?>

i see that we forgot to add length unit name in $product_info var. We'll add this into new version.
You can do this manually. Open file storefront/model/catalog/product.php method getProduct (29 line)
and  replace
Code: [Select]
$query = $this->db->query(
"SELECT DISTINCT *, pd.name AS name, m.name AS manufacturer, ss.name AS stock_status " .
$this->_sql_join_string() .
" WHERE p.product_id = '" . (int)$product_id . "'
AND p2s.store_id = '" . (int)$this->config->get('config_store_id') . "'
AND p.date_available <= NOW() AND p.status = '1'");
by this

Code: [Select]
$query = $this->db->query(
"SELECT DISTINCT *, pd.name AS name, m.name AS manufacturer, ss.name AS stock_status, lcd.unit as length_class_name " .
$this->_sql_join_string() .
"LEFT JOIN " . DB_PREFIX . "length_class_descriptions lcd
ON (p.length_class_id = lcd.length_class_id AND lcd.language_id = '" . (int)$this->config->get('storefront_language_id') . "')
WHERE p.product_id = '" . (int)$product_id . "'
AND p2s.store_id = '" . (int)$this->config->get('config_store_id') . "'
AND p.date_available <= NOW() AND p.status = '1'");
Thank you.

2105
Installation and Configuration / Re: Error During Install
« on: July 26, 2012, 03:21:59 AM »
try to connect to database from another software, for ex "Mysql Query".
it's not abantecart issue.

2106
General Support / Re: new upgrade removed no_image.jpg link
« on: July 25, 2012, 07:22:33 AM »
Is this the same issue as posted by MLCS?

i don't know yet. did you tried to clear cache directory?

2107
General Extensions / Re: Placing Asynchronous scripts globally
« on: July 24, 2012, 03:33:21 PM »
Though, I'm still a bit curious as to how you do this with scripts generated on the fly, as for various analytics platforms.....

Try to change page.tpl and add <?php echo $your_var_name; ?> before </body>
Also create hook on ControllerCommonPage and fill this var like this:
Code: [Select]
$this->baseObject->view->assign('your_var_name','<script type="text/javascript" src="'.$this->baseObject->templateResource('/javascript/global_scripts/myscript.js'.'"></script>';
Will it work for you?


2108
General Support / Re: new upgrade removed no_image.jpg link
« on: July 24, 2012, 01:33:22 PM »
or try to delete all files from system/cache directory manually

2109
General Support / Re: new upgrade made product tabs go weird
« on: July 24, 2012, 01:20:03 PM »
it is not upgrade related bug.
it's default template html-bug.
replace file storefront/view/default/template/pages/product/product.tpl by attached

2110
General Support / Re: new upgrade made product tabs go weird
« on: July 24, 2012, 12:58:03 PM »
in google chrome only?

2111
General Support / Re: customer order email confirmation.
« on: July 23, 2012, 06:01:22 PM »

Some of these things may help avoid ending up in a spam bucket, sure.  But will not help much if the store owner uses their own mail server to send promotional mailings.  The RBL will still catch SMTP mediated mail.

In terms of testing to see if the email account is valid, I'd suggest that this should be an available option in account creation processes.  Better is to make sure that the address is entered twice and that both entries match.   In this case, given the report of multiple tests using the same account we might be safe in assuming that a bad email address is not the problem. 

David

about address checking...your idea is good.. i think we can add it to road map ...or somebody will help us.

2112
General Support / Re: new upgrade removed no_image.jpg link
« on: July 23, 2012, 02:31:50 PM »
you can't upgrade by jump through  version from 1.0.2 to 1.0.4.
Changes of 1.0.3 are lost.

2113
General Support / Re: customer order email confirmation.
« on: July 23, 2012, 08:48:33 AM »
Check also your mail server settings.

If sending from user@serviceprovider.tld to user@serviceprovider.tld  the server may refuse to post an email, as the mail user shouldn't need to post mail to themselves.

no. mail-server can deliver  from sender to sender. it's absolutely normal behaviour.


Also - check that the address involved in sending is not blocked by an RBL used by the receiving server.

David

David, php use system mail-client (mailer), that works on webserver, for example, sendmail or simple ssmtp. If you have tuned up mailer you can set mail settings of you abantecart to "mail". Usually hosting servers already tuned up correctly.
If not - use "ssmtp" and set parameters.

testing mail-server before sending is not good idea. That process takes a lot of time. We should run multithread process for order changing, in other case customer will wait.

so.. i just tested mailing..
1. enable alert mails for new orders in setting->mail
2. When you change order status check "notify customer"

All emails was sent, after order confirm (to customer and owner), after order status to customer. All works right.

2114
General Extensions / Re: Placing Asynchronous scripts globally
« on: July 23, 2012, 07:15:26 AM »
This places a single script into the head of the page.

An asynchronous script is split into two (or more) script blocks at least one of which is placed in the foot of the page. (ie, just before the closing of the body).

Also, there are many instances in which placing a script at the bottom of the page is desirable.  I don't see a method which will accomplish this.

David

sorry, but i don't understand what's problem.
First script adds to head.
Second  script tag  - into common/page.tpl before body tag close.

 

2115
General Extensions / Re: Placing Asynchronous scripts globally
« on: July 23, 2012, 04:06:57 AM »
hello.
1. You can place scripts from controller.
2. You can pace "script" tags in your tpl-file.
1st way is prefer.

If you want to place scripts globally you can add it into common/head (php or tpl) file.

i don't know what you doing but if you working on template you can hook controller common/head.php.
for ex. your extension calls mytemplate:
1. create file with hook in directory mytemplate/core/hook.php and include it into main.php
Code: [Select]
(if(!class_exists('ExtensionMyTemplate')){
include('core/hook.php');
})
2. place there hook something like this
Code: [Select]
class ExtensionMyTemplate extends Extension {
   
     public function onControllerCommonHead_UpdateData() {
$registry = Registry::getInstance();
$registry->get('document')->addScript($this->view->templateResource('/javascript/global_scripts/myscript.js'))
    }
}

Pages: 1 ... 139 140 [141] 142 143 144

Powered by SMFPacks Social Login Mod