Prestashop Core Application V1.4

Blockviewed module does not update, shows only one product

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Canceled
  • Security Level: All-users
  • Labels:
    None
  • Similar issues:
    PSCFI-1230 Blockviewed only shows 1 item
    PSCFI-2897 Blockviewed just updates if you log IN...
    PSCFI-2206 Viewed Product Does Not Update
    PSCFI-1497 The Viewed Products block is only showing one product
    PSCFI-5236 [edited] Only one AdminTab can be translated by module
    PSCFI-16 Friendly URL Vs ProductsCategory, blockviewed Module,
    PSCFI-1825 svn6316 tax line set to not show and it does.
    PSCFI-3540 When viewing a product the Payment Logo does not show, only the box outline and red x.

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
Benas added a comment - 26/Jun/11 6:00 PM

I've checked "$params['cookie']->viewed" in blockviewed.php. It brings only one product ID - the problem seems to be in cookies...

Show
Benas added a comment - 26/Jun/11 6:00 PM I've checked "$params['cookie']->viewed" in blockviewed.php. It brings only one product ID - the problem seems to be in cookies...
Hide
Alain FOLLETETE added a comment - 27/Jun/11 3:52 PM

Hi,

Many thanks for your report.

We are going to work on this report as soon as possible.

In waiting, can you send by email your URL shop and FTP access to augustin[at]prestashop[dot]com ?

Best regards,

Show
Alain FOLLETETE added a comment - 27/Jun/11 3:52 PM Hi, Many thanks for your report. We are going to work on this report as soon as possible. In waiting, can you send by email your URL shop and FTP access to augustin[at]prestashop[dot]com ? Best regards,
Hide
Augustin NIASSY added a comment - 27/Jun/11 5:56 PM

Hi Benas.

So, like you work in local, can you send me your shop (.zip) to augustin[at]prestashop[dot]com ?

Regards

Show
Augustin NIASSY added a comment - 27/Jun/11 5:56 PM Hi Benas. So, like you work in local, can you send me your shop (.zip) to augustin[at]prestashop[dot]com ? Regards
Hide
Benas added a comment - 27/Jun/11 7:24 PM

As I have mentioned I've noticed this bug with a fresh install of Prestashop, so I guess sending you my shop ZIP would be useless. Do you see this problem when you install newest release of PrestaShop from prestashop.com ?

Show
Benas added a comment - 27/Jun/11 7:24 PM As I have mentioned I've noticed this bug with a fresh install of Prestashop, so I guess sending you my shop ZIP would be useless. Do you see this problem when you install newest release of PrestaShop from prestashop.com ?
Hide
Benas added a comment - 01/Jul/11 5:34 PM

So? Something new?

Show
Benas added a comment - 01/Jul/11 5:34 PM So? Something new?
Hide
Benas added a comment - 04/Jul/11 8:33 AM

Problem got solved by disabling smarty force compile, enabling caching and cleaning browser cookies.

Show
Benas added a comment - 04/Jul/11 8:33 AM Problem got solved by disabling smarty force compile, enabling caching and cleaning browser cookies.
Hide
Augustin NIASSY added a comment - 04/Jul/11 10:02 AM

Hi benas,

I'm sorry for this late, I had some emergencies.

Ok, thank you for your fix, however, we are working on different environments to reproduce and fix this bug properly.

Thank you for your report

Best Regards

Show
Augustin NIASSY added a comment - 04/Jul/11 10:02 AM Hi benas, I'm sorry for this late, I had some emergencies. Ok, thank you for your fix, however, we are working on different environments to reproduce and fix this bug properly. Thank you for your report Best Regards
Hide
johntitor added a comment - 04/Aug/11 7:04 PM

hi,
for my shop is not enough "disabling smarty force compile, enabling caching and cleaning browser cookies." i also tried to uninstall and reinstall the module, clear cookies...various checks with compile/cache enabled or disabled... nothing to do, always the first product viewed only...it doesn't add & update

Show
johntitor added a comment - 04/Aug/11 7:04 PM hi, for my shop is not enough "disabling smarty force compile, enabling caching and cleaning browser cookies." i also tried to uninstall and reinstall the module, clear cookies...various checks with compile/cache enabled or disabled... nothing to do, always the first product viewed only...it doesn't add & update
Hide
johntitor added a comment - 04/Aug/11 7:08 PM

found... it has to do with logged or not logged user. If user is logged the block works normally. Please, what's the solution? Thank you.

Show
johntitor added a comment - 04/Aug/11 7:08 PM found... it has to do with logged or not logged user. If user is logged the block works normally. Please, what's the solution? Thank you.
Hide
Fabre added a comment - 28/Nov/11 12:49 PM

Hi,

sorry but THIS BUG IS NOT RESOLVED. I've noticed the same comportement than johntitor. The customer must be logged to see the block.
So waht must we do if the customer is just a simple visitor ? Thank you.

Show
Fabre added a comment - 28/Nov/11 12:49 PM Hi, sorry but THIS BUG IS NOT RESOLVED. I've noticed the same comportement than johntitor. The customer must be logged to see the block. So waht must we do if the customer is just a simple visitor ? Thank you.
Hide
Augustin NIASSY added a comment - 05/Dec/11 4:25 PM

Hi,

Can you provide me access to your back-office and your FTP?

Please send me a mail at " augustin.niassy@prestashop.com "

Best Regards

Show
Augustin NIASSY added a comment - 05/Dec/11 4:25 PM Hi, Can you provide me access to your back-office and your FTP? Please send me a mail at " augustin.niassy@prestashop.com " Best Regards
Hide
Augustin NIASSY added a comment - 06/Dec/11 2:53 PM

Hi,

Just checking: is there any news from your bug?

Best regards

Show
Augustin NIASSY added a comment - 06/Dec/11 2:53 PM Hi, Just checking: is there any news from your bug? Best regards
Hide
Augustin NIASSY added a comment - 19/Dec/11 3:42 PM

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 - 19/Dec/11 3:42 PM 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 - 25/Feb/12 4:50 PM

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 - 25/Feb/12 4:50 PM 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 - 11/Apr/12 12:18 AM

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 - 11/Apr/12 12:18 AM 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 - 14/Apr/13 1:30 PM

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 - 14/Apr/13 1:30 PM 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

Vote (0)
Watch (1)

Dates

  • Created:
    26/Jun/11 5:48 PM
    Updated:
    14/Apr/13 1:30 PM
    Resolved:
    20/Dec/11 9:41 AM