Jump to content

Pavel Siderov

  • Posts

  • Joined

  • Last visited

Everything posted by Pavel Siderov

  1. Hi there, Is there a module that shows live what products other customers are watching? Thanks, Pavel
  2. I need to add weight to all products in my prestashop I have updated the product table (in my case ps16_product) but it seems it doesn't work. Here goes the query: update ps16_product set weight='0.3' where id_category_default=152; When I go to the prestashop backoffice I can see the it doesn't effect the product weight. It is still empty. Most likely this column - weight in ps16_product table is left for back compatibility with the older versions of presta. I have tested adding product weight through the backend and I found in the database dump that the weight is stored in ps16_feature_value_lang. Something like this: | id_feature_value | id_lang | value | | 36 | 1 | 0.4359876 | Any idea what query i have to use to add/update product weight?
  3. I found that when I click on the share button it opens the fb window and in its address bar the product url is correct but not encoded. That caused fb to share only the url before the &. Added urlencode before addcslashes to modules/socialsharing/socialsharing.php 'sharing_url' => urlencode(addcslashes($this->context->link->getProductLink($product), "'")), And now it's working! When I click the share button the fb window that opens show the the url encoded "https://www.facebook.com/sharer.php?u=http%3A%2F%2Fmysite.com%2Findex.php%3Fid_product%3D4741%26controller%3Dproduct"
  4. I am using the default social sharing buttons on the product page (presta / default bootstrap theme). When I click on the facebook button it shares this url http://mysite.com/index.php?id_product=4741. But if you open this url it shows the home page. When I am browsing my site I can see that this product url is: http://mysite.com/index.php?id_product=4741&controller=product . I can edit the code and make it work but I want to know if this a configuration issue or a bug.
  • Create New...

Important Information

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