Prestashop Core Application V1.4
  1. Prestashop Core Application V1.4
  2. PSCFI-2449

Blockviewed module does not update, shows only one product

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Canceled
    • Fix Version/s: None
    • Security Level: All-users
    • Labels:
      None

      Description

      Hello,

      I have installed blockviewed module and I've noticed interesting problem. It does not update and shows only one product(it is configured to show 5). I've tried to clean cookies - then it shows the first one viewed product, after that it doesn't matter what or how many products do you view. While trying to solve this problem,I've downloaded fresh installation of PrestaShop and tried to install BASIC version, blockcategories, blockviewed and the problem is still here. My next step was booting Ubuntu Linux OS and doing the same procedure with fresh install of Presta - didn't help. Also tried it with different themes.

        Activity

        Hide
        Augustin NIASSY added a comment -

        Hi,

        Just checking: is there any news from your bug?

        Best regards

        Show
        Augustin NIASSY added a comment - Hi, Just checking: is there any news from your bug? Best regards
        Hide
        Augustin NIASSY added a comment -

        I'm closing the bug since the is no news on the tracker since the 28 of november.

        Feel free to post again if this is not closed

        Regards

        Show
        Augustin NIASSY added a comment - I'm closing the bug since the is no news on the tracker since the 28 of november. Feel free to post again if this is not closed Regards
        Hide
        Marcelo Muller added a comment -

        The problem is when the module tries to check if the current user has the right to see the product. The sql assumes the there is data on table ps_customer_group.
        Whene there is no users registered on the site (e.g. when you install the basic site), ps_customer_group is empty so $result['total'] is allways 0 and the product is not added to $params['cookie']->viewed.
        After the first user is registered, the problem is gone.

        Cheers!

        Show
        Marcelo Muller added a comment - The problem is when the module tries to check if the current user has the right to see the product. The sql assumes the there is data on table ps_customer_group. Whene there is no users registered on the site (e.g. when you install the basic site), ps_customer_group is empty so $result ['total'] is allways 0 and the product is not added to $params ['cookie'] ->viewed. After the first user is registered, the problem is gone. Cheers!
        Hide
        Bibi added a comment -

        hi,
        i'm on PrestaShop™ 1.4.7.0 and this works only when i'm logged in (so there's a registered user, right ?)

        Show
        Bibi added a comment - hi, i'm on PrestaShop™ 1.4.7.0 and this works only when i'm logged in (so there's a registered user, right ?)
        Hide
        Thierry Goettelmann added a comment -

        Any news ? Same problem here... Only the first viewed product is shown, then it doesn't update.

        Don't know why a non resolved bug is closed.

        Thank you.

        Show
        Thierry Goettelmann added a comment - Any news ? Same problem here... Only the first viewed product is shown, then it doesn't update. Don't know why a non resolved bug is closed. Thank you.

          People

          • Assignee:
            Augustin NIASSY
            Reporter:
            Benas
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: