Jump to content

DavideZ

Members
  • Posts

    22
  • Joined

  • Last visited

Profile Information

  • Location
    Italy
  • Activity
    Developer

DavideZ's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Collaborator Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

3

Reputation

  1. HI nicolaecc, did you solved the problem? I can't reproduce it in production neither in development, but I know it has happened randomly to "our" customers (they send us screenshots).
  2. Who initiate the calls to common/notifications is the getPush() function in ..../js/admin/notifications.js (on a 1.7.8.8) In development I've commented the setTimeout(getPush, 120000); line, not for performance, but because if I have "some" browser tabs opened in admin pages, debugging with symfony profiler become difficult, as it will be filled with the notifications requests.
  3. 🥳🤦‍♂️ Ok, so I'll continue investigating... 😅
  4. Did you have found a solution? I have the same problem. 😢
  5. I'm having the same issue with "viewed products" and the "products in te same category", I discovered that it's a problem of the cache (if I disable it everything works fine). Did you solved the problem? I have PS 1.7.8.5 and Warehouse as theme.
  6. I've just found that it's the statsdata module that trigger connections and connectionssources classes. Now I've to understand how could it be possible that sometimes ConnectionsSources are not created (or deleted)...
  7. Hi all, I wonder how does connections and connections sources works? Where the data saving is triggered? I need these informations (both referer and request_uri) because I need to know if an order was made after the customer as arrived to the ecommerce through Adwords adv. Sometime happens that Adwords (or Analytics) records an order (through a javascript placed in order-confirmation page), but there're no connection sources in prestashop linked to that order nor the customer that made the order. I have made some test orders but, obviously, everything works as expected and everything was tracked. Thanks, Davide P.S. If you have any other tips on how to record the referer and request_uri for that purpose let me know
  8. I thought I had already answered, but I was wrong I had to use the db to store the old quantity and old price values, because I haven't found a place in the code where I could have the old and the new value of these 2 fields. Anyway quantity is managed in StockAvailable class. So I made a module that look for actionProductUpdate hook, for the price, and actionQuantityUpdate, for the quantity, saving the values, that I need to check changes, in the db. Thank you for your answer!
  9. Hi, I need to update product's custom fields when the price or quantity, of the same product, change, where I have to modify the code to achieve what I need? The prestashop version I have to modify is 1.6.0.X Thanks in advance, Davide
  10. Hi, thank you both! Yes the other sites use a custom template (copy of the default) and yes the answer from janmejaypati solved my problem! Anyway I think I'll never learn how to search a topic that already exists...
  11. Hi everybody, I have a problem with the module productcomments in only one site, if you try to leave a review to a product i.e.: http://www.ilregallo.com/prodotti-a-base-di-riso/339-cuor-di-riso-ai-fichi-5x200g-8018699011254.html (the button is named "Scrivi una recensione") yuo will see that the stars are not aligned and working bad. If you inspect the page you will see that the html is: <li> <label>Quality:</label> <div class="star_content"> <div class="radio"><span><input type="hidden" name="criterion[1]" value="4"><div class="cancel"><a title="Cancel Rating"></a></div><div class="star"><a title="1">1</a></div></span> </div> <div class="radio"><span><div class="star star_hover"><a title="2">2</a></div></span> </div> <div class="radio"><span><div class="star"><a title="3">3</a></div></span> </div> <div class="radio"><span class="checked"><div class="star star_on"><a title="4">4</a></div></span> </div> <div class="radio"><span><div class="star"><a title="5">5</a></div></span> </div> </div> <div class="clearfix"></div> </li> As you can see is a little bit messed up, look where the cancel is located, in the same div of the first star. It seems that is the jquery rating plugin that messed up the code... On another site the html of the same code (but this time is right) is: <li> <label>Valutazione:</label> <div class="star_content"> <input type="hidden" name="criterion[1]" value="3"> <div class="cancel"> <a title="Cancel Rating"></a> </div> <div class="star star_on"><a title="1">1</a> </div> <div class="star star_on"><a title="2">2</a> </div> <div class="star star_on"><a title="3">3</a> </div> <div class="star"><a title="4">4</a> </div> <div class="star"><a title="5">5</a> </div> </div> <div class="clearfix"></div> </li> Where there is no class="radio"...
  12. Oh, thanks Denys! Where can I download that version? Anyway I think I could await for an official update.
×
×
  • Create New...