Jump to content

Peter Liska

Members
  • Posts

    52
  • Joined

  • Last visited

Everything posted by Peter Liska

  1. It would be nice to show us original vs. actual content of the file that you have changed. And this is International community (English) !!!
  2. One small note: It would be best not to forget to give Google robots complete texts. Because I can see these truncate (for example) in your code (but it is there for good design - except img alt ) <img src = "{$product.cover.bySize.home_default.url}" alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}" data-full-size-image-url = "{$product.cover.large.url}" > {block name='product_name'} <h3 class="h3 product-title" itemprop="name"> <a href="{$product.url}">{$product.name|truncate:46:'...'}</a> </h3><p>{$product.description_short|strip_tags:'htmlall':'UTF-8'|truncate:100:'...'}</p> {/block}
  3. That is a lot of problems. 1.) itemprop="image" You can get inspiration from here: product-cover-thumbnails.tpl <img class="js-qv-product-cover" src="{$product.default_image.bySize.large_default.url}" {if !empty($product.default_image.legend)} alt="{$product.default_image.legend}" title="{$product.default_image.legend}" {else} alt="{$product.name}" {/if} style="width:100%;" itemprop="image" loading="lazy" > 2.) itemprop="description" You can get inspiration from here: product.tpl {block name='product_description_short'} <div id="product-description-short-{$product.id}" class="product-description" itemprop="description">{$product.description_short nofilter}</div> {/block} Rest you have to try find or try to figure it out by yourself. Good luck! Product schema: product Offer schema: offer
  4. This is true. (but NOT for latest actualized theme versions) You have to edit this. I forgot to mention it. But this file does not longer exist in latest Github repository. There is only this (productlist.tpl): https://github.com/PrestaShop/PrestaShop/blob/develop/themes/classic/templates/catalog/_partials/productlist.tpl Containing only this: <div class="products{if !empty($cssClass)} {$cssClass}{/if}" itemscope itemtype="http://schema.org/ItemList"> {foreach from=$products item="product" key="position"} {include file="catalog/_partials/miniatures/product.tpl" product=$product position=$position} {/foreach} </div> ... include file="catalog/_partials/miniatures/product.tpl ...
  5. To solve this "Google Webmaster problem" it will be better (for all of you) to have a look at PrestaShop GitHub Classic theme, where most of these problems have been already solved. The most important thing is here (around line 80): https://github.com/PrestaShop/PrestaShop/blob/develop/themes/classic/templates/catalog/_partials/miniatures/product.tpl <div itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="invisible"> <meta itemprop="priceCurrency" content="{$currency.iso_code}" /> <meta itemprop="price" content="{$product.price_amount}" /> </div> You can add url and avaibilty too: <div itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="invisible"> <meta itemprop="priceCurrency" content="{$currency.iso_code}" /> <meta itemprop="price" content="{$product.price_amount}" /> <meta itemprop="url" content="{$product.url}" /> <link itemprop="availability" href="{$product.seo_availability}" /> </div> Here is my pull request for this: https://github.com/PrestaShop/PrestaShop/pull/21786/files Search for the "itemprop" in the latest classic theme and you can find more of these and where to add them. I do NOT recommend add this in offers: <meta itemprop="review" content="{$product}"/> <meta itemprop="name" content="{$product.name}"/> review - A review of the item! Offers are described here: https://schema.org/Offer name - is already specified in product.tpl file: {block name='product_name'} {if $page.page_name == 'index'} <h3 class="h3 product-title" itemprop="name"><a href="{$product.url}" itemprop="url" content="{$product.url}">{$product.name|truncate:30:'...'}</a></h3> {else} <h2 class="h3 product-title" itemprop="name"><a href="{$product.url}" itemprop="url" content="{$product.url}">{$product.name|truncate:30:'...'}</a></h2> {/if} {/block}
  6. Try to clean your css cache directory: /themes/[your theme]/assets/cache/ And probably these too: /themes/[your theme]/cache/ /var/cache/
  7. It looks like this problem occurs only at pages with (useless) single breadcrumb. Because, there is no (navigation) itemListElement item. Like for example: home page, new products, prices drop ... If you do not need this (useless) single breadcrumb on these pages you can do something like this in your theme file \templates\_partials\breadcrumb.tpl {if $breadcrumb.count > 1} <nav data-depth="{$breadcrumb.count}" class="breadcrumb hidden-sm-down"> <ol itemscope itemtype="http://schema.org/BreadcrumbList"> ... </ol> </nav> {/if}
  8. Maybe this should still be considered: At he beginning: if (preg_match('/\/img\/(p|c|m|s|st)\/(\d+\/)*\d+\.(jpg|jpeg|png|gif)$/Us', $destinationFile)) { return @copy($sourceFile, $destinationFile); } From here: https://www.sunnytoo.com/42096/an-important-fix-to-optimize-prestashops-image-upload-function To keep the original image as it was. For further possible optimization in the future
  9. Only small improvement, because there is 2x ImageManager::checkImageMemoryLimit That can speed up things a little bit ­čśë I also deleted the commented code at the beginning. ImageManager.php
  10. Ak si pozrie┼í zdrojov├Ż k├│d str├ínky http://kovania.eu/prestashop/, tak v bloku prep├şnania jazykov je vidie┼ą, ┼że po kliknut├ş na ─Źesk├║ z├ístavku ┼ąa odk├í┼że na str├ínku http://kovania.eu/prestashop/cs/obchod, ktor├í neexistuje. Tak┼że chybu h─żadaj niekde tam. <!-- Block languages module --> <div id="languages_block_top"> <div id="countries"> <p class="selected_language"> <img src="http://kovania.eu/prestashop/img/l/6.jpg" alt="sk" width="16" height="11" /> </p> <ul id="first-languages" class="countries_ul"> <li class="selected_language"> <img src="http://kovania.eu/prestashop/img/l/6.jpg" alt="sk" width="16" height="11" /> </li> <li > <a href="http://kovania.eu/prestashop/cs/obchod" title="Czech"> <img src="http://kovania.eu/prestashop/img/l/7.jpg" alt="cs" width="16" height="11" /> </a> </li> </ul> </div> </div>
  11. 1.5.x je pod─ża m┼ła pomal┼íia ako 1.4.x, tak┼że jej pom├┤┼że asi u┼ż len lep┼í├ş hosting alebo vlastn├Ż server.
  12. Predpoklad├ím, ┼że si upravoval dopravcov -> t.j. vytvoril si si nov├Żch dopravcov s nov├Żmi ID. Pou┼ż├şva┼í Ship2Pay alebo podobn├Ż modul na kombin├íciu dopravcov a platieb? Sk├║s sa pozrie┼ą tam a prip├írova┼ą platobn├ę moduly k nov├Żm dopravcom.
  13. Chlape, ja naozaj netu┼í├şm, pre─Źo ti to nefunguje Bude┼í sa s t├Żm musie┼ą potr├ípi┼ą s├ím. Prechod na 1.5.x je niekedy divo─Źina N├ízov t├ęmy sa d├í zmeni┼ą v "settings.inc.php"
  14. Ako som u┼ż vy┼í┼íie nap├şsal modul 1 click upgrade nefunguje ├║plne dobre. Ja odpor├║─Źam manu├ílny upgrade. + probl├ęm m├┤┼że by┼ą e┼íte v tom, ┼że od verzie 1.5.x sa z├íkladn├í t├ęma u┼ż nevol├í "prestashop" Ak m├í┼í vlastn├║ t├ęmu a vlastn├ę moduly, tak tieto ti nebud├║ fungova┼ą v 1.5.x
  15. Modul automatickej aktualiz├ície m├í ve─ża nedostatkov a asi nebude dobre fungova┼ą pre 1.3.6.0 + tie┼ż prechod na 1.5.x b├Żva niekedy bolestiv├Ż. Sk├║s spravi┼ą najprv manu├ílny update na 1.4.11 a ke─Ć to p├┤jde, tak potom ─Ća─ż┼í├ş na 1.5.x Tak┼że teraz obnov zo z├ílohy a ...
  16. Zaj├şmav├í chybov├í hl├í┼íka. Emaily je asi nejlep┼í├ş upravovat a p┼Öekl├ídat p┼Ö├şmo v textov├ęm editoru (Notepad++) z origin├íln├ş EN verze (\mails\en\). A pak uploadnout na hosting p┼Öes FTP do spr├ívn├ę slo┼żky.
  17. Tabu─żka "product_lang" - je to jasn├ę z uveden├ęho SQL k├│du.
  18. UPDATE product_lang SET available_now='do 2-3 dni' WHERE id_lang = 6 S t├Żm, ┼że id_lang je tvoje id jazyku - nemus├ş to by┼ą 6. No a potom je tam e┼íte jeden st─║pec available_later - neviem ktor├Ż pou┼ż├şva┼í. Vysk├║┼íaj.
  19. Vysk├║┼íaj v BO -> Tools -> Languages vymaza┼ą v┼íetky jazyky okrem EN a SK. A anglick├Ż jazyk vypni (nejde vymaza┼ą). Plat├ş pre 1.4.x
  20. A pro─Ź si neud─Ťl├í┼í kopii (z├ílohu) na lok├íln├ş disk a neprohled├ív├í┼í to v┼íechno fulltext? (Total Commander, Sallen ScanFS, Google Desktop, Copernic ...)
  21. Pod─ża m┼ła to nie je dobr├Ż n├ípad odstra┼łova┼ą to ─Ź├şslo. Preto┼że pri neskor┼íej zmene / oprave n├ízvu produktu / kateg├│rie / cms n├ísledne nepr├şde ku korektn├ęmu presmerovaniu. A t├Żm str├íca┼í vydobyt├║ poz├şciu vo vyh─żad├íva─Źoch ako aj z├íkaznikov, ktor├ş mali ulo┼żen├║ star├║ URL.
  22. BO -> Preferences -> Checkout process type -> One page checkout BO -> Preferences -> Enable guest checkout -> Yes R├┤zne farby tovaru: BO -> Catalog -> konkr├ętny Product -> z├ílo┼żka 4. Combination
  23. UPDATE product SET active = 0 WHERE quantity < 1 UPDATE product SET active = 0 WHERE id_product NOT IN (SELECT DISTINCT id_product FROM image WHERE 1)
  24. The problem may be that ... "If customer is trying to pay by using an email address that is already registered in our system, we will be always asked to login to his account in order to complete the payment." So if customer has an account at Skrill, they always show login form
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More