Jump to content

Szkudi

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Location
    Poland
  • Activity
    Freelancer

Szkudi's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Ok, maybe it's a little late for a fix for "fatal error" message showing in file manager, but I've found a solution (or maybe a workaround) and it can help for the future.. It seems filemanager is checking user permissions for some content. In filemanager/config/config.php file around line 15 there is: $products_accesses = Profile::getProfileAccess(Context::getContext()->employee->id_profile, Tab::getIdFromClassName('AdminProducts')); $cms_accesses = Profile::getProfileAccess(Context::getContext()->employee->id_profile, Tab::getIdFromClassName('AdminCmsContent')); if (!$products_accesses['edit'] && !$cms_accesses['edit']) { die(Tools::displayError()); } after deleting "if" condition everything works just fine.
  2. Hi, I don't know if this problem is still unsolved but I've found a solution. It seems FileManager checks user permissions when trying to access image catalog, so only thing You have to do is go to config.php file in your ftp [admin folder]/filemanager/config and comment (or delete) lines (form 18) if (!$products_accesses['edit'] && !$cms_accesses['edit']) { die(Tools::displayError()); } Unfortunately You'll have to do this every time you upgrade you PS.
  3. Ze swojej strony mogę polecić ten moduł, klienci, którzy zakupili produkt dostają unikatowy link do komentarzy zarówno sklepu jak i każdego zakupionego produktu, można raz na tydzień np. ustawić cron dla wysyłania maili do klientów, do teo po krótkiej zabawie w plikach można zautomatyzować wysyłanie przygotowanego kodu rabatowego w momencie dodania opinii. Sam moduł jest dość drogi ale myślę, że warto.
  4. HI, I have similar problem... On my store (Ballarini.pl) I have about 30 stores added and a while ago everything worked just fine. Now there is a map centered on Pacific Ocean near Papua New Guinea (??) and no stores can be found (in Warsaw there are about 9). What's interesting, when I turn on simplified store locator they are all listed, so I guess there's something wrong with Google maps. Can anyone help, please? Regards, Marcin
  5. Hi, I have similar problem with file manager. I've created additional accounts for some employees that should be allowed just to add and edit posts in PrestaBlog module. Unfortunately when they try to add new file (like image) or choose one via FileManager then "fatal error" pops out (like this). I guess there is something wrong with given permissions (screenshot), on SuperAdmin profile all works fine. Is there any way to fix that? My PS is 1.6.0.14
  6. Hi, I have preety much the same problem (PS 1.6.0.14). I hooked module to displayHome, but now I can see only one, random product (on backoffice it's configured to display 5 of them). Is there any easy way to show for example 6 products (3x2)? Here is a .tpl code I guess needs to be modified: <div class="block_content products-block"> {if $special} <ul> <li class="clearfix"> <a class="products-block-image" href="{$special.link|escape:'html':'UTF-8'}"> <img class="replace-2x img-responsive" src="{$link->getImageLink($special.link_rewrite, $special.id_image, 'small_default')|escape:'html':'UTF-8'}" alt="{$special.legend|escape:'html':'UTF-8'}" title="{$special.name|escape:'html':'UTF-8'}" /> </a> <div class="product-content"> <h5> <a class="product-name" href="{$special.link|escape:'html':'UTF-8'}" title="{$special.name|escape:'html':'UTF-8'}"> {$special.name|escape:'html':'UTF-8'} </a> </h5> {if isset($special.description_short) && $special.description_short} <p class="product-description"> {$special.description_short|strip_tags:'UTF-8'|truncate:40} </p> {/if} <div class="price-box"> {if !$PS_CATALOG_MODE} <span class="price special-price"> {if !$priceDisplay} {displayWtPrice p=$special.price}{else}{displayWtPrice p=$special.price_tax_exc} {/if} </span> {if $special.specific_prices} {assign var='specific_prices' value=$special.specific_prices} {if $specific_prices.reduction_type == 'percentage' && ($specific_prices.from == $specific_prices.to OR ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $specific_prices.to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $specific_prices.from))} <span class="price-percent-reduction">-{$specific_prices.reduction*100|floatval}%</span> {/if} {/if} <span class="old-price"> {if !$priceDisplay} {displayWtPrice p=$special.price_without_reduction}{else}{displayWtPrice p=$priceWithoutReduction_tax_excl} {/if} </span> {/if} </div> </div> </li> </ul> <div> Thanks for any help Here is what it looks like right now: link
  7. Hi, I have a problem related to this topic but I couldn't find any other closer to what I need. I'd like to enable sorting all products in my shop (PS 1.6) by tags they have. For example I have 4 products (named A, B, C) and each of them have their own tag (Z, M, P). I'd like to add an option that would check tags of products and sort them by those tags. Anyone have an idea how to do that?
×
×
  • Create New...