Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by And63

  1. What browser are you using? . Checked on IE, Firefox and Chrome and it looks like this:
  2. Yes, patches are on the server, you do not see a change? - Can cache in your browser remembers the old entries. A copy of that page is here: http://ar.az.pl/miro/ - here is my experimental area for this page. Veki - you can of Polish like me? - I have seen some of your posts on the Polish
  3. Button and animation corrected - thank you for bringing the balance to the detail. As for the quality of graphics in the top - this is the picture temporarily, before running the store is changed to the appropriate and adequate quality
  4. this site have status "under construction" cart block - You're right, I need to improve
  5. The site is still in the replenishment of products. I'm very curious of your opinion. Site adress : http://www.vidimevas.sk/e-obchod/ Andrzej.
  6. W pliku http://forex-program...omefeatured.css w linii 41 zmień sobie height:45px na 56px i będzie ok
  7. Podaj link do strony - tak będzie najszybciej
  8. Musisz szukać w CSS bloku polecanych produktów
  9. In file /modules/blocksearch/instantsearch.tpl line 72: change from: {return value;} change to: {return "<img src=\"" + baseDir + "img/p/" + data.image.split('').join('/')+"/" + data.image+ "-small_default.jpg\" alt=\"" + value + "\" />" + value;} In file/classes/search.php change line 259: from: { $sql = 'SELECT DISTINCT p.id_product, pl.name pname, cl.name cname, cl.link_rewrite crewrite, pl.link_rewrite prewrite '.$score.' FROM '._DB_PREFIX_.'product p INNER JOIN `'._DB_PREFIX_.'product_lang` pl ON ( p.`id_product` = pl.`id_product` AND pl.`id_lang` = '.(int)$id_lang.Shop::addSqlRestrictionOnLang('pl').' ) '.Shop::addSqlAssociation('product', 'p').' INNER JOIN `'._DB_PREFIX_.'category_lang` cl ON ( product_shop.`id_category_default` = cl.`id_category` AND cl.`id_lang` = '.(int)$id_lang.Shop::addSqlRestrictionOnLang('cl').' ) to: { $sql = 'SELECT DISTINCT p.id_product id_product,p.reference preference,im.id_image image, pl.name pname, cl.name cname, cl.link_rewrite crewrite, pl.link_rewrite prewrite '.$score.' FROM '._DB_PREFIX_.'product p INNER JOIN `'._DB_PREFIX_.'product_lang` pl ON ( p.`id_product` = pl.`id_product` AND pl.`id_lang` = '.(int)$id_lang.Shop::addSqlRestrictionOnLang('pl').' ) '.Shop::addSqlAssociation('product', 'p').' INNER JOIN `'._DB_PREFIX_.'category_lang` cl ON ( product_shop.`id_category_default` = cl.`id_category` AND cl.`id_lang` = '.(int)$id_lang.Shop::addSqlRestrictionOnLang('cl').' ) LEFT JOIN `'._DB_PREFIX_.'image` im ON (p.`id_product` = im.`id_product`AND `cover` = 1) Its -all My files in attachment. Before flashing necessarily take a backup of your original files !!! BTW - this site have status test .For now, I have the default language set to Polish shop - will ultimately Slovak - hence the description of the products, categories, and more in the Slovak language Please - answer, whether it is all right.FOTO_AJAX1.5 (1).ZIP
  10. Are you looking for something like this could - a link to my test page: http://ar.az.pl/miro/ If so, give the solution - not enough to change the entries in instantsearch.tpl, you still need to rewrite the class search.php. This entry above with the addition of the image will not work in PS 15.4 is another path to the image.
  11. Hi crone. How replace module from hook home page content to top of pages? [sOLVED]
  12. Wejdź do folderu tools/smarty/ i tam wyczyść wszystko w podfolderach compile i cache (oprócz index.php oczywiście) daj znać czy pomogło Na koniec CTRL+F5 w przeglądarce.
  13. Witam wszystkich W module listy życzeń wyświetla się permalink po kliknięciu którego możemy przenieść produkty z listy życzeń do koszyka. O co chodzi? - jeśli mam w liście życzeń dany produkt w ilości 5 szt. muszę klikać 5 razy w "kupuj" aby dodać go do koszyka w ilości 5 szt., pomimo, że obok produktu(zdjęcia) wyświetla się 5 szt. Jak zrobić aby kliknąć raz w "kupuj" i dodać do koszyka odpowiednią ilość produktów?. A może dałoby się tak przerobić moduł żeby jednym kliknięciem skopiować do koszyka wszystkie produkty z danej listy życzeń do koszyka? Pozdrawiam. Andrzej
  14. As used $ link in this particular situation? - Where is the hook?
  15. In blocksearch in file blocksearch-instantsearch.tpl i have this code: { tmp_value= "<img src=\"" + baseDir + "img/p/" + data.id_product+"/" + data.id_product+ "-mini.jpg\" alt=\"" + value + "\" />" + value; } it return path to image - not work corectlly: return e.g product_id 123 this path: http://localhost/img/p/123/123-mini.jpg How replace string 123 on 1/2/3 ? correct path look this: http://localhost/img/p/1/2/3/123-mini.jpg Sorry my english
  16. Since I have a few people have asked about it, I decided to share the modified files( prestashop1.4.4.1). Remember about making backup copies of your files. ! On the BO -> tabs image I made a special class called "mini" for product. If you want to take advantage of other sizes - you have to change it in the file .tpl In my modification works on Prestashop and 1.5.4 (other files are subject to change). Demo of the page http://fortec.pl Sorry for my english .
  17. Yes, i get data image from sql query in search.php full code in.tpl: <script type="text/javascript"> // <![CDATA[ {literal} $('document').ready( function() { $("#search_query_block") .autocomplete( '{/literal}{if $search_ssl == 1}{$link->getPageLink('search.php', true)}{else}{$link->getPageLink('search.php')}{/if}{literal}', { minChars: 3, max: 10, width: 500, selectFirst: false, scroll: false, dataType: "json", formatItem: function(data, i, max, value, term) { if(data.image!=null) { tmp_value= "<img src=\"" + baseDir + "img/p/" + data.id_product+"-" + data.image + "-mini.jpg\" alt=\"" + value + "\" />" + value; } else { tmp_value="<img src=\"" + baseDir + "img/p/pl-default-mini.jpg\" alt=\"" + value + "\" />" + value; } return tmp_value; }, parse: function(data) { var mytab = new Array(); for (var i = 0; i < data.length; i++) mytab[mytab.length] = { data: data[i], value: data[i].cname + ' > <strong>' + data[i].preference +'</strong> '+ data[i].pname}; return mytab; }, extraParams: { ajaxSearch: 1, id_lang: {/literal}{$cookie->id_lang}{literal} } } ) .result(function(event, data, formatted) { $('#search_query_block').val(data.pname); document.location.href = data.product_link; }) }); {/literal} // ]]> </script> I use this in Prestashop1.4.4.1 and 1.5.4 - works ok.
  18. I modified : 1./classes/search.php 2/modules/blocksearch/blocksearch-top.tpl and blocksearch.tpl my code in blocksearch-top.tpl look here: tmp_value= "<img src=\"" + baseDir + "img/p/" + data.id_product+"-" + data.image + "-mini.jpg\" alt=\"" + value + "\" />" + value;
  19. What version of prestashop ? . My mod in ajax search - http://fortec.pl
  20. Welcome. My problem with the transmission discount for a group of clients on a product at a time when I add a category to the new product. User X belongs to a pro and get a discount on products in category Y in the amount of 10%. Everything is in order. I add a new product category Y, and what happens? the newly added product category Y is a discount of 0%. The data for the product discount and groups are taken from Table product_group_reduction_cache - when adding a product does not update. Is it possible to do so, in order to discount data were collected not by id_product product_group_reduction_cache the table, and the table on the basis of group_reduction id_group belongs to the client and product categories id_product reduction of the field? In general, I would like to discount data were collected for a client from the field reduction from the table group_reduction reduction of the field instead of the field in the table product_group_reduction_cache reduction I would be grateful for any hint - it is very important to me, spędiłem a lot of time on the attempt to solve the problem, but to no avail. Prestashop Sorry for my English - I know that is not the best Regards Andrzej
  21. Hi. What needs to be changed in the file to display the most recent entry at the top and the oldest at the bottom of the list. My version of prestashop and plblog 1.8 And63
  22. Welcome. Very you please help me in modifying the block last entries described in this topic Regards
  23. Hi all. I have a huge request for help in modifying plblog module. The left block shows the last three entries in the blog (so I set in the admin), regardless of the category entry. I need to change this block so I only displayed the latest entries in each category - the latest entry in the category number ID2, the last entry in the category number ID3, the last entry in the category number ID4. What should be changed to get this effect? - Any hint would be important to me. I have Prestashop Sorry for my English Regards Andrzej
  • Create New...

Important Information

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