What's New
This topic contains 4 replies, has 2 voices, and was last updated by ferrarisboutique Oct '17.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
This topic contains 4 replies, has 2 voices, and was last updated by ferrarisboutique Oct '17.
Hi,
i’m using Transformers for prestashop 1.7, it works really nice. Unfortunately from the last crawling with SEO Frog i’ve noticed a bug into the mobile languages selector.
Every Time I tried to switch from mobile, the system switch to a casual page.
For Example: my site page is
https://www.ferrarisboutique.com/it/tronchetti-donna/
The desktop language selector says this:
<a class="dropdown_list_item" href="https://www.ferrarisboutique.com/gb/women-ankle-boots/" title="English" rel="alternate" hreflang="gb">
<a class="dropdown_list_item" href="https://www.ferrarisboutique.com/es/botines-mujer/" title="Español" rel="alternate" hreflang="es">
<a class="dropdown_list_item" href="https://www.ferrarisboutique.com/de/damen-ankle-boots/" title="Deutsch" rel="alternate" hreflang="de">
<a class="dropdown_list_item" href="https://www.ferrarisboutique.com/fr/bottines-femme/" title="Français" rel="alternate" hreflang="fr">
These were the corrects URLS.
But from Mobile
<a href="https://www.ferrarisboutique.com/gb/women-shoes/" title="English" rel="alternate" hreflang="gb" class="mo_ma_level_1 mo_sub_a">
<a href="https://www.ferrarisboutique.com/es/zapatos-mujer/" title="Español" rel="alternate" hreflang="es" class="mo_ma_level_1 mo_sub_a">
<a href="https://www.ferrarisboutique.com/de/damenschuhe/" title="Deutsch" rel="alternate" hreflang="de" class="mo_ma_level_1 mo_sub_a">
<a href="https://www.ferrarisboutique.com/fr/chaussures-femme/" title="Français" rel="alternate" hreflang="fr" class="mo_ma_level_1 mo_sub_a">
Please can anyone help please? My site is currently online because the old site was not update, so we need to go online but for the user experience is very frustrating to switch the language and found a different page from the customer was.
Best regards.
Hi,
i’ve already known that it was a cache problem, but it cannot disable the cache because we have a huge catalog and without cache the system became slowly, yesterday i’ve tried that solution but the user experience is getting worse.
Can you tell me how much time it takes to solve this bug?
Best regards.
Hi,
To fix the problem, you need to edit the \modules\stsidebar\stsidebar.php file. Search for the hookDisplaySideBar function, replace it by the following code.
public function hookDisplaySideBar($params)
{
$sidebar_items = StSidebarClass::getAll((int)$this->context->language->id,1);
foreach ($sidebar_items as $k=>$v) {
if($v['native_modules'] && $v['native_modules']!=7)
unset($sidebar_items[$k]);
}
$this->smarty->assign(array(
'sidebar_items' => $sidebar_items,
));
return $this->fetch($this->templateFile[3]);
}
Best regards.
Jonny
You must be logged in to reply to this topic.