Addamz
Members-
Posts
22 -
Joined
-
Last visited
Addamz's Achievements
Newbie (1/14)
0
Reputation
-
Hi. How can I change availability green spot in cart to date of real availability, e.g. 2-3 days? I use PrestaShop 1.4.0.17. Thanks for answer.
-
Price with and without VAT on order confirmation mail
Addamz replied to minh's topic in Configuring and using PrestaShop
Hi. Somebody solved the problem? I need to add to new_order.html price without VAT. -
Zdrojové kódy pro vložení FIRMA-IČ-DIČ k dispozici
Addamz replied to mlcochmarek's topic in Obecná diskuze
Nainstaloval som do 1.3.7 upravu s ICO a DIC a ukzauje mi chybu: 1 vyskytla sa chyba počas vytvárania vášho účtu Viete niekto co s tym? -
Hi. I have problem with cart. When I add product with combinations, I cant delete it from the card. When I click od delete icon, page is reloaded and product is still in cart. Its happend only with product combinations.
-
I have a problem. I have prestashop 1.3 and 300 products, but some of them have many combinations, and some of them hundreds, even thousands. After clicking on a product it shows me only error memory limit mysql.php in frontoffice and in backtoffice too. It is able to somehow optimalise BO and FO, so it wont show this error? Rissing of the memory limit on 512MB didnt help. Or can you advice me, how to fix this problem, eg. it is able to make paging attributes of the product in BO, so it wont load all combinations at one time? Im able to pay for the solution.
-
Zdrojové kódy pro vložení FIRMA-IČ-DIČ k dispozici
Addamz replied to mlcochmarek's topic in Obecná diskuze
Zdravim. Uz to nejde stiahnut, viete to niekto uploadnut znovu. Vdaka -
Link Issue when having 4 block advertising
Addamz replied to SK01's topic in Configuring and using PrestaShop
Thank you. Now is all OK. -
Link Issue when having 4 block advertising
Addamz replied to SK01's topic in Configuring and using PrestaShop
Hi. This is error: Fatal error: Cannot redeclare class BlockAdvertising in /Applications/XAMPP/xamppfiles/htdocs/blue/classes/Module.php(323) : eval()'d code on line 115 -
Link Issue when having 4 block advertising
Addamz replied to SK01's topic in Configuring and using PrestaShop
Hi. I have clone of module advertising from prestashop 1.3, but when I upload module to ftp and clik on backoffice/modules I can see only blank page, when I delete cloned module everything is OK. Can you help me? This is my cloned ad module: <?php class BlockAdvertising extends Module { public $adv_link; public $adv_img; public $adv_imgname; function __construct() { $this->name = 'blockadvertising2'; $this->tab = 'Blocks'; $this->version = 0.1; parent::__construct(); $this->displayName = $this->l('Block advertising 2'); $this->description = $this->l('Adds a block to display an advertising'); $this->adv_imgname = 'advertising_custom.jpg'; if (!file_exists(dirname(__FILE__).'/'.$this->adv_imgname)) $this->adv_img = _MODULE_DIR_.$this->name.'/advertising.jpg'; else $this->adv_img = _MODULE_DIR_.$this->name.'/'.$this->adv_imgname; $this->adv_link = htmlentities(Configuration::get('BLOCKADVERT2_LINK'), ENT_QUOTES, 'UTF-8'); } function install() { Configuration::updateValue('BLOCKADVERT2_LINK', 'http://www.prestashop.com'); if (!parent::install()) return false; if (!$this->registerHook('rightColumn') OR !$this->registerHook('leftColumn')) return false; return true; } public function postProcess() { global $currentIndex; $errors = false; if (Tools::isSubmit('submitAdvConf')) { $file = false; if (isset($_FILES['adv_img']) AND isset($_FILES['adv_img']['tmp_name']) AND !empty($_FILES['adv_img']['tmp_name'])) { if ($error = checkImage($_FILES['adv_img'], 4000000)) $errors .= $error; elseif (!move_uploaded_file($_FILES['adv_img']['tmp_name'], dirname(__FILE__).'/'.$this->adv_imgname)) $errors .= $this->l('Error move uploaded file'); $this->adv_img = _MODULE_DIR_.$this->name.'/'.$this->adv_imgname; } if ($link = Tools::getValue('adv_link')) { Configuration::updateValue('BLOCKADVERT2_LINK', $link); $this->adv_link = htmlentities($link, ENT_QUOTES, 'UTF-8'); } } if ($errors) echo $this->displayError($errors); } public function getContent() { $this->postProcess(); echo ' <form action="'.$_SERVER['REQUEST_URI'].'" method="post" enctype="multipart/form-data"> '.$this->l('Advertising block configuration').' adv_link.'" target="_blank" title="'.$this->l('Advertising').'">'; if ($this->adv_img) echo 'adv_img.'" alt="'.$this->l('Advertising image').'" style="margin-left: 100px;"/>'; else echo $this->l('no image'); echo ' '.$this->l('Change image').' <input id="adv_img" type="file" name="adv_img" /> '.$this->l('Image link').' <input id="adv_link" type="text" name="adv_link" value="'.$this->adv_link.'" /> <input class="button" type="submit" name="submitAdvConf" value="'.$this->l('validate').'" style="margin-left: 200px;"/> </form> '; } /** * Returns module content * * @param array $params Parameters * @return string Content */ function hookRightColumn($params) { global $smarty, $protocol_content, $server_host; $smarty->assign('image', $protocol_content.$server_host.$this->adv_img); $smarty->assign('adv_link', $this->adv_link); return $this->display(__FILE__, 'blockadvertising2.tpl'); } function hookLeftColumn($params) { return $this->hookRightColumn($params); } } ?> -
Mne nefunguje ani ten upraveny modul na dobierku s poplatkom, ked zadam 100ks tak v historii to je OK, PDF tiez, v admine tiez, ale mail mi ukazuje 6ks za 45 EUR a dole ukaze spravnu sumu 765 EUR. Neviete kde je problem? Vdaka
-
Hi, I have weird problem with ordering proces. When I click on next button after carrier select system wont continue to payment, but browser show download window with order.php file. I have tried default template but error still persist. Other functions works well. Can you help me? Thanx Regards Jaro
-
Hi, webfonts work fine on FF, Safari, Opera but IE can't load site.
-
[CONTRIBUTION] Better order-steps template
Addamz replied to Eihwaz's topic in Addons, modules and themes developers
Thanx. Very nice mod. -
In 1.2.5 change product.tpl with this code. > </pre> <ul> {foreach from=$images item=image name=thumbnails} {assign var=imageIds value=`$product->id`-`$image.id_image`} getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" rel="zoombox[other-views]" class="{if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}"> getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" />
-
[SOLVED] Remove right column in order
Addamz replied to Addamz's topic in Addons, modules and themes developers
Yes all is now OK. Thank you very much for help. You are PrestaGod