Jump to content

PrestaRob

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Activity
    Freelancer

Recent Profile Visitors

404 profile views

PrestaRob's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hello, try attached module - it adds Manufacturers & Suppliers to product list in admin. adminmodifications.zip
  2. Translation system of PS 1.7 is basically worst thing that happened to PS imho. Everything else is OK to me, but translations are pain in the a** nowadays. Most of the times I cannot even find the translation strings from the templates so it's faster for me to add translations manually directly into database (I even had to override core language files for one shop). And because of the separated module translations it's not possible to translate effectively at all :-(
  3. Hi, there is one thing that bothers me a lot about Presta 1.7.5.X BackOffice - when editing product, there is "x" instead of product name in the meta title (tab/window name) - see screen below. It makes editation of multiple products at same time kinda confusing and not very effective. In categories and actually everything else in BO it works just fine - category name is shown, module names are shown etc. Can we do anything about it? Thanks (o:
  4. Hi there, I'm trying to clone bankwire on Prestashop 1.6.0.14 and the solution of stunomatic works ALMOST perfect. Problem is on the last step of the order process. It is probably caused by some minor change between 1.6.0.9 and 1.6.0.14 but I can not figure it out. When I click on the last step of ther order process (website/module/publicbank/payment) on the confirmation button, 500 SERVER ERROR pops up. So I turned on debugging and it says this: [PrestaShopException] Can't load Order status at line 178 in file classes/PaymentModule.php 173. 174. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id); 175. if (!Validate::isLoadedObject($order_status)) 176. { 177. PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int)$id_cart, true); 178. throw new PrestaShopException('Can\'t load Order status'); 179. } 180. 181. if (!$this->active) 182. { 183. PrestaShopLogger::addLog('PaymentModule::validateOrder - Module is not active', 3, null, 'Cart', (int)$id_cart, true); PaymentModuleCore->validateOrder - [line 127 - modules/publicbank/controllers/front/validation.php] - [9 Arguments] 122. 123. ); 124. 125. 126. 127. $this->module->validateOrder($cart->id, Configuration::get('PS_OS_PUBLICBANK'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key); 128. 129. Tools::redirect('index.php?controller=order-confirmation&id_cart='.$cart->id.'&id_module='.$this->module->id.'&id_order='.$this->module->currentOrder.'&key='.$customer->secure_key); 130. 131. } 132. PublicbankValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] 166. // setMedia MUST be called before postProcess 167. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) 168. $this->setMedia(); 169. 170. // postProcess handles ajaxProcess 171. $this->postProcess(); 172. 173. if (!empty($this->redirect_after)) 174. $this->redirect(); 175. 176. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) ControllerCore->run - [line 373 - classes/Dispatcher.php] 368. // Execute hook dispatcher 369. if (isset($params_hook_action_dispatcher)) 370. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 371. 372. // Running controller 373. $controller->run(); 374. } 375. catch (PrestaShopException $e) 376. { 377. $e->displayMessage(); 378. } DispatcherCore->dispatch - [line 28 - index.php] 23. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); 28. Dispatcher::getInstance()->dispatch(); I've seen similar problem in other topic and they say the problem is caused by database tables (ps_order_state, ps_order_state_lang) so I've tried to import default tables but it didn't solve anything. Will we figure this out together?
  5. Hello, I need to import customers and their addresses. I see there is VAT number column in the import template but I need also to import the Identification number of customers. Is it possible? And how? Thanks in advance.
  6. Ahoj, to se smaže ve chvíli, kdy dojde k rekompilaci souborů — pokud máš zapnutou kompilaci a něco na webu upravíš, tak se ti znovu vygeneruje .htaccess bez tvojí úpravy.
  7. Hello Erik, solution is right here. I had same problem few hours ago and article linked above helped to resolve it.
  8. Hello, is there any chance to switch between product images like it's possible in ordinary image galleries? I mean when you click on the thumbnail and enjoying full-size image? (previous & next buttons, switching with arrows — as seen in Lightbox galleries) Product with images example. Below is my image block code from product.tpl: <div id="image-block"> {if $have_image} {if $jqZoomEnabled} <a id="zoom1" rel="position: 'inside' , showTitle: false, adjustX:0, adjustY:0" class="cloud-zoom" href="{$link->getImageLink($product->link_rewrite, $cover.id_image,'thickbox')}" style="position: relative; display: block; width:106px!important; height:106px!important;"> <img alt="{$product->name|escape:'htmlall':'UTF-8'}" width="106" height="106" title="{$product->name|escape:'htmlall':'UTF-8'}" src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}" style="display: block ; z-index:2; opacity:0; width:106px!important; height:106px!important;"> <img alt="{$product->name|escape:'htmlall':'UTF-8'}" id="bigpic" class="picpic" width="304" height="388" title="{$product->name|escape:'htmlall':'UTF-8'}" src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}" style="display: block; margin-top:0px; margin-left:0; top:-270px; left:-186px; position:absolute; z-index:1"> </a> {else} <a href="{$link->getImageLink($product->link_rewrite, $cover.id_image)}" class="thickbox" title="{$product->name|escape:'htmlall':'UTF-8'}"> <img src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}" id="bigpic" /></a> {/if} {else} <a href="{$link->getImageLink($product->link_rewrite, $cover.id_image)}" class="thickbox" title=" $product->name|escape:'htmlall':'UTF-8'}"> <img src="{$img_prod_dir}{$lang_iso}-default-large.jpg" alt="" id="bigpic" title="{$product->name|escape:'htmlall':'UTF-8'}" /> </a> {/if} </div> {if isset($images) && count($images) > 0} <!-- thumbnails --> <div id="views_block" {if isset($images) && count($images) < 2}class="hidden"{/if}> <div class = 'container'> <div class = 'iosSlider'> <div class = 'slider'> {if isset($images)} {foreach from=$images item=image name=thumbnails} {assign var=imageIds value="`$product->id`-`$image.id_image`"} <div id='item'> {if $jqZoomEnabled} <a href="{$link->getImageLink($product->link_rewrite, $imageIds, 'zoom')}" class="cloud-zoom-gallery" title="{$image.legend|htmlspecialchars}" rel="useZoom: 'zoom1', smallImage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'large')}'"> <img src="{$link->getImageLink($product->link_rewrite, $imageIds, 'larg-mini')}" alt="{$image.legend|htmlspecialchars}"/> </a> {else} <a href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}"> <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'larg-mini')}" alt="{$image.legend|htmlspecialchars}" /> </a> {/if} </div> {/foreach} {/if} </div> {if isset($images) && count($images) > 3} <div class = 'next2'></div>{/if} {if isset($images) && count($images) > 3} <div class = 'prev2 unselectable2'></div>{/if} </div> </div> </div> {/if} {if isset($images) && count($images) > 1} <p class="resetimg" style="display:none;"> <span id="wrapResetImages" style="display: none;"> <img src="{$img_dir}icon/cancel_11x13.gif" alt="{l s='Cancel'}" width="11" height="13"/> <a id="resetImages" href="{$link->getProductLink($product)}" onclick="$('span#wrapResetImages').hide('slow');return (false);">{l s='Display all pictures'}</a> </span> </p> {/if} </div> Thanks in advance!
×
×
  • Create New...