Jump to content

sokpet

Members
  • Posts

    100
  • Joined

  • Last visited

sokpet's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. somebody had experience to integrate PhMagic instead of standard Prestashop PHP GD??? here is the link It is not limited by memory.
  2. Hi Mike, thanks for response I spoke to the hoster. The solution was to add php.ini to the root and admin folders of Prestashop with the same parameters. But it only solved part of the problem, now I can increase upload file size up to 8 MB and it does not give errors. But still when I try to load file bigger then 2 MB (For example image = 5MB) it gives error: Out of memory (allocated 58458112) (tried to allocate 12000 bytes) in /images.inc.php on line 238 That means it is out of memory during upload. Max memory_limit according to the hoster is 60MB How much memory I need to upload only 5 MB image???? What can eat so much memory during upload??? any solution or bypass??? (besides changing from hosting to VDS).
  3. Hello I have the following issue.... This is what I have in php.ini (can not be changed) post_max_size 8M max_file_uploads 20 memory_limit 90M upload_max_filesize 40M max_execution_time 50000 BUT Prestashop in preferences detects Define the limit upload for an image, this value have to be inferior or egal to your server's maximum upload file (2 MB). Obviously I can not change max upload to 5 MB as it sais maximum is 2MB, but in fact it is 8MB. What is wrong? Somebody had similar problem? Thanks Prestashop version 1.4.6.2
  4. Thanks I did it before. It is for product.tpl. mainly, In my case I need it for product-list.tpl Of course I can replace via import all id with reference code, but it is not the best solution....
  5. thanks for reply Mike, unfortunately it did nor help. Is there solution for category product list? Should I change classes Category.php?
  6. Hello, Please urgent How to get product reference on product-list and product search results pages? I can easely get product id like this {$product.id_product} I tried all possible combinations with no results: {$product->reference} {$product.reference} {$product->product.reference} {$product.product.reference} {$product.product_reference} {$product.reference_product} {$reference_product} {$reference} Should I assign reference variable somewhere? Thanks
  7. Has podido hacer likes en product list con opengraph?
  8. product-sort works well if you change sort order manually on product list. But when I change position inside category in Admin and update front page no changes for the default sorting. Any help would be appriciated.
  9. just delete {include file="$tpl_dir./product-sort.tpl"} from category.tpl
  10. Hello, this question was many times on forum but I could not find clear answer, at least for 1.4.6.2 which I use currently. My shop is done in a way that the home page is directly a list of new products. So I need to sort these products manualy according to the position (not id) in the category (home category) I tested how it works in standard way on category product list pages and works perfect. Unfortunately the same default behavior of sorting does not work with newproduct.tpl which includes same product-list.tpl how can I make it? do I need to modify newproducts controller for that? Thanks
  11. Hi, How to make $combination.reference variable dynamic in the link? PS 1.4.6.2 thanks
  12. I changed {$product->reference|escape to {$combination.reference|escape But it only shows first combination code and does not change dynamicly.....
  13. Hello Rocky it is quite old post but I need similar on 1.4.6.2 But in my case I change add to cart button to the link to external application button, where every link is special and unique and needs dynamic reference code for every product combination. For standard products everything works perfect, but problem again with combination references For standard products I have link as follows: <a href="http://externalapp&pccode={$product->reference|escape:'htmlall':'UTF-8'}&parameters" class="exclusive">Create now</a> I was trying to follow your instructions for dynamic link but it does not function. The js/product.js line 264 I changed if (selectedCombination['reference']) $('#product_reference span').text(selectedCombination['reference']); $('a#special_link').attr('href').text(selectedCombination['reference']); and in product.tpl I changed as follows: {if isset($groups)} <a id="special_link "href="http://externalapp&pccode={$product->reference|escape:'htmlall':'UTF-8'}&parameters" class="exclusive">Create now</a> {else} <a href="http://externalapp&pccode={$product->reference|escape:'htmlall':'UTF-8'}&parameters" class="exclusive">Create now</a> {/if} But it still gets only main product reference. Could you tell how to fix it. Thank you
×
×
  • Create New...