Jump to content

khaledsaied

Members
  • Content count

    86
  • Joined

  • Last visited

3 Followers

About khaledsaied

  • Rank
    PrestaShop Apprentice

Profile Information

  • Gender
    Male
  • Activity
    Freelancer
  1. Problemer Med Flere Sprog På Siden

    Den er løst nu Fandt ud af at problemet lå i "Leo Slide Modulet", som er anvendt på forsiden. Af en grund så har den åbenbart ikke lagt referencer til de anvendte billeder for alle sprog. Det fik jeg rettet i databasen.
  2. Problemer Med Flere Sprog På Siden

    Jeg har slået debug mode til og får følgende fejlmeddelelse: Notice: getimagesize(): Read error! in /home/buyzaapt/public_html/modules/leobtslider/libs/phpthumb/GdThumb.inc.php on line 1070 Fatal error: Uncaught exception 'Exception' with message 'File is not a valid image: /home/buyzaapt/public_html/modules/leobtslider/images/' in /home/buyzaapt/public_html/modules/leobtslider/libs/phpthumb/ThumbBase.inc.php:193 Stack trace: #0 /home/buyzaapt/public_html/modules/leobtslider/libs/phpthumb/GdThumb.inc.php(1081): ThumbBase->triggerError('File is not a v...') #1 /home/buyzaapt/public_html/modules/leobtslider/libs/phpthumb/GdThumb.inc.php(98): GdThumb->determineFormat() #2 /home/buyzaapt/public_html/modules/leobtslider/libs/phpthumb/ThumbLib.inc.php(127): GdThumb->__construct('/home/buyzaapt/...', Array, false) #3 /home/buyzaapt/public_html/modules/leobtslider/libs/BaseSource.php(117): PhpThumbFactory::create('/home/buyzaapt/...') #4 /home/buyzaapt/public_html/modules/leobtslider/libs/sources/images/source.php(55): LeoBaseSource->renderThumb('http://buyzaapt...' '1000', '340') #5 /home/buyzaapt/public_html/modules/leobtslider/leobtslider.php(578): LeoImagesSource->getData(Object(LeoParams)) #6 /home/buyzaapt/pu in /home/buyzaapt/public_html/modules/leobtslider/libs/phpthumb/ThumbBase.inc.php on line 193
  3. Hej Jeg bruger prestashop 1.5.6.1. Hjemmesiden er på dansk og jeg har for nyligt tilføjet det engelske sprog til hjemmesiden, så man kan skifte mellem dansk og engelsk. Dog opstår der problemer såsnart jeg skifter til engelsk, hvor hjemmesiden går blank. Alle sider fungerer fint på engelsk undtagen forsiden (index.php). Hvordan kan jeg fixe dette? Min hjemmeside er: http://buyzaaptv.dk På forhånd tak.
  4. Hi I am using prestashop 1.5.6.1 I have recently added english language to my page the standard language is danish and now I am able to switch perfectly fine between english and danish on all pages except the home page (index page) which goes blank when I switch to english. How can I translate the index page, so it works on the english version also instead of going blank? My website is: http://buyzaaptv.dk The translation box is in the footer --> bottom right side. Thanks.
  5. Out of stock - Image overlay

    I have also tried to look into that, it is either the "new-products.tpl" or the "blocknewproducts.tpl". I tried to paste the same code in both of these(not at the same time) but neither of them worked for me. Maybe I am pasting the code the wrong place?
  6. Out of stock - Image overlay

    Thanks for the reply. Yes I did something like that and it is working on my product pages but it is not working on my homepage for the new products module and most sold module. Any Idea how to fix that? Here is the problem described more detailed: https://www.prestashop.com/forums/topic/323879-mark-few-products-as-sold/?p=1955319
  7. Mark few products as SOLD

    This works for me, but not in the product.tpl. I placed the code in the product-list.tpl and used a custom label which I created in global.css: <li class="ajax_block_product{if $smarty.foreach.products.iteration%$nbItemsPerLine == 0} last-in-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLine == 1} first-in-line{/if}{if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModulo)} last-line{/if}{if $smarty.foreach.products.iteration%$nbItemsPerLineTablet == 0} last-item-of-tablet-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLineTablet == 1} first-item-of-tablet-line{/if}{if $smarty.foreach.products.iteration%$nbItemsPerLineMobile == 0} last-item-of-mobile-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLineMobile == 1} first-item-of-mobile-line{/if}{if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModuloMobile)} last-mobile-line{/if}"> {if isset($product.new) && $product.new == 1} <span class="new-box"> <span class="new-label">{l s='New'}</span> </span> {/if} {if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE} <span class="sale-box"> <span class="sale-label">{l s='Sale!'}</span> </span> {/if} {if $product.quantity < 1} <span class="sold-box"> <span class="sold-label">{l s='Not in stock!'}</span> </span> {/if} But I only have one problem, the label is not visible on the products shown on the home page. How can I achieve that? My custom label is called "sold-label" and I am using a paid theme with Prestashop 1.6
  8. Out of stock - Image overlay

    I took a look at this link but it looks like it's not up to date with prestashop 1.6. I wrote a comment in there and a couple of others also did that as it is a little confusing...
  9. When I add this code in product-list.tpl line 260: {if $product.quantity==0}<img src="url/small.png" style="position:absolute; top:0px; right:0px; "/>{/if} it works fine on the product/category pages. But on my home page the new products block dissappears. How come? This is the code in context: <div class="left-block"> <div class="product-image-container"> <a class="product_img_link" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url"> <img class="replace-2x img-responsive" src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html':'UTF-8'}" alt="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" title="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} itemprop="image" /> {if $product.quantity==0}<img src="url/small.png" style="position:absolute; top:0px; right:0px; "/>{/if} </a> {if isset($quick_view) && $quick_view} <a class="quick-view" href="#" rel="{$product.link|escape:'html':'UTF-8'}"> <span>{l s='Quick view'}</span> </a> {/if} </div> </div> I also tried this out: https://www.prestashop.com/forums/topic/323879-mark-few-products-as-sold/?p=1955319 EDIT: I found the reason to why the new products block dissappears. You have to clear cache from the backend then it should work
  10. HOW to make it work on prestashop 1.6?? What should I do to show the sold-out image on products in the product-list?
  11. How can I enable the footer from the original theme in prestashop 1.6, when I am running another theme? Nothing seems to work.
  12. [sOLVED] Hi I have troubled with this issue for some time now and I just can't see why the footer information disappears from my site on the phone, when it is perfectly showing on my website in desktop mode. Even though the module (Footer Impact) is enabled for both mobile and computers. Can someone please help me out? I have attached two images: one showing the footer on the phone and another showing the footer on the computer. I solved the problem but don't know how to mark it as solved. The solution was to just disable the mobile theme from the backoffice.
  13. Hi people I have a little error with my guest registration. The guest registration disappears when clicking the "login" or "create new button" without filling the login or userinformation. my site: http://buyzaaptv.dk/logind?multi-shipping=0&display_guest_checkout=1&back=http%3A%2F%2Fbuyzaaptv.dk%2Fordre%3Fstep%3D1%26multi-shipping%3D0
  14. Hi people I have a little error with my guest registration. The guest registration disappears when clicking the "login" or "create new button" without filling the login or userinformation. my site: http://buyzaaptv.dk/logind?multi-shipping=0&display_guest_checkout=1&back=http%3A%2F%2Fbuyzaaptv.dk%2Fordre%3Fstep%3D1%26multi-shipping%3D0
×