Skocz do zawartości

eman.tuchola

Members
  • Zawartość

    9
  • Rejestracja

  • Ostatnia wizyta

O eman.tuchola

  • Tytuł
    Początkujący
  1. Problem z integracją CENEO.

    INtegrator - moduł do integracji z Ceneo i Nokautem Podobny blad wyswietla sie tez przy probie wlaczenia modulu Masowej Edycji Produktu i w Store Export
  2. Problem z integracją CENEO.

    Proszę pomóżcie mi. Przez mój moduł probuje podlaczyc sie do porównywarek lecz pod linkiem do produktów w postaci XML wyswietla sie taki błąd: <span class="syntaxdefault">Fatal error</span><span class="syntaxkeyword">: </span><span class="syntaxdefault">Uncaught exception </span><span class="syntaxstring">'Exception' </span><span class="syntaxdefault">with message </span><span class="syntaxstring">'Plugin tag "dateFormat" already registered' </span><span class="syntaxdefault">in </span><span class="syntaxkeyword">/</span><span class="syntaxdefault">users</span><span class="syntaxkeyword">/</span><span class="syntaxdefault">sh174096</span><span class="syntaxkeyword">/</span><span class="syntaxdefault">www</span><span class="syntaxkeyword">/</span><span class="syntaxdefault">almondshop</span><span class="syntaxkeyword">/</span><span class="syntaxdefault">tools</span><span class="syntaxkeyword">/</span><span class="syntaxdefault">smarty</span><span class="syntaxkeyword">/</span><span class="syntaxdefault">sysplugins</span><span class="syntaxkeyword">/</span><span class="syntaxdefault">smarty_internal_register</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">php</span><span class="syntaxkeyword">:</span><span class="syntaxdefault">34 Stack trace</span><span class="syntaxkeyword">: </span><span class="syntaxcomment">#0 /users/sh174096/www/almondshop/tools/smarty/Smarty.class.php(776): Smarty_Internal_Register->registerPlugin('function', 'dateFormat', Array) #1 [internal function]: Smarty->__call(Array, Array) #2 /users/sh174096/www/almondshop/tools/smarty/sysplugins/smarty_internal_wrapper.php(77): Smarty->registerPlugin('registerPlugin', Array) #3 /users/sh174096/www/almondshop/tools/smarty/Smarty.class.php(766): Smarty_Internal_Wrapper->convert('function', 'dateFormat', Array) #4 /users/sh174096/www/almondshop/init.php(110): Smarty->__call(Array, Array) #5 /users/sh174096/www/almondshop/init.php(110): Smarty->register_function('register_functi...', Array) #6 /users/sh174096/www/almondshop/modules/integrator/links.php(9): include('/users/sh174096...') #7 {main} thrown in /users/sh174096/www/almondshop/tools/smarty/sysplugins/smarty_internal_register.php on line 34 </span><span class="syntaxdefault"></span> Jak to naprawić? Mam preste 1.4.4.7 i nie mam juz zielonego pojecia co jest grane.
  3. Moduł do importu plików CSV

    Ściągnij program eMagicOne Menager PrestaShop. Ogólnie jest płatny, ale można z niego korzystać przez 30 dni za darmo. I zaimportuj sobie co chcesz własnie przez ten program. Powinno to rozwiązać Twoje problemy
  4. Powielanie modulu - błąd

    Witam. Kończać już swój sklep natknąłem się raczej na ostatni już problem od strony technicznej, którego nie umiem rozwiązać. Mianowicie: Pobrałem z sieci darmowy moduł "prodbycats" na moja presta 1.4.4.7, odpowiedzialny za wyśiwetlanie na stronie głównej produktów tylko z jednej wybranej kategorii. Powieliłem go (potrzebuję tego u siebie w sklepie) i z pozoru wszystko działa jak należy jednak wybierając kategorię w moim prodbycats2 zmieniam niestety ustawienia w prodbycats1. Wie ktoś może jak rozwiązać ten problem? To jest tpl modulu prodbycats2 {* * 2007-2012 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 14011 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- MODULE Home Featured Products --> {section name=prod loop=$pbc_catLong} {assign var=pbc_product value=$products{$smarty.section.prod.index}} {assign var=pbc_category_name value=$pbc_catName{$smarty.section.prod.index}} {assign var=pbc_category_id value=$pbc_catId{$smarty.section.prod.index}} <div id="featured-products_block_center" class="block products_block"> {if isset($pbc_product) AND $pbc_product} <div class="block_content"> {assign var='liHeight' value=370} {assign var='nbItemsPerLine' value=4} {assign var='nbLi' value=$pbc_product|@count} {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} {math equation="nbLines*liHeight" nbLines=$nbLines|ceil liHeight=$liHeight assign=ulHeight} <ul style="height:{$ulHeight}px;"> {foreach from=$pbc_product item=product name=homeFeaturedProducts} {assign var=pbc_image value=$prodImg{$product.id_product}} <li class="ajax_block_product {if $smarty.foreach.homeFeaturedProducts.first}first_item{elseif $smarty.foreach.homeFeaturedProducts.last}last_item{else}item{/if} {if $smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLine == 0}last_item_of_line{elseif $smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLine == 1}clear{/if} {if $smarty.foreach.homeFeaturedProducts.iteration > ($smarty.foreach.homeFeaturedProducts.total - ($smarty.foreach.homeFeaturedProducts.total % $nbItemsPerLine))}last_line{/if}"> <h1>[url="{$product.link}"]{$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'}[/url]</h1> <div class="product_desc">[url="{$product.link}"]{$product.description_short|strip_tags|truncate:130:'...'}[/url] {if $pbc_image|@count > 3} <div align="center" style="margin-top:10px"> {section name=prod_imgs loop=$pbc_image|@count max=3} [img={$link->getImageLink(] {/section} </div> {elseif $pbc_image|@count == 2} <div align="left" style="margin-top:10px"> {section name=prod_imgs loop=$pbc_image|@count max=1} [img={$link->getImageLink(] {/section} </div> {else} <div> </div> {/if} </div> <a href="{$product.link}" title="{$product.name|escape:html:'UTF-8'}" class="product_image">[img='.$this->_path.]'.$this->l('Settings').'</legend> <p>'.$this->l('In order to add products to your homepage.').'</p> <label>'.$this->l('Number of products displayed by category').'</label> <div class="margin-form"> <input type="text" size="5" name="nbr" value="'.Tools::safeOutput(Tools::getValue('nbr', (int)(Configuration::get('PBC_HOME_FEATURED_NBR')))).'" /> <p class="clear">'.$this->l('The number of products displayed on homepage (default: 10).').'</p> </div> <label>'.$this->l('Indicate categories id to display') .'</label> <div class="margin-form"> <input type="text" size="20" name="pbc_ctd" value="'.Tools::safeOutput(Tools::getValue('pbc_ctd', (Configuration::get('PBC_CAT_TO_DISPLAY')))).'" /> <p class="clear">'.$this->l('indicate the id numbers separated by a coma (,) (default: 1).').'</p> </div> <center><input type="submit" name="submitHomeFeatured" value="'.$this->l('Save').'" class="button" /></center> </fieldset> </form>'; return $output; } function hookHome($params) { global $smarty; $pbc_ctd = configuration::get('PBC_CAT_TO_DISPLAY'); $pbc_cat_arr = explode (',', $pbc_ctd); $pbc_cat_long = count($pbc_cat_arr); $nb = (int)(Configuration::get('PBC_HOME_FEATURED_NBR')); for ($x = 0; $x <= $pbc_cat_long; $x++) { $category[$x] = new Category($pbc_cat_arr[$x], Configuration::get('PS_LANG_DEFAULT')); $pbc_cat_name[$x] = $category[$x]->name; $pbc_cat_id[$x] = $category[$x]->id; $products[$x] = $category[$x]->getProducts((int)($params['cookie']->id_lang), 1, 100); // Mix products and show by $nb if ($products[$x]) { shuffle($products[$x]); array_splice($products[$x], ($nb ? $nb : 10)); } // get Images by products for ($y=0; $y < count($products[$x]); $y++) { $pbc_id_prod = $products[$x][$y]['id_product']; $prodImg[$pbc_id_prod] = Image::getImages(Configuration::get('PS_LANG_DEFAULT'),$products[$x][$y]['id_product']); $smarty->assign(array('prodImg'.$pbc_id_prod => $prodImg[$pbc_id_prod])); } $smarty->assign(array( 'pbc_catLong' => $pbc_cat_long, 'pbc_catId'.$x => $pbc_cat_id[$x], 'pbc_catName'.$x => $pbc_cat_name[$x], 'products'.$x => $products[$x], 'imgComb' => $imgComb, 'add_prod_display' => Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY'), 'homeSize' => Image::getSize('home'))); } return $this->display(__FILE__, 'prodbycats2.tpl'); } } ?>
  5. Moduł produktów z wybranej kategorii na stronie głównej.

    Jakby ktoś był tak miły to w ramach rekompensaty za pomoc mogę oddać mu niezawodny moduł integracji z porównywarkami. Troszke za niego dałem wiec chyba warto,
  6. Witam. Orientuje sie ktoś może czy istnieje taki moduł do Presty (korzystam z 1.4.7) dzieki któremu wyświetlił bym na stronie głównej pordukty tylko z wybranej przeze mnie kategorii? Proszę o pomoc. Bo walcze z tym, sam nie umiem jednak tego wykonać a no potrzebuje tego na gwałt. Z góry dziekuję za wszelką chec pomocy
  7. Pomocy z homefeatured

    Widzę to forum umiera, temat nieaktualny. Nie rozwiązałem problemu ale zrobiłem swój moduł we flashu i jakoś to działa
  8. Pomocy z homefeatured

    Powineienm dodać wcześniej, ale mam Preste Shop 1.4.7. Niestety nie mam tam takiego pliku w css.
  9. Pomocy z homefeatured

    Siedzę już nad tym kilkanaście godzin i wydaje mi sie że jestem coraz dalej od odpowiedzi na moje pytanie niż na początku. Powiedzcie mi gdzie ustawia się szerokość modułu homefeatured? Chodzi mi by zrobic z polecanych produktów coś takiego: http://www.prestashopic.com/wp-content/uploads/2010/06/41.png W standardowym szablonie Presty ten moduł jest jakby wyśrodkowany tak by pozostało miejsce na prawą kolumnę. Ja chcę poszerzyć ten moduł tak by zajmował i kolumnę home i kolumnę prawą. Pomóżcie
×