This issue has been migrated from the Forge. Read the original ticket here.
This module doesn't work in multiple shops.
Only 1 shop is ok, the others ars the same links... It's impossible to have different links.
N/A
This comment has been migrated from the Forge. Read the original comment here.
Hi Malorie,
I manage to reproduce the issue with the last version : 1.7.2.4.
We will see how to fix it.
Thanks & best regards, Salma
This comment has been migrated from the Forge. Read the original comment here.
When a new block is added, the merchant should be able to choose to which shop(s) the block will be associated thanks to the “shop association block” component.
This way the block will be displayed in FO only for the selected shop(s)
This comment has been migrated from the Forge. Read the original comment here.
Is there any workaround for this issue? Or alternative solution? Can't really do multistore without it.
This comment has been migrated from the Forge. Read the original comment here.
Dave, I did some modifications to make work the public part of it. Look at the comments section of the duplicate issue (BOOM-4269)
You can edit the pages in a database manager.
The issue when I enable multistore, whatever if I select a specific shop or "all shop", I have as many links as shops and as many "Content pages" is solved by https://github.com/PrestaShop/ps_linklist/pull/48
It stays this issue with linkwidget when multistore is enabled:
the merchant should be able to choose to which shop(s) the block will be associated thanks to the “shop association block” component.
Reproduced on PS v1.7.5.0 + 1.7.5.1 too (with ps_linklist v3.0.2)
This is happening PS v1.7.5.1 - Problem seems to be only related to opening the front end shops using top right hand link.
I have this same issue in 1.7.6.1. Is there still no fix for it?
Hi, I'm using prestashop 1.7.2.4 and I'm searching for a fix for it to. It's been a while this issue is opened and it's strange that no fix exist. Nobody use multistore? Or nobody use ps_linklist? Or someone have fix it and don't share it? I'will work on that fix and keep you informed if it's working.
Up
It is probably not fixed yet because it is quite easy to fix the front part (as mentioned earlier):
diff modules/ps_linklist/src/LegacyLinkBlockRepository.php modules/ps_linklist/src/LegacyLinkBlockRepository.php.orig
74,75c74
< JOIN {$this->db_prefix}link_block_shop lbs on cb.`id_link_block`=lbs.`id_link_block`
< WHERE `id_hook` = $id_hook and `id_shop`={$this->shop->id}
---
> WHERE `id_hook` = $id_hook
The rest can be done via DB and the admin interface.
It is probably not fixed yet because it is quite easy to fix the front part (as mentioned earlier):
diff modules/ps_linklist/src/LegacyLinkBlockRepository.php modules/ps_linklist/src/LegacyLinkBlockRepository.php.orig 74,75c74 < JOIN {$this->db_prefix}link_block_shop lbs on cb.`id_link_block`=lbs.`id_link_block` < WHERE `id_hook` = $id_hook and `id_shop`={$this->shop->id} --- > WHERE `id_hook` = $id_hookThe rest can be done via DB and the admin interface.
Hello, this is just for frontend, we need fix because lot of people use the back-office.
I agree absolutely that this should be fixed officially. I just wanted to post a fix for the people who can not/will not wait till that happens. Those can still use the back office (admin interface) to create link lists, and then specify for which shops they are in the link_block_shop table in the DB.
Most helpful comment
Hi, I'm using prestashop 1.7.2.4 and I'm searching for a fix for it to. It's been a while this issue is opened and it's strange that no fix exist. Nobody use multistore? Or nobody use ps_linklist? Or someone have fix it and don't share it? I'will work on that fix and keep you informed if it's working.